[K12OSN] dhcp.conf on a single ethernet card

DWatkins at frkl.wnyric.org DWatkins at frkl.wnyric.org
Thu Jun 16 19:08:50 UTC 2005

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;
option broadcast-address;
option routers;
option domain-name-servers,,;
option domain-name "ltsp";

option root-path        "";
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

subnet netmask {
   range dynamic-bootp;
   range dynamic-bootp;
   range dynamic-bootp;
   range dynamic-bootp;
   use-host-decl-names   on;
   option log-servers;

        # 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) = 
        # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
        filename        "/lts/pxe/pxelinux.bin";
        #default to an i386 BOOTP image
                filename     "/lts/vmlinuz.ltsp";

        if substring (option vendor-class-identifier, 20, 3) = "ppc" {
                option root-path "";
        } else {
                option root-path "";

"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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050616/4df6eb78/attachment.htm>

More information about the K12OSN mailing list