[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] DHCP and Client Booting



I've got one server set up successfully and now I'm working on two more.

The other two are not standard setups as they only have 1 nic each and
will both be on the same network.  I'm attempting to use a third
server (non-ltsp) as DHCP for the entire network, including those two
servers.  When the client boots, I'm getting a "FTFP too many
packages" error.  I'm sure the problem is in my dhcp.conf file but I'm
not sure exactly where.  If anyone can look this over an give some
guidance, I would be grateful.  File is below.

LSTP is running K12LTSP 5.01EL
DHCP is running Centos 4.5 on a VMware server.

-- 
Mel Wade
"The real problem is not whether machines think but whether men do." -
BF Skinner
http://www.melwade.com

# This is a modified copy of the file from the the K12LSTP server.
# Server 1:  BoysDorm - 10.0.7.254
# Test Client:  Boys001 - 10.0.6.189
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#

authoritative;
default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;

option subnet-mask            255.255.252.0;
option broadcast-address      10.0.7.255;
option routers                10.0.4.1;
option domain-name-servers    10.0.4.10;
next-server                   10.0.7.254;
option domain-name            "ucastudent.net";
#option root-path              "10.0.7.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

shared-network WORKSTATIONS {
  subnet 10.0.4.0 netmask 255.255.252.0 {
     range dynamic-bootp 10.0.7.1 10.0.7.150;
     use-host-decl-names       on;
     option log-servers        10.0.7.254;

     # trick from Peter Rundle <peter rundle au interpath net>
     # newer Macs
     if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
     }
     # really old iMacs
     elsif substring (option option-221, 0, 5) = "Apple"
     {
        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.0";
     }
     # default to an i386 BOOTP image
     else
     {
        filename      "/lts/vmlinuz.ltsp";
     }

     if substring (option vendor-class-identifier, 20, 3) = "ppc" {
        option root-path "10.0.7.254:/opt/ltsp/ppc";
     } else {
        option root-path "10.0.7.254:/opt/ltsp/i386";
     }
  }
}

# example configurations for specifying specific kernels to specific clients
group	{
    use-host-decl-names       on;
    option log-servers        10.0.4.11;

    host Boys001 {
        hardware ethernet     00:C0:4F:4C:95:56;
        fixed-address         10.0.6.189;
	option root-path      "10.0.7.254:/opt/ltsp/i386";
	filename              "/lts/vmlinuz.ltsp";
	next-server           boysdorm;
        option option-128     e4:45:74:68:00:00;
        #option option-129     "NIC=PXEClient";

    }
    host ws002 {
        hardware ethernet     00:D0:09:30:6A:1C;
        fixed-address         192.168.0.2;
        filename              "/lts/vmlinuz.ltsp";
        option option-128 e4:45:74:68:00:00;
        option option-129 "NIC=ne";
    }
    host ws003 {
        hardware ethernet     00:D0:09:30:28:B2;
        fixed-address         192.168.0.3;
        # kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
        filename              "/lts/boot/pxe/pxelinux.0";
    }

# Apple Specific Settings
#    host ws007 {
#       hardware ethernet     00:30:65:69:23:60;
#       fixed-address         192.168.0.4;
#       option root-path      "192.168.0.254:/opt/ltsp/ppc";
#       filename              "yaboot";
#       option vendor-class-identifier "AAPLBSDPC";
#    }
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]