Systems administrators often find this option valuable as well. It can easily be used to count available
machines on a network or monitor server availability. This is often called a ping sweep, and is more
reliable than pinging the broadcast address because many hosts do not reply to broadcast queries.
The -sP option sends an ICMP echo request, TCP SYN to port 443, TCP ACK to port 80, and an ICMP timestamp
request by default. When executed by an unprivileged user, only SYN packets are sent (using a connect
call) to ports 80 and 443 on the target. When a privileged user tries to scan targets on a local ethernet
network, ARP requests are used unless --send-ip was specified. The -sP option can be combined with any of
the discovery probe types (the -P* options, excluding -PN) for greater flexibility. If any of those probe
type and port number options are used, the default probes are overridden. When strict firewalls are in
place between the source host running Nmap and the target network, using those advanced techniques is
recommended. Otherwise hosts could be missed when the firewall drops probes or their responses.
[root@localhost ~]# nmap -v -sP 192.168.3.0/24
Starting Nmap 4.11 (
http://www.insecure.org/nmap/ ) at 2010-06-29 00:57 KST
Initiating ARP Ping Scan against 192.168.3.0 [1 port] at 00:57
The ARP Ping Scan took 0.21s to scan 1 total hosts.
Host 192.168.3.0 appears to be down.
DNS resolution of 1 IPs took 0.00s.
Host 192.168.3.1 appears to be up.
Initiating ARP Ping Scan against 254 hosts [1 port/host] at 00:57
The ARP Ping Scan took 10.89s to scan 254 total hosts.
DNS resolution of 27 IPs took 6.50s.
Host 192.168.3.2 appears to be down.
Host 192.168.3.3 appears to be down.
Host 192.168.3.4 appears to be down.
Host 192.168.3.5 appears to be down.
Host 192.168.3.6 appears to be down.
Host 192.168.3.7 appears to be down.
Host 192.168.3.8 appears to be down.
Host 192.168.3.9 appears to be down.
Host 192.168.3.10 appears to be down.
Host 192.168.3.11 appears to be down.
Host 192.168.3.12 appears to be down.
Host 192.168.3.13 appears to be down.
Host 192.168.3.14 appears to be down.
Host 192.168.3.15 appears to be down.
Host 192.168.3.16 appears to be down.
Host 192.168.3.17 appears to be down.
Host 192.168.3.18 appears to be down.
Host 192.168.3.19 appears to be down.
Host 192.168.3.20 appears to be down.
Host 192.168.3.21 appears to be down.
Host 192.168.3.22 appears to be down.
Host 192.168.3.23 appears to be down.
Host 192.168.3.24 appears to be down.
Host 192.168.3.25 appears to be down.
Host 192.168.3.26 appears to be down.
Host 192.168.3.27 appears to be down.
Host 192.168.3.28 appears to be down.
Host 192.168.3.29 appears to be down.
Host 192.168.3.30 appears to be down.
Host 192.168.3.31 appears to be down.
Host 192.168.3.32 appears to be down.
Host 192.168.3.33 appears to be down.
Host 192.168.3.34 appears to be down.
Host 192.168.3.35 appears to be down.
Host 192.168.3.36 appears to be down.
Host 192.168.3.37 appears to be down.
Host 192.168.3.38 appears to be down.
Host 192.168.3.39 appears to be down.
Host 192.168.3.40 appears to be down.
Host 192.168.3.41 appears to be down.
Host 192.168.3.42 appears to be down.
Host 192.168.3.43 appears to be down.
Host 192.168.3.44 appears to be down.
Host 192.168.3.45 appears to be down.
Host 192.168.3.46 appears to be down.
Host 192.168.3.47 appears to be down.
Host 192.168.3.48 appears to be down.
Host 192.168.3.49 appears to be down.
Host 192.168.3.50 appears to be down.
Host 192.168.3.51 appears to be down.
Host 192.168.3.52 appears to be down.
Host 192.168.3.53 appears to be down.
Host 192.168.3.54 appears to be down.
Host 192.168.3.55 appears to be down.
Host 192.168.3.56 appears to be down.
Host 192.168.3.57 appears to be down.
Host 192.168.3.58 appears to be down.
Host 192.168.3.59 appears to be down.
Host 192.168.3.60 appears to be down.
Host 192.168.3.61 appears to be down.
Host 192.168.3.62 appears to be down.
Host 192.168.3.63 appears to be down.
Host 192.168.3.64 appears to be down.
Host 192.168.3.65 appears to be down.
Host 192.168.3.66 appears to be down.
Host 192.168.3.67 appears to be down.
Host 192.168.3.68 appears to be down.
Host 192.168.3.69 appears to be down.
Host 192.168.3.70 appears to be down.
Host 192.168.3.71 appears to be down.
Host 192.168.3.72 appears to be down.
Host 192.168.3.73 appears to be down.
Host 192.168.3.74 appears to be down.
Host 192.168.3.75 appears to be down.
Host 192.168.3.76 appears to be down.
Host 192.168.3.77 appears to be down.
Host 192.168.3.78 appears to be down.
Host 192.168.3.79 appears to be down.
Host 192.168.3.80 appears to be down.
Host 192.168.3.81 appears to be down.
Host 192.168.3.82 appears to be down.
Host 192.168.3.83 appears to be down.
Host 192.168.3.84 appears to be down.
Host 192.168.3.85 appears to be down.
Host 192.168.3.86 appears to be down.
Host 192.168.3.87 appears to be down.
Host 192.168.3.88 appears to be down.
Host 192.168.3.89 appears to be down.
Host 192.168.3.90 appears to be down.
Host 192.168.3.91 appears to be down.
Host 192.168.3.92 appears to be down.
Host 192.168.3.93 appears to be down.
Host 192.168.3.94 appears to be down.
Host 192.168.3.95 appears to be down.
Host 192.168.3.96 appears to be down.
Host 192.168.3.97 appears to be down.
Host 192.168.3.98 appears to be down.
Host 192.168.3.99 appears to be down.
Host 192.168.3.100 appears to be up.
MAC Address: 00:18:BF:80:0D:2E (Unknown)
Host 192.168.3.101 appears to be down.
Host 192.168.3.102 appears to be up.
MAC Address: 00:18:BF:80:20:79 (Unknown)
Host 192.168.3.103 appears to be down.
Host 192.168.3.104 appears to be down.
Host 192.168.3.105 appears to be up.
MAC Address: 00:18:BF:80:1D:25 (Unknown)
Host 192.168.3.106 appears to be down.
Host 192.168.3.107 appears to be up.
MAC Address: 00:21:85:5A:CA:20 (Unknown)
Host 192.168.3.108 appears to be up.
MAC Address: F8:1E:DF:7F:76:2E (Unknown)
Host 192.168.3.109 appears to be down.
Host 192.168.3.110 appears to be down.
Host 192.168.3.111 appears to be up.
MAC Address: 00:17:31:84:BB:51 (Asustek Computer)
Host 192.168.3.112 appears to be down.
Host 192.168.3.113 appears to be down.
Host 192.168.3.114 appears to be up.
MAC Address: 00:19:D1:E7:DB:D8 (Unknown)
Host 192.168.3.115 appears to be down.
Host 192.168.3.116 appears to be down.
Host 192.168.3.117 appears to be down.
Host 192.168.3.118 appears to be up.
MAC Address: 00:1D:92:34:BD:B4 (Unknown)
Host 192.168.3.119 appears to be down.
Host 192.168.3.120 appears to be down.
Host 192.168.3.121 appears to be up.
MAC Address: 00:18:BF:80:20:68 (Unknown)
Host 192.168.3.122 appears to be down.
Host 192.168.3.123 appears to be down.
Host 192.168.3.124 appears to be down.
Host 192.168.3.125 appears to be up.
MAC Address: 00:18:BF:80:12:56 (Unknown)
Host 192.168.3.126 appears to be down.
Host 192.168.3.127 appears to be down.
Host 192.168.3.128 appears to be up.
MAC Address: 00:23:32:21:EA:94 (Unknown)
Host 192.168.3.129 appears to be down.
Host 192.168.3.130 appears to be up.
MAC Address: 00:18:BF:80:10:E9 (Unknown)
Host 192.168.3.131 appears to be down.
Host 192.168.3.132 appears to be down.
Host 192.168.3.133 appears to be up.
MAC Address: 00:18:F3:47:18:4C (Unknown)
Host 192.168.3.134 appears to be up.
MAC Address: 00:C0:26:25:3A:4C (Lans Technology CO.)
Host 192.168.3.135 appears to be up.
MAC Address: 00:1A:92:D2:71:2E (Unknown)
Host 192.168.3.136 appears to be up.
MAC Address: 00:1D:92:08:53:C3 (Unknown)
Host 192.168.3.137 appears to be up.
MAC Address: 00:18:BF:80:11:02 (Unknown)
Host 192.168.3.138 appears to be up.
MAC Address: 00:1B:FC:10:0C:93 (Unknown)
Host 192.168.3.139 appears to be up.
MAC Address: 00:18:BF:80:1C:B3 (Unknown)
Host 192.168.3.140 appears to be up.
MAC Address: 00:18:BF:80:12:90 (Unknown)
Host 192.168.3.141 appears to be down.
Host 192.168.3.142 appears to be down.
Host 192.168.3.143 appears to be up.
MAC Address: 00:18:BF:80:20:70 (Unknown)
Host 192.168.3.144 appears to be up.
MAC Address: 00:18:BF:80:20:77 (Unknown)
Host 192.168.3.145 appears to be up.
MAC Address: 00:18:BF:80:11:41 (Unknown)
Host 192.168.3.146 appears to be up.
MAC Address: 00:1A:92:49:26:CB (Unknown)
Host 192.168.3.147 appears to be down.
Host 192.168.3.148 appears to be down.
Host 192.168.3.149 appears to be up.
MAC Address: 00:1A:92:49:26:C9 (Unknown)
Host 192.168.3.150 appears to be up.
MAC Address: 00:18:F3:B3:66:FF (Unknown)
Host 192.168.3.151 appears to be down.
Host 192.168.3.152 appears to be down.
Host 192.168.3.153 appears to be down.
Host 192.168.3.154 appears to be down.
Host 192.168.3.155 appears to be down.
Host 192.168.3.156 appears to be down.
Host 192.168.3.157 appears to be down.
Host 192.168.3.158 appears to be down.
Host 192.168.3.159 appears to be down.
Host 192.168.3.160 appears to be down.
Host 192.168.3.161 appears to be down.
Host 192.168.3.162 appears to be down.
Host 192.168.3.163 appears to be down.
Host 192.168.3.164 appears to be down.
Host 192.168.3.165 appears to be down.
Host 192.168.3.166 appears to be down.
Host 192.168.3.167 appears to be down.
Host 192.168.3.168 appears to be down.
Host 192.168.3.169 appears to be down.
Host 192.168.3.170 appears to be down.
Host 192.168.3.171 appears to be down.
Host 192.168.3.172 appears to be down.
Host 192.168.3.173 appears to be down.
Host 192.168.3.174 appears to be down.
Host 192.168.3.175 appears to be down.
Host 192.168.3.176 appears to be down.
Host 192.168.3.177 appears to be down.
Host 192.168.3.178 appears to be down.
Host 192.168.3.179 appears to be down.
Host 192.168.3.180 appears to be down.
Host 192.168.3.181 appears to be down.
Host 192.168.3.182 appears to be down.
Host 192.168.3.183 appears to be down.
Host 192.168.3.184 appears to be down.
Host 192.168.3.185 appears to be down.
Host 192.168.3.186 appears to be down.
Host 192.168.3.187 appears to be down.
Host 192.168.3.188 appears to be down.
Host 192.168.3.189 appears to be down.
Host 192.168.3.190 appears to be down.
Host 192.168.3.191 appears to be down.
Host 192.168.3.192 appears to be down.
Host 192.168.3.193 appears to be down.
Host 192.168.3.194 appears to be down.
Host 192.168.3.195 appears to be down.
Host 192.168.3.196 appears to be down.
Host 192.168.3.197 appears to be down.
Host 192.168.3.198 appears to be down.
Host 192.168.3.199 appears to be down.
Host 192.168.3.200 appears to be down.
Host 192.168.3.201 appears to be down.
Host 192.168.3.202 appears to be down.
Host 192.168.3.203 appears to be down.
Host 192.168.3.204 appears to be down.
Host 192.168.3.205 appears to be down.
Host 192.168.3.206 appears to be down.
Host 192.168.3.207 appears to be down.
Host 192.168.3.208 appears to be down.
Host 192.168.3.209 appears to be down.
Host 192.168.3.210 appears to be down.
Host 192.168.3.211 appears to be down.
Host 192.168.3.212 appears to be down.
Host 192.168.3.213 appears to be down.
Host 192.168.3.214 appears to be down.
Host 192.168.3.215 appears to be down.
Host 192.168.3.216 appears to be down.
Host 192.168.3.217 appears to be down.
Host 192.168.3.218 appears to be down.
Host 192.168.3.219 appears to be down.
Host 192.168.3.220 appears to be down.
Host 192.168.3.221 appears to be down.
Host 192.168.3.222 appears to be down.
Host 192.168.3.223 appears to be down.
Host 192.168.3.224 appears to be down.
Host 192.168.3.225 appears to be up.
MAC Address: 00:30:4F:4E:6F:D7 (Planet Technology)
Host 192.168.3.226 appears to be down.
Host 192.168.3.227 appears to be down.
Host 192.168.3.228 appears to be down.
Host 192.168.3.229 appears to be down.
Host 192.168.3.230 appears to be down.
Host 192.168.3.231 appears to be down.
Host 192.168.3.232 appears to be down.
Host 192.168.3.233 appears to be down.
Host 192.168.3.234 appears to be down.
Host 192.168.3.235 appears to be down.
Host 192.168.3.236 appears to be down.
Host 192.168.3.237 appears to be down.
Host 192.168.3.238 appears to be down.
Host 192.168.3.239 appears to be down.
Host 192.168.3.240 appears to be down.
Host 192.168.3.241 appears to be down.
Host 192.168.3.242 appears to be down.
Host 192.168.3.243 appears to be down.
Host 192.168.3.244 appears to be down.
Host 192.168.3.245 appears to be down.
Host 192.168.3.246 appears to be down.
Host 192.168.3.247 appears to be down.
Host 192.168.3.248 appears to be down.
Host 192.168.3.249 appears to be down.
Host 192.168.3.250 appears to be down.
Host 192.168.3.251 appears to be down.
Host 192.168.3.252 appears to be down.
Host 192.168.3.253 appears to be down.
Host 192.168.3.254 appears to be down.
Host 192.168.3.255 appears to be down.
Nmap finished: 256 IP addresses (28 hosts up) scanned in 18.046 seconds
Raw packets sent: 491 (20.622KB) | Rcvd: 31 (1302B)