how to count IPs in use

Holger Honert holger.honert at signal-iduna.org
Mon Oct 5 09:41:53 UTC 2009


Hi Dima,

http://dhcpstatus.sourceforge.net/

simple, elegant and useful (for me ;-))

Kind Regards

Holger


Dima Fadeyev schrieb:
> Hi, everyone
>
> I'd like to find out how many IPs are in use (from the point of view of
> my dhcp server). First I thought it would just be a matter of counting
> the leases that have "binding state active" in dhcpd.leases. However
> 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 81.143.246.98 {
>   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
>
> Please, could anyone give me a hand. How do I find a number of IPs in
> use?
>
> Thanks and best regards.
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>   


SIGNAL Krankenversicherung a. G., Sitz: Dortmund, HR B 2405, AG Dortmund
IDUNA Vereinigte Lebensversicherung aG für Handwerk, Handel und Gewerbe,
Sitz: Hamburg, HR B 2740, AG Hamburg
Deutscher Ring Krankenversicherungsverein a.G., Sitz: Hamburg,
HR B 4673, AG Hamburg,
SIGNAL IDUNA Allgemeine Versicherung AG, Sitz: Dortmund, HR B 19108,
AG Dortmund
Vorstände: Reinhold Schulte (Vorsitzender),
Wolfgang Fauter (stellv. Vorsitzender), Dr. Karl-Josef Bierth,
Jens O. Geldmacher, Marlies Hirschberg-Tafel,
Michael Johnigk, Ulrich Leitermann, Michael Petmecky,
Dr. Klaus Sticker, Prof. Dr. Markus Warg
Vorsitzender der Aufsichtsräte: Günter Kutz
SIGNAL IDUNA Gruppe Hauptverwaltungen, Internet: www.signal-iduna.de
44121 Dortmund, Hausanschrift: Joseph-Scherer-Str. 3, 44139 Dortmund
20351 Hamburg, Hausanschrift: Neue Rabenstraße 15-19, 20354 Hamburg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: holger_honert.vcf
Type: text/x-vcard
Size: 315 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091005/738346d0/attachment.vcf>


More information about the dhcp-users mailing list