RE: [CentOS] NMAP - reveal MAC address

2008-05-08 Thread Flaherty, Patrick
> >> 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

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

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread centos
On Wed, 7 May 2008 21:47:51 -0400 "Clonch, Christopher A." <[EMAIL PROTECTED]> 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

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-07 Thread Tom Brown
Others have given you good answers, but I felt I could share some insight on the matter.. The MAC address of a NIC is used by switches to send packets out the right port - As soon as you add a routing element, all traffic to a routed IP appears to be destined for the router, if one goes by

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Morten Nilsen
Tom Brown wrote: In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of the host being scanned ? Others have given you good answers, but I felt I could share some insight on the matter.. The MAC address of a NIC is used by switches to send packets out the right port - As

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread John R Pierce
Tom Brown wrote: In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of the host being scanned ? I cant seem to find it and i am using nmap-4.20 - i am sure this was available somehow on older releases. MAC address is only available on the same network segment... And, I'v

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Dennis McLeod
Tom Brown wrote: In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of the host being scanned ? I cant seem to find it and i am using nmap-4.20 - i am sure this was available somehow on older releases. thanks ___ CentOS mailin

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Michael Semcheski
Sorry I don't have the answer off hand, but it might be as simple as increasing the level of verbosity. Another option is the 'arp' command, at least if the host is on the same network. Mike On Wed, May 7, 2008 at 12:07 PM, Tom Brown <[EMAIL PROTECTED]> wrote: > In CentOS 4 does anyone know the

[CentOS] NMAP - reveal MAC address

2008-05-07 Thread Tom Brown
In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of the host being scanned ? I cant seem to find it and i am using nmap-4.20 - i am sure this was available somehow on older releases. thanks ___ CentOS mailing list CentOS@cent