[CentOS] NMAP - reveal MAC address

Thu May 8 02:32:03 UTC 2008
centos at 911networks.com <centos at 911networks.com>

On Wed, 7 May 2008 21:47:51 -0400
"Clonch, Christopher A." <cclonch2 at mchs.com> wrote:

> >> The main function of a switch is to keep irrelevant packets away from
> 
> >> hosts, but packets to unknown (to the switch) hosts get sent 
> >> everywhere, just like a Hub would do.
> >>
> >
> >yes - thanks all, it appears its a cross network 'issue'
> >
> >thanks
> 
> If you're trying to get a MAC address across your own switches, you
> could try walking the switch's forwarding table (assuming SNMP
> availability).  It's a cheesy way but works!

This will only work on a local network: 
once you have the IP address, you can do an arp -v

You cannot get the MAC address of a routed IP address, it only exist on a
local network.


-- 
Thanks
http://www.911networks.com
When the network has to work