One of the most basic functions of Nmap is to identify active hosts on your network. Nmap does this by using a ping scan. This identifies all of the IP addresses that are currently online without sending any packers to these hosts. To run a ping scan, run the following command: # nmap -sp 192.100.1.1/24.
How does ping scan work?
Pings and Ping Sweeps. A ping is a special type of network packet called an ICMP packet. Pings work by sending specific types of network traffic, called ICMP Echo Request packets, to a specific interface on a computer or network device.
How do I run a ping scan?
- From a Microsoft OS command line, Type for /l %i in (1,1,254) do @ping -n 1 -w 100 <first three octets of host network>. %i. For example, if the host network is 192.168. …
- Press Enter.
- Observe the results as the command sweeps the network searching for hosts.