Using the following file for /etc/dhcpd.conf, I seem to be having
trouble setting the hostname on the host using dhcp.

Included in the call to the dhcp client are the '-D -H' switches, which
according to the man pages should cause the values to be read from the
dhcp server.

No luck so far.

Have I missed something?

###############################
subnet 192.168.1.0 netmask 255.255.255.0 {
        server-name "dhcpsrvr";
        option broadcast-address 192.168.1.255;
        option subnet-mask 255.255.255.0;
        option netbios-name-servers 192.168.1.2;
        option domain-name "goobernet.net";
        option domain-name-servers 192.168.1.2, 24.25.26.27;
        option routers 192.168.1.1;
        range 192.168.1.20 192.168.1.50;
        }

host host1 {
        fixed-address 192.168.1.10;
        hardware ethernet 00:60:08:99:44:14;
        }

host host2 {
        fixed-address 192.168.1.15;
        hardware ethernet 00:20:AF:FE:44:AD;
        }
<SNIP>
###############################

-- 
Linux SxS [http://hal.humberc.on.ca/~mrcn0031/sxs/]
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to