Garrett D'Amore wrote:

What you *might* be able to do that doesn't require root privilege is to look in the arp table. (See "arp -an"). Then you could look for your adapter's phys addr (or even interface) and match its IP address that way.

Sweet!  I didn't not even think of that.  I'm used the the Linux/FreeBSD
arp, which does not seem to print out the local MAC addresses it
publishes.

So it basically boils down to 'arp -an | grep L | grep $IP | awk '{print $5}'

Thanks!

Drew
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to