Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 11:02:31 +1000
From:      Nick Withers <nick@nickwithers.com>
To:        "B. Cook" <bcook@poklib.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dhcpd.leases not getting populated..
Message-ID:  <20060606110231.4fa3def2.nick@nickwithers.com>
In-Reply-To: <44845D60.9090700@poklib.org>
References:  <44842C4F.9080900@poklib.org> <20060605231544.8028e72b.nick@nickwithers.com> <44845D60.9090700@poklib.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 05 Jun 2006 12:35:44 -0400
"B. Cook" <bcook@poklib.org> wrote:

> Nick Withers wrote:
> > On Mon, 05 Jun 2006 09:06:23 -0400
> > "B. Cook" <bcook@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,
though.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060606110231.4fa3def2.nick>