fixed-address leases in dhcpd.leases

Bob Harold rharolde at umich.edu
Mon Mar 30 16:00:37 UTC 2020


This sounds like a 'new' feature, I had not heard of it before, but when I
check git blame at
https://gitlab.isc.org/isc-projects/dhcp/-/blame/master/server/dhcpd.conf.5

the lines referring to 'reserved lease' are 9 and 13 years old.  Is it
really that old?

-- 
Bob Harold


On Mon, Mar 30, 2020 at 11:52 AM Nate Collins <ncollins at xes-inc.com> wrote:

> FWIW, we're in the same boat - we don't want to enable reserved leases for
> the entire dynamic pool for fear of running out of addresses, and would
> only enable it for specific fixed-address leases (but since fixed-address
> leases aren't part of the dynamic pool, the option is irrelevant).
>
> ----- Original Message -----
> From: "Bob Harold" <rharolde at umich.edu>
> To: "dhcp-users" <dhcp-users at lists.isc.org>
> Sent: Monday, March 30, 2020 10:18:19 AM
> Subject: Re: fixed-address leases in dhcpd.leases
>
> To get the effect I am looking for, I would have to make a pool of one
> host with a range of one host, for each host that needs a permanent
> address, and still have it logged in the leases file. That gets pretty
> messy.
>
> --
> Bob Harold
>
>
> On Mon, Mar 30, 2020 at 10:52 AM Andrew Bell < [ mailto:andrew at poscomp.ca
> | andrew at poscomp.ca ] > wrote:
>
>
>
> Do you want to reserve an address inside the dynamic pool? I'm not sure if
> that works, honestly, but I just set aside space in each subnet for
> reserved addresses and make the pool smaller.
>
> Andrew
>
> On Mon, Mar 30, 2020 at 10:15 AM Bob Harold < [ mailto:rharolde at umich.edu
> | rharolde at umich.edu ] > wrote:
>
>
>
> I see now that "reserved lease" is documented in:
> [ https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf |
> https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf ]
>
> But until it is supported in dhcpd.conf and/or the various DDI vendors
> (Infoblox, BlueCat, etc), it will be difficult to use.
> An option in a "host" statement to make it "reserved" would be great.
>
> --
> Bob Harold
>
>
>
> On Fri, Mar 27, 2020 at 5:42 PM Simon Hobson < [ mailto:
> dhcp1 at thehobsons.co.uk | dhcp1 at thehobsons.co.uk ] > wrote:
>
>
> Nate Collins < [ mailto:ncollins at xes-inc.com | ncollins at xes-inc.com ] >
> wrote:
>
> >Is there a setting that controls whether or not fixed-address leases
> >in dhcpd.conf will get added to the dhcpd.leases file?
>
> No, they aren't and never have been.
>
> What you can do is use a reserved lease. Once reserved, the lease will
> never get re-allocated to another client and acts very much like a host
> entry with fixed address. But, unlike the fixed-address statement, a
> reserved lease goes through the normal lifecycle so you can see it's state
> in the leases file.
>
> Simon
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users at lists.isc.org | dhcp-users at lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users at lists.isc.org | dhcp-users at lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users at lists.isc.org | dhcp-users at lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200330/44a615ac/attachment-0001.htm>


More information about the dhcp-users mailing list