[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Mark Evans wrote:
They have a unique MAC address - ergo a solution exists - although you'll have to record it with DHCP or get DHCPD to allocate IP addresses based on MAC address.With dynamic IP address assignment you could find out the MAC address either from the dhcp lease file or by looking in the ARP cache. Which is easily accessable under Linux as /proc/net/arp.
The trouble with ARP cache is that it covers only immediately adjacent bits of network, so if you have DHCP relay agents it won't work, but DHCP will still record the information I believe. So you'd build the tools on the more general case, for when you take over all of educational computing in Devon ;-) -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.