Issue / bug with DHCP INFORM requests

Guillaume sirocco at gmx.fr
Sun Dec 11 00:03:54 UTC 2011


Hi,

I setup a dhcp server with release 4.2.3-P1 and I got problems with DHCP 
INFORM requests.
it seems that DHCP INFORM does not take care of host configuration.

I made a specific configuration where a host does not have the same 
parameters as the subnet :

ddns-domainname "home.dns";
ddns-update-style none;
ddns-updates off;

option domain-name "home.dns";

default-lease-time  21600;
max-lease-time      43200;


subnet 10.0.0.0 netmask 255.255.255.0 {
         authoritative;
         allow unknown-clients;
         option subnet-mask              255.255.255.0;
         option broadcast-address        10.0.0.255;
         option routers                  10.0.0.1;
         option domain-name-servers      10.0.0.1;
         option ntp-servers              10.0.0.1;
         option time-offset              1;
         range                           10.0.0.240 10.0.0.254;
}

host mypc {
         hardware ethernet               1c:11:11:11:11:11;
         fixed-address                   10.0.0.208;
         option subnet-mask              255.255.255.0;
         option broadcast-address        10.0.0.255;
         option routers                  10.0.0.2;
         option domain-name-servers      10.0.0.2;
         option ntp-servers              10.0.0.2;
         option time-offset              1;
}

- - -

Here is the issue :
When I boot "mypc" it sends "DHCP Request" to the snmp server and it 
gets the good ip address (10.0.0.208) and good gateway, dns and ntp 
server (10.0.0.2)
After some time "mypc" sends "DHCP Inform" but the dhcp server provides 
wrong gateway, dns and ntp server (10.0.0.1)

Then, if I manually force a "DHCP Request" mypc gets good ip address 
(10.0.0.208) and good gateway, dns and ntp server (10.0.0.2)
but as soon as mypc sends "DHCP Inform" it gets wrong gateway, dns and 
ntp server (10.0.0.1) from the DHCP server

Do you have any idea why this happen ?

Thanks,

Guillaume



More information about the dhcp-users mailing list