Adaptive lease time patch

David W. Hankins David_Hankins at isc.org
Wed Sep 14 15:31:00 UTC 2005


On Wed, Sep 14, 2005 at 03:31:33PM +0200, Christof Chen wrote:
> Wasn't it the idea to gracefully allow a client to use up its previously
> assigned lease time (here 20), before shorting the lease? This is the same
> as if the client has not renewed at all...

Yes, but if for whatever reason the lease-time that was determined before
the adaptive lease check was less than the min lease time already, it
should be the configured min lease time not the lease expiry time (where
the lease expiry time is greater than the min lease time).

> I have many pools with different Y, so a single Z does not really fit. I
> implemented the percentage - which, being equivalent :) - works also for
> those with constant pool sizes.

OK.

> Sorry - i have not much experience with failover yet. But the failover
> draft states on page 30  that the secondary can allocate a backup ip at
> any time. So that would suggest it counts to the number of assignable
> (free) leases.

No, it checks the backup leases, not the free leases.  Free is assignable
by the primary, backup by the secondary.

It's probably safe to leave it until someone who uses failover updates
it.

-- 
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-hackers mailing list