DHCPD Offering ip address on wrong subnet
Posted
by
Logan
on Server Fault
See other posts from Server Fault
or by Logan
Published on 2012-06-29T18:59:44Z
Indexed on
2012/06/29
21:18 UTC
Read the original article
Hit count: 393
I just recently added a new subnet for our wireless network to our DHCP configuration for the 192.168.254.0 subnet. Most of the time when wireless clients connect it works just fine. However, sometimes on seemingly random occasions the DHCP server will send out a DHCPOFFER with an IP address on the wrong subnet.
Example:
dhcpd: DHCPDISCOVER from MACADDRESS (ThinkBook2) via 192.168.254.1
dhcpd: DHCPOFFER on 192.168.22.236 to MACADDRESS (ThinkBook2) via 192.168.254.1
Here is the subnet configuration in dhcpd.conf:
subnet 192.168.254.0 netmask 255.255.255.0
{
option routers 192.168.254.1;
range 192.168.254.34 192.168.254.254;
default-lease-time 14400;
authoritative;
}
How can I make sure the server always sends out an IP address on the right subnet?
© Server Fault or respective owner