lease file parsing

Elliot Finley efinleywork at efinley.com
Thu Sep 27 01:29:45 UTC 2007


On Thu, 27 Sep 2007 09:16:35 +1000 (EST), you wrote:

>>From: Elliot Finley <efinleywork at efinley.com>
>>Date: Wed, 26 Sep 2007 16:50:10 -0600
>>
>>Hello,
>>
>>I'm writing a script to give me some stats on my leases.  I've found
>>that there are no leases marked abandoned but I've found that there
>>are IPs that aren't in the lease file at all (that are in my
>>configured ranges).  If an IP is not in the lease file, is it
>>considered abandoned?
>>
>>TIA
>>Elliot
>>
>>
>It may not have been assigned or used by any client yet.

I don't buy that because when I first fired up the server with an
empty lease file, all the IPs in my configured ranges were added with
a state of 'free'.

Anyone know the answer to this without guessing?


More information about the dhcp-users mailing list