Finding neighbours on my LAN
Robert Moskowitz
rgm at htt-consult.com
Sun Jan 19 07:03:49 UTC 2014
On 01/17/2014 02: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?
Use fping -g ....
More information about the users
mailing list