on dhcpd.conf

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Nov 16 07:37:07 UTC 2007


DA Ming wrote:

>According to ISC's guidance, I modified the 
>/etc/dhcpd.conf to add my own available IP 
>addresses that the DHCP server should generate. 
>Unfortunately, I found that in the DHCPOFFER 
>message, the IP address allocated to client is 
>not the one I expected as in the dhcpd.conf.
>For example, I added the following lines
>subnet 192.168.129.0 netmask 255.255.255.0 {
>   range 192.168.129.1 192.168.129.6;
>   option routers 192.168.180.2;
>   option broadcast-address 192.168.180.255;
>   option domain-name-servers ns1.example.org;
>   default-lease-time 0xffffffff;
>   max-lease-time 0xffffffff;
>}
>But the IP address allocated to client in DHCPOFFER is '192.168.180.5'.
>Should I modify the /etc/dhcpd.conf or 
>Š/dhcp-3.0.5/server/dhcpd.conf? or are there any 
>other points that I must take into account?

Can you post the config file in full ?



More information about the dhcp-users mailing list