Override dynamic lease with static reservation

Simon Hobson dhcp1 at thehobsons.co.uk
Sun Sep 29 16:22:44 UTC 2019


Christian Kratzer <ck-lists at cksoft.de> wrote:

> Summary:
> 
> This is default isc dhcp behaviour.
> 
> From all that I remember from looking at the code host always takes precence from dynamic leases.

Well, I've just checked and concur - adding a host entry with fixed address does cause a request for the dynamic lease to be Nacked - lease unavailable. A discover is replied to with the fixed address. That's with version 4.2.2.
There must have been a change somewhere, because I do recall that in the past (and it's going back some years now) I distinctly remember having to edit the leases file to remove dynamic leases in order to force clients to get the fixed address. Just adding the host entry was not sufficient at some time in the past.



More information about the dhcp-users mailing list