Date: Thu, 29 Jul 2010 10:20:09 +1000 From: Rob Byrnes <rbyrnes@gmail.com> To: claudiu vasadi <claudiu.vasadi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: isc-dhcp leasing wrong IP's Message-ID: <AANLkTimwy=HmozJvZyMvV-SbuPjUe89=XdQrEkxpV%2BuV@mail.gmail.com> In-Reply-To: <AANLkTi=nUOzLM2Fb34Rj0%2B7hHh1Q8Spg4tR4FAdvr3Xk@mail.gmail.com> References: <AANLkTi=nUOzLM2Fb34Rj0%2B7hHh1Q8Spg4tR4FAdvr3Xk@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 July 2010 07:32, claudiu vasadi <claudiu.vasadi@gmail.com> wrote: > 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 ? Had the other box received a lease from your DHCP server prior to implementing the range parameter? cheers, Rob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimwy=HmozJvZyMvV-SbuPjUe89=XdQrEkxpV%2BuV>