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

Afif Elghraoui afif at ghraoui.name
Fri Nov 18 06:28:39 UTC 2016


Hello,

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?

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.

Many thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name


More information about the dhcp-users mailing list