fixed-address leases in dhcpd.leases
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Mar 30 17:19:13 UTC 2020
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
I'm not sure you've followed this. You don't set the flag per pool, it's per individual address - you'd only set it for devices you want to have a fixed address.
So instead of setting a host entry with fixed-address, you create a lease and set the reserved flag on it - either way it's one address "reserved" to that client. You'd only run out of addresses if you keep reserving addresses for new clients and not reclaiming ones no longer in use - exactly the same way you'd run out of addresses if you keep creating new host declarations (and reducing the dynamic pool to accommodate them).
Simon
More information about the dhcp-users
mailing list