detecting whether a reserved lease is being issued for the first time

Konstantin Stefanov cstef at parallel.ru
Fri Nov 18 09:52:01 UTC 2016


Hello.

On 18.11.2016 9:28, Afif Elghraoui wrote:
> I'm trying to use reserved leases in order to avoid hard-coding IP 
> addresses and manually managing them.
> 
> I have an action that I'd like to run the first time the IP address
> is issued. I used an "on commit" statement, but I see that it gets
> run every time the client boots and rebinds its address. Is there a
> good way for the server to detect whether the IP address is issued
> for the first time?
While I am not sure this is possible with isc-dhcpd, I'd suggest using
arpwatch for this purpose.

> The client-state parameter seems to only be useful on the client
> side and I didn't see any other option or statement that might be
> helpful for this purpose.

-- 
Konstantin Stefanov,

Research Computing Center
M.V Lomonosov Moscow State University


More information about the dhcp-users mailing list