dhcpd.leases not getting populated..

Nick Withers nick at nickwithers.com
Mon Jun 5 18:39:00 PDT 2006

On Mon, 05 Jun 2006 12:35:44 -0400
"B. Cook" <bcook at poklib.org> wrote:

> Nick Withers wrote:
> > On Mon, 05 Jun 2006 09:06:23 -0400
> > "B. Cook" <bcook at poklib.org> wrote:
> > 
> > 
> > Don't suppose you'd be able to post the configuration of the
> > subnet, would you?
> http://www.poklib.org/~dhcpd/dhcpd.conf

Ta for that.

Found an archived message at
"http://www.southwestern.edu/ITS/netreg/archive/0464.html" that
methinks has the answer:

Leases are not added to dhcpd.leases for fixed-address
clients. :-( There was a patch for a fairly recent release
candidate to log these to a separate file, but I haven't tried
it on the latest RC. The dhcpd.leases file is really there so
that state can be maintained between incarnations of dhcpd,
e.g. shutdown, restart of dhcpd, etc. The server has to keep
track of the promises it has already made. Since fixed-address
clients always get the same information, and DNS is not
updated, it's not really necessary to record these leases.

I looked at dhcpd.leases on my (ISC) DHCP server and indeed
leases for "fixed-address" clients were not included.

I personally use dynamic DNS with DHCP and have had no dramas
with it. Don't know if this is appropriate for your situation,

> > 
> > Are you sure that leases are being handed out from the first
> > pool?
> yes.
> The rest of the gets ips and routes as they should.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

Nick Withers
email: nick at nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446

More information about the freebsd-questions mailing list