Feb 17 2006
How to do a Ping Scan using nmap
Let’s say you have a network 192.168.1.1-255
and you wanted to know which hosts are replying to pings.
enter this command
[ratkiller@centos ratkiller]$ nmap -sP 192.168.1.2-254
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Host (192.168.1.50) appears to be up.
Host (192.168.1.99) appears to be up.
Host (192.168.1.101) appears to be up.
Host (192.168.1.130) appears to be up.
Host centos.localdomain (192.168.1.135) appears to be up.
Nmap run completed — 253 IP addresses (5 hosts up) scanned in 36 seconds
nmap will let you know which hosts are responding to ping.
