on dhcpd.conf

DA Ming Ming.Da at alcatel-sbell.com.cn
Fri Nov 16 05:08:22 UTC 2007


Thank you Chuck
This DHCP server is the only one that available and no other DHCP server
on the network.
I've checked my dhcpd.conf file and did not find any subnet of
'192.168.180.x'. it's really strange.
And thank you for your suggestion on the 'router' and
'broadcast-address'.

                                                              Best
Regards!
DA MING
( +86-25-84731240-5109 / (Alcanet) 2735-5109
@ Ming.Da at alcatel-sbell.com.cn
 

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Chuck Anderson
Sent: Friday, November 16, 2007 11:27 AM
To: dhcp-users at isc.org
Subject: Re: on dhcpd.conf

On Fri, Nov 16, 2007 at 11:16:05AM +0800, DA Ming wrote:
> 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'.

Is there another DHCP server on the network, or is there another 
subnet block that you haven't shown?

The routers and broadcast-address options you have configured above 
don't match the subnet definition.  You can't have a router or 
broadcast-address that is outside of the subnet.

> 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?

/etc/dhcpd.conf should be used.



More information about the dhcp-users mailing list