Simple Nmap Ping Scan Example

NMAP Security

NMAP (Network Mapper) is a great tool for scanning a network for hosts and devices.

I’m going to write a more in-depth article soon, but for now here is a good command that can be used to scan your network (with a ping scan).

nmap -sP 192.168.1.0/24

By default Nmap will perform a reverse DNS lookup on the active IP addresses it finds, to turn off DNS resolution run with:

nmap -sP -n 192.168.1.0/24

But if you want to get a DNS lookup for all IP addresses scanned, irrespective of if the IP responded to a ping, you can use:

nmap -sP -R 192.168.1.0/24

Leave a Reply

Your email address will not be published. Required fields are marked *