finding remote MAC address

Michael O'Donnell mod+gnhlug at std.com
Tue Apr 29 11:26:09 EDT 2003


How about something like

   for ip in [your list of IP addrs here]
   do
       ping -c1 $ip
       arp -n | fgrep $ip >>/tmp/ipAddrMACmap
   done

...and then crunch that ipAddrMACmap file as desired




More information about the gnhlug-discuss mailing list