dhcpd-pools / other leses management tool

Leandro ingrogger at gmail.com
Wed Jul 15 17:28:40 UTC 2015


Hi dhcp users list.
Im looking for some tool to list the provided leases and its status.
So far I can list range usage per defined network using dhcpd-tools as 
follows:

[root at centos-dns1 etc]# dhcpd-pools -L11 -c /etc/dhcp/dhcpd.conf -l 
/var/lib/dhcpd/dhcpd.leases
Ranges:
shared net name     first ip           last ip            max cur    
percent  touch   t+c  t+c perc     bu  bu perc
Relay1              192.168.88.2     - 192.168.88.126     125 0      
0.000     40    40    32.000     50   40.000
Relay2              192.168.88.130   - 192.168.88.254     125 0      
0.000      1     1     0.800      0    0.000
Relay1              192.168.89.2     - 192.168.89.126     125 0      
0.000     66    66    52.800     59   47.200
Relay2              192.168.89.130   - 192.168.89.254     125 0      
0.000      1     1     0.800      2    1.600

This is very usefull , but I wonder if is there other way to list all 
leases and its status, for example pfsense provides the following list:
P address <https://10.0.0.251/status_dhcp_leases.php#> 	MAC address 
<https://10.0.0.251/status_dhcp_leases.php#> 	Hostname 
<https://10.0.0.251/status_dhcp_leases.php#> 	Start 
<https://10.0.0.251/status_dhcp_leases.php#> 	End 
<https://10.0.0.251/status_dhcp_leases.php#> 	Online 
<https://10.0.0.251/status_dhcp_leases.php#> 	Lease Type 
<https://10.0.0.251/status_dhcp_leases.php#>
192.168.88.130 	08:00:27:95:d9:62 
<https://10.0.0.251/services_wol.php?if=opt2&mac=08:00:27:95:d9:62> 	 
2015/07/15 14:21:06 	2015/07/15 16:21:06 	offline 	active


Thanks
Leandro.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150715/42ab7406/attachment-0001.html>


More information about the dhcp-users mailing list