on dhcpd.conf
Chuck Anderson
cra at WPI.EDU
Fri Nov 16 03:27:27 UTC 2007
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