DHCPD Offering ip address on wrong subnet
- by Logan
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?