Hi Anselm!

On Tue, 18 Feb 2003, Anselm Martin Hoffmeister wrote:

> Hello Mike,
> 
> ME> Is there any way to setup dhcp so that I don't have to put
> ME> the mac addresses for each node in dhcp.conf? Some sort of
> ME> default config that will send the same kernel to all nodes?
> 
> Yep. Assuming you have a running setup, put a statement
> 
>   range first-ip last-ip;
> 
> inside the subnet statement. Read the dhcpd manual page for more
> details.

Its not the ips that cause the problem, but the mac addresses
and which are required for dhcp to send the right filenames to
the nodes:

group {
    use-host-decl-names             on;
    option log-servers              192.168.5.254;
    option broadcast-address        192.168.5.255;
    option routers                  192.168.5.254;
    option domain-name-servers      192.168.5.254;
    option domain-name              "c1.cielocorp.com";
    option root-path                "192.168.5.254:/opt/ltsp/i386";

    host ws001 {
        #hardware ethernet      00:E0:06:E8:00:84;
        hardware ethernet       00:20:78:12:81:80;
        fixed-address           192.168.5.1;
        #filename               "/lts/vmlinuz-2.4.9-ltsp-6";
        filename                "/lts/vmlinuz-2.4.19-ltsp-1";
        ##option option-128     e4:45:74:68:00:00;   #This is NOT a MAC address
        ##option option-129     "NIC=ne IO=0x300";
    }
    host ws002 {
        hardware ethernet       00:e0:4c:84:d3:99;
        fixed-address           192.168.5.2;
        if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
            filename            "/lts/eb-5[1].0.7-rtl8139.lzpxe";
        } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
            filename            "/lts/vmlinuz-2.4.19-ltsp-1";
        }
#       filename                "/lts/vmlinuz-2.4.19-ltsp-1";
#       option option-128       e4:45:74:68:00:00;   #This is NOT a MAC address
#       option option-160       "default=192:timeout=5";
#       option option-192       
"LTSP:::/tftpboot/lts/eb-5[1].0.7-rtl8139.lzpxe::0i0p:";
    }
    host ws003 {
        hardware ethernet       00:20:78:12:81:81;
        fixed-address           192.168.5.3;
        filename                "/lts/vmlinuz-2.4.19-ltsp-1";
    }
}

Here is my file and rather than specifying the mac addresses for ws001, ws002,
and ws003 I would like dhcp to send the same data to both nodes.

Mike


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to