Okay, my dhcp client web page is pretty much done...
http://daevid.com/examples/dhcp/
The .tgz file is linked at the bottom if you want it.
This was also an extreme amount of work just to simply see the active leases
and 'client-hostname' associated with an IP/MAC?! Seems to me there should
have been a tool included with dhcpd that does this at the command line.
*sigh*
Much thanks to Lars Torben Wilson for the dhcpd.leases parser.
---------
What I don't understand is why my dhcpd.leases file doesn't have an entry
for my notebook (10.10.10.69) yet I specifically put this entry in
/etc/dhcpd.conf
host orinoco.daevid.com {
hardware ethernet 00:02:2D:3C:7C:FB;
fixed-address 10.10.10.69;
}
So I do get assigned the IP and everything works from a network standpoint,
but why doesn't the /var/lib/dhcp/dhcpd.leases file have an entry that
should look something like:
lease 10.10.10.69 {
starts 1 2003/06/23 08:40:11;
ends 1 2003/06/23 08:50:11;
binding state active;
next binding state free;
hardware ethernet 00:02:2D:3C:7C:FB;
client-hostname "locutus";
}
Yet I don't. :( In fact, it seems that ANY devices that I assign an IP using
the MAC (such as TiVo, Replay, other servers), don't have entries in the
dhcpd.leases file?! Why is that? Is this a bug or by design?
I'm running a RedHat 8.0 system with the following RPMs:
dhcpcd-1.3.22pl1-7
dhcp-3.0pl1-26
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php