how to get mac address

Brian McKee brian.mckee at gmail.com
Wed Jan 6 19:28:18 UTC 2010


On Wed, Jan 6, 2010 at 2:23 PM, Vadkan Jozsef <jozsi.avadkan at gmail.com> wrote:
> How can I get the MAC address of a computer, if it isn't in the same
> network segment?
> e.g.: can I get the MAC from a normal, public IP?
> There is no solution for this?

Nope. (with one exception)  MAC addresses are used at level 2, which
doesn't leave the LAN.
It's not a one to one thing anyway - a given IP could have multiple
MAC addresses or vice versa.

The exception? If *it* tells *you* (rather than the other way around)
- e.g. some service (like an snmp agent) tells you what the MAC
address is when you ask it.

Brian




More information about the ubuntu-users mailing list