finding remote MAC address
pll at lanminds.com
pll at lanminds.com
Tue Apr 29 11:18:22 EDT 2003
In a message dated: Tue, 29 Apr 2003 11:09:58 EDT
"Derek Doucette" said:
>I need to write a script that will take in a list of IP's, and from that
>list find the mac address for these IP's so we can make our move over to
>dhcp. I think this would be pretty easy to do in perl, but I'm not sure
>of how to find the mac address of a remote device. Any ideas or existing
>solutions anyone knows about?
Well, the first thing I would do is employ fping, then grab the MAC
addrs from the arp table. It's pretty simple actually.
--
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
More information about the gnhlug-discuss
mailing list