[K12OSN] dhcp.conf on a single ethernet card

cliebow at downeast.net cliebow at downeast.net
Thu Jun 16 21:50:04 UTC 2005


what is your option 221 for?? chuck

> I'm sending this demo dhcpd.conf file along as a help to someone 
> attempting to setup K12LTSP on their main network using only one ethernet 
> card.  I also noted in helping a couple of other people with their 
> installations of K12LTSP with one ethernet card that eth0 is firewalled by 
> default and the tftpserver cannot send a kernel to the client without the 
> firewall being disabled or reconfigure to allow that traffic to occur. 
> You'll have to change the IP numbers and subnets to match your setup.
> 
> # Sample /etc/dhcpd.conf
> # Tom's sample dhcpd.conf
> ddns-update-style none;
> default-lease-time 21600;
> max-lease-time 21600;
> allow booting;
> allow bootp;
> option subnet-mask 255.255.254.0;
> option broadcast-address 168.169.0.255;
> option routers 168.169.78.1;
> option domain-name-servers 168.169.78.8, 168.169.78.9, 168.169.78.39;
> option domain-name "ltsp";
> 
> option root-path        "168.169.78.39:/opt/ltsp/i386";
> option option-128 code 128 = string;
> option option-129 code 129 = text;
> option option-221 code 221 = text;
> 
> 
> subnet 168.169.78.0 netmask 255.255.254.0 {
>    range dynamic-bootp 168.169.78.110 168.169.78.131;
>    range dynamic-bootp 168.169.78.133 168.169.78.139;
>    range dynamic-bootp 168.169.78.142 168.169.78.153;
>    range dynamic-bootp 168.169.78.155 168.169.78.253;
> }
>    use-host-decl-names   on;
>    option log-servers    168.169.78.39;
> 
>         # trick from Peter Rundle
>         # newer Macs
>         if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
>         {
>                 filename        "yaboot";
>                 option vendor-class-identifier "AAPLBSDPC";
>         }
>         # Intel PXE
>         elsif substring (option vendor-class-identifier, 0, 9) = 
> "PXEClient"
>         {
>         # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
>         filename        "/lts/pxe/pxelinux.bin";
>         }
>         #default to an i386 BOOTP image
>         else
>         {
>                 filename     "/lts/vmlinuz.ltsp";
>         }
> 
>         if substring (option vendor-class-identifier, 20, 3) = "ppc" {
>                 option root-path "168.169.78.39:/opt/ltsp/ppc";
>         } else {
>                 option root-path "168.169.78.39:/opt/ltsp/i386";
>         }
>  Don
> 
> "Do not go where the path may lead, go instead where there is no path and 
> leave a trail"--Ralph Waldo Emerson
> 
> Don Watkins, Technology Director
> Franklinville Central School
> Tel: 716-676-8004          Mobile: 716-474-5675 
> This message may contain confidential information. 
> It is intended for the use of the addressee only.
> Unauthorized use of this e-mail may be unlawful. 
> 
> 


---------------------------------------------
This message was sent from Downeast.Net.
http://ellsworthme.com/





More information about the K12OSN mailing list