Override dynamic lease with static reservation

Marc Haber mh+dhcp-users at zugschlus.de
Fri Sep 27 14:33:09 UTC 2019


Hi,

I find it a rather common occurence that a client that currently holds a
dynamic lease should get a static reservation of a different IP address.
Thus, a host entry is put into the configuration and the client
rebooted.

It then asks for the last IP address it knows of, which is the dynamic
address. The server proceeds to look in its database, says "yup, here is
the address".

The usual method is to delete the dynamic address from the database,
which either involves a rather fragile and often misbehaving omshell
process where the only "documentation" is half a mailing list thread
from ten years ago, or shutting down the server and hand-editing the
database file (which is a service interruption).

Is there a configuration option to tell the server "if there is
something static for this client, forget everything dynamic you might
have and NAK the dynami address from the client"?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the dhcp-users mailing list