Finding neighbours on my LAN
Steven Stern
subscribed-lists at sterndata.com
Fri Jan 17 19:26:40 UTC 2014
On 01/17/2014 01:14 PM, Suvayu Ali wrote:
> Hi,
>
> I'm trying to find all my computers on my home network (ip addresses are
> assigned using DHCP, can't change that). So far these are my attempts:
>
> $ ip neigh | grep REACHABLE | grep <mac_address>
>
> But this seems rather unrealiable. Often the reported addresses are not
> up to date (e.g. offline devices still show up, or newly connected
> devices are missing). I also tried nmap with the DHCP ip range:
>
> $ nmap -sn 192.168.1.65-150
>
> But that is too intensive (I intend to run this from a script in a cron
> job from time to time); also I do not know how to get the mac_address so
> that I can identify which device it is.
>
> Can someone point me in the right direction?
>
> Thanks in advance,
>
nmap -T4 -F 192.168.1.65-150
Try zenmap to play around with scans.
--
-- Steve
More information about the users
mailing list