Where is host IP address stored in server and How to set expire option??

shweta jogi shweta.jogi at elitecore.com
Wed May 2 14:13:22 UTC 2012

I know that static assignment is not stored in /var/db/dhcpd/dhcp.leases. So
from where can I found record of fixed address?? It is not in reserved list.

shweta jogi wrote:

>	I have seen the code of dhcp server. I have seen that there is one 
>hash table maintained lease_ip_addr_hash. But I didn't find fixed 
>address in that list. Then where is it???

>Static assignments don't have leases. They don't appear in
/var/db/dhcpd/dhcp.leases either.


Simon Hobson wrote :

>It isn't. Fixed-address assignments do not go through the normal
>(dynamic) lease process and aren't recorded in the lease database.
>If you want "fixed" addresses to go through the normal lease lifecycle
(including DDNS and recording in the lease database) then you may want to
look at reserved >leases.

More information about the dhcp-users mailing list