Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 23:32:38 +0200
From:      claudiu vasadi <claudiu.vasadi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   isc-dhcp leasing wrong IP's
Message-ID:  <AANLkTi=nUOzLM2Fb34Rj0%2B7hHh1Q8Spg4tR4FAdvr3Xk@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=nUOzLM2Fb34Rj0%2B7hHh1Q8Spg4tR4FAdvr3Xk>