List of all neighboring ips
nmap -sP 192.168.0.1-255
Written by Marian Ignev
Related protips
3 Responses

Roman Gille (https://coderwall.com/r-dent) had a similar protip not that long ago:
https://coderwall.com/p/mercva
Basically ping the broadcast and view the arp table
over 1 year ago
·

@losinggeneration Yeah but the problem with ping to broadcast address is not working properly every time ... i don't know why ... but with nmap is working allways :))
over 1 year ago
·

For me this command works to list all IP addresses used in LAN.
sudo arp-scan -I eth0 192.168.1.0/24
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Related Tags
#linux
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#