Leases for fixed-address hosts not written to lease file?

David W. Hankins David_Hankins at isc.org
Wed May 23 16:51:38 UTC 2007


On Wed, May 23, 2007 at 11:12:09AM -0500, John Hascall wrote:
>          host has a lease it got when it presented a uid
>          host boots w/o a uid and can't get a least because
>          "no free leases"
> 
>          <or the other way around.>

Right, so this isn't a workaround for the 'failure mode' most
people see when the software they paid for won't boot...it still
fails, just reliably so.

I'd say this is a workaround for a different behaviour; that
clients like this tend to "pollute" the leases database with
their identity information (hardware/uid attached to free
leases) and get more than 2 leases over time (esp. with
failover).

The bug is that the server picks the first lease for the client
off a list in memory, which is *appended* to when a lease is
allocated to the client (so the lease granted is always the
worst one).

In 3.0.6b1:

- The server's "by client-id" and "by hardware address" hash table lists
  are now sorted according to the preference to re-allocate that lease to
  returning clients.  This should eliminate pool starvation problems
  arising when "INIT" clients were given new leases rather than presently
  active ones.

-- 
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