DHCP Client IP
Hi,
I'm running a dhcpd server on my CentOS 4.4 system. I want to be able to write a script in PHP that will list all client IP Addressess connected to my server. I'm not to sure how to do this.
Is there a file in linux that stores the client IPs connected to the server? Or could i write a script to do this in PHP.
If any hels my dhcpd.conf file:
default-lease-time 86000;
max-lease-time 86000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.124;
option domain-name-servers 192.168.1.124;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0{
range 192.168.1.150 192.168.1.160;
I'm wondering if there is a file storing the client IP Addresses, if so then i could simply display this file in PHP. But i'm not to sure so any advise is gratful.
Thanks Rich,
|