how to count IPs in use

Timothy Gavin livewire98801 at
Mon Oct 5 15:47:06 UTC 2009

If the UTC thing is confusing, you can find current UTC on a *nix machine with "date -u"

I just set a second clock up that always shows UTC. 

------Original Message------
From: Simon Hobson
Sender: dhcp-users-bounces at
To: Users of ISC DHCP
ReplyTo: Users of ISC DHCP
Subject: Re: how to count IPs in use
Sent: Oct 5, 2009 04:27

Dima Fadeyev wrote:

>there are quite a few leases that have this line, but also have the
>"ends" date in the past. So, I'm a bit confused.
>lease {
>   starts 1 2009/10/05 09:24:16;
>   ends 1 2009/10/05 10:24:16;
>   binding state active;
># date
>Mon Oct  5 11:26:16 CEST 2009

11:26 CEST is 09:26 UTC, 09:26 is earlier than 10:24, therefore the 
lease expiry time is still in the future (at the time you rote your 

At the top of your DHCP leases file you will find :

# All times in this file are in UTC (GMT), not your local timezone.   This is
# not a bug, so please don't ask about it.   There is no portable way to
# store leases in the local timezone, so please don't request this as a
# feature.   If this is inconvenient or confusing to you, we sincerely
# apologize.   Seriously, though - don't ask.

Simon Hobson

Visit for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
dhcp-users mailing list
dhcp-users at

Sent via BlackBerry by AT&T

More information about the dhcp-users mailing list