isc-dhcp leasing wrong IP's

claudiu vasadi claudiu.vasadi at gmail.com
Wed Jul 28 21:32:40 UTC 2010


Hello guys,

I have a F-BSD 8.0 box running isc-dhcp with the following simple config:


authoritative;

option domain-name-servers 192.168.0.1;
option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.150;
option routers 192.168.0.1;
}



as you can see, the lease range is between 192.168.0.10 and 192.168.0.150
but for some reason, another BSD box always gets 192.168.0.8.

I can't explain this since this is the only DHCP server on the network and I
see no error logs.

The other BSD box says:

Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPREQUEST on sk0 to
255.255.255.255 port 67
Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPACK from 192.168.0.5
Jul 29 00:25:04 mainserver2 dhclient: New IP Address (sk0): 192.168.0.8
Jul 29 00:25:04 mainserver2 dhclient: New Subnet Mask (sk0): 255.255.255.0
Jul 29 00:25:04 mainserver2 dhclient: New Broadcast Address (sk0):
192.168.0.255
Jul 29 00:25:04 mainserver2 dhclient: New Routers (sk0): 192.168.0.1
Jul 29 00:25:05 mainserver2 dhclient[1292]: bound to 192.168.0.8 -- renewal
in 43200 seconds.

It looks legit but still .. why is isc-dhcp handing out IP's ouside the
lease range ?


More information about the freebsd-questions mailing list