Last Updated: February 25, 2016
·
508
· mignev

List of all neighboring ips

nmap -sP 192.168.0.1-255

3 Responses
Add your response

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 ·