RE: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Clonch, Christopher A.
>> 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

RE: [CentOS] NMAP - reveal MAC address

2008-05-08 Thread Clonch, Christopher A.
> 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. Heres the code snippet I've used to walk a router's MAC table: snmpwalk -v 1 -c public ${GWADDR} ipNetToM