dhcp hostname issue

Alex Matthews qoole.dhcp-users at lillimoth.com
Sun Apr 12 12:43:03 UTC 2009


Hi there,
I'm using dhcp-3.1.1 on a Gentoo 2.6.27-gentoo-r8-SMC platform.

A snippet of my dhcp.conf is as follows:

ddns-update-style interim;
ddns-updates on;
ignore client-updates;
option broadcast-address 192.168.255.255;
option domain-name-servers 192.168.0.2;
option routers 192.168.0.2;
option domain-name "smc";
default-lease-time 600;
max-lease-time 7200;


subnet 192.168.0.0 netmask 255.255.0.0
{
        range 192.168.252.0 192.168.252.255;

}
host xp01 {option host-name "xp01"; hardware ethernet
00:15:58:51:e8:41;fixed-address 192.168.1.101;}
host xp02 {option host-name "xp02"; hardware ethernet
00:15:58:51:f1:c5;fixed-address 192.168.1.102;}
host xp03 {option host-name "xp03"; hardware ethernet
00:15:58:51:f1:bd;fixed-address 192.168.1.103;}


My problem is that, if a machine is not given a host line (ie a dynamic
lease) it will add the hostname to bind no problem, but the hosts WITH a
host (static lease) line do not.
Looking through my log files, non-static hosts show their hostnames in
brackets in the DHCPREQUEST/DHCPACK lines whereas the static ones don't.

Am I missing something here?

PS. The 'xpnn' machines are running Windows XP SP2/3.

Thanks,

Alex





More information about the dhcp-users mailing list