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

Glenn Satchell glenn.satchell at uniq.com.au
Thu May 3 05:33:42 UTC 2012

On 05/02/12 22:04, Simon Hobson wrote:
> 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???
> 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.

Whenever the server receives a request that matches one of it's 
fixed-address assignments, it returns the same IP address. The server 
does not record lease duration, expiry or anything else as it will never 
offer that address to another client. It is up to the client to ask for 
a renewal of the lease if it thinks it is expiring or needs to be renewed.


More information about the dhcp-users mailing list