Hi, I'm trying to port scan my local internet network using Nmap. It's a class B network, and the trouble I'm having is the last two sets of digits in the ip address vary from device to device. For example, my pc's ip will be something like 168.16.2.18, but my phone's ip connected to the same network will be something like 168.16.12.35. I can scan all ports in the last 255 using "nmap 168.16.2.1/24" but this won't find my phone because the 3rd part of the ip address is different. Is there a command to perform a scan all ip's on the network, or should I just not bother?
Thank you,
bikewrecker