fixed-address leases in dhcpd.leases

Bob Harold rharolde at umich.edu
Mon Mar 30 15:18:19 UTC 2020


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 <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 <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
>>
>> 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 <dhcp1 at thehobsons.co.uk>
>> wrote:
>>
>>> Nate Collins <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
>>> 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
>>
> _______________________________________________
> 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/04616772/attachment.htm>


More information about the dhcp-users mailing list