finding remote MAC address
Tom Buskey
tom at buskey.name
Tue Apr 29 11:13:07 EDT 2003
Derek Doucette wrote:
>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?
>
>Derek Doucette
>http://derek.homeunix.org
>
>
As an initial stab (local subnet only):
ping IP
arp -a to view the arp table which will have mac/ip in it.
More information about the gnhlug-discuss
mailing list