Find all used IP adresses within a subnet

If your local computers allow a ping, you can simply execute:


nmap -sP 192.168.x.*

where x is the subnet number (1 <= x <= 254). You will get a list of all hosts, their IP addresses and their MAC addresses. That is really cool for DHCP networks, where you don't know, which IP addresses are already been used.

Leave a Reply