Lease file questions

Ryan McCain Ryan.McCain at
Fri Nov 16 18:25:27 UTC 2007

>>> On Fri, Nov 16, 2007 at 11:26 AM, in message
<a06240824c363820b2f87 at>, Simon Hobson
<dhcp1 at> wrote: 
> Ryan McCain wrote:
>>My lease times are set as the following:
>>default-lease-time 86400;
>>max-lease-time 604800;
>>In my leases file I see entries that are older than 7 days (604800 seconds):
>>lease {
>>   starts 2 2007/10/30 08:00:00;
>>   ends 2 2007/10/30 08:02:00;
>>   tstp 2 2007/10/30 08:02:00;
>>   binding state free;
>>   hardware token-ring 52:41:43:42:d9:01;
>>   uid "\00042d901-RACcc7e02d940";
>>   client-hostname "42d901-RACcc7e02d940";
>>..I am under the impression that only active leases should be in the 
>>leases file.  Am I missing something?
> Yes, the last state of every lease every issued is retained. This is 
> so that should the client return to the network in the future, then 
> it can be recognised and given it's old address if it hasn't been 
> reused.

Is there a way I can view  ONLY active leases?

>>Also, we don't have token ring on our network (at least we 
>>shouldn't).  Is there a reason some of the leases are reporting 
>>token ring?
> Now that's an interesting question !
> Just a hunch, did this lease belong to some sort of remote access 
> server (RAS) ? If so, then I'm guessing that for some reason it's 
> faked the hardware type when requesting a lease on behalf of a 
> client. Just a guess and it could be wrong !

No.  All RAS connections are on a different scope. Any other ideas?


More information about the dhcp-users mailing list