[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network scan



According to Mark Roach,
> Alexandar Angelov wrote:
> >Mark Roach wrote:
> >
> >>On Sun, 2005-05-15 at 00:39 +0300, Alexandar Angelov wrote:
> >>>Do you know any command(script) to scan range from 192.168.35.1 to 
> >>>92.168.35.255 and return if port :80 , :21 and MAC Addr.
> >>nmap
> >>
> >>-Mark
> >>
> >MAC?
> 
> If you just want the MAC address of a host (not sure why you would), run 
> 'arp hostname'

'arp' only works if you've already had contact with the host.
Ping it first, perhaps, or use 'arping' do ping at arp level
and get mac addr at the same time.



Reply to: