[K12OSN] DHCP and different LTSP distros

Meelis Saar mellax at pm.ee
Sun Jun 24 19:19:40 UTC 2007

"Terrell Prudé Jr." wrote:
>One thing you want to remember is to point not just your CentOS DHCP
scope to your TFTP server, but you also want to make sure that your
"option root-path" is pointing to where you will do your NFS pivot-root. 
Usually, both of these are your K12LTSP server, unless you've done some
custom tweaking.

Of course I made modifications according to server location. But nothing

Now I just made experiments and guess what! If I installed tftp-server to
the same server as DHCP, all working OK. I transferred /tftpboot files
also from CF5.

But funniest thing - I have "nextserver" that points to ANOTHER server.
Somehow DHCP or TFTP overrides this ang search TFTP files from same

This is my config:

Centos DHCP server/NFS server
FC5 LTSP server
LTS Client (Compaq SFF) with Intel 100Mbit PXEboot LAN



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

option subnet-mask  ;
option broadcast-address;
option routers      ;
option domain-name-servers;
option domain-name            "test.int";
option root-path              "";
option netbios-name-servers;
option netbios-node-type 8;
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

shared-network WORKSTATIONS {
  subnet netmask {
     range dynamic-bootp;
     use-host-decl-names       on;
     option log-servers;
     # trick from Peter Rundle <peter.rundle at 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
        filename      "/lts/vmlinuz.ltsp";

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

group   {
    use-host-decl-names       on;
    option log-servers;

    host ws219 {
        hardware ethernet     00:08:c7:ff:22:5d;
        option root-path              "";


More information about the K12OSN mailing list