omapi/omshell database errors

Simon Hobson dhcp1 at
Fri Jan 4 23:34:14 UTC 2008

Aaron Holtz wrote:

>The 'free' lease is quite old and should have long expired.

It has, that's why it's "free" !

>In fact, it is for a network that this device no longer lives on. 
>Is there a way to either:
>1.  Get the dhcp server to only store omapi info about 'active' leases
>2.  Flush out these 'free' leases so the omapi hash is correct
>I've looked at the server code for where the hash is being updated, but I
>haven't been able to resolve the multiple entries for the same key

It is correct for the server to retain this lease - the client may 
return to the network in the future and it allows the client to be 
given the same address (as per the RFCs).

I don't use OMAPI myself, but it sounds like you may have found a problem.

More information about the dhcp-users mailing list