Is this how pool balancing functions?

David W. Hankins David_Hankins at isc.org
Thu Aug 10 18:49:21 UTC 2006


On Thu, Aug 10, 2006 at 10:41:03AM -0700, Ian Anderson wrote:
> rebalance occurred.  Is this because the threshold of Free + Backup / 10
> has not been reached? 

That's correct.  In both cases you included, which look healthy by
the way, the free+backup/10 threshold has not yet been reached.

> I also noticed 81 expired ip's in my dhcpd.leases file.  At what point
> does dhcpd reclaim those addresses? 

Right now the only way is through startup retransmission detection
when the daemons bootstrap.

I think what's happening to you is one server sends the binding update
indicating the lease has entered expired state.

The other server is choosing to NAK that update...probably because it
does not yet think that lease has expired...either it has more up
to date information (the client has renewed), or the system clocks
are skewed beyond the 'fudge factor' we build into this check (I think
it's 360 seconds, off the top of my head).

Both servers have to agree that it's time for the lease to expire for
it to be processed.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


More information about the dhcp-users mailing list