Host Discovery
Find live hosts.
What Is Host Discovery?
Before scanning ports, you need to know which hosts are alive. Host discovery (also called ping scanning) identifies responsive systems on a network so you do not waste time scanning dead addresses.
Nmap is the industry-standard tool for this and for nearly all network scanning tasks.
The Ping Sweep
The -sn flag performs a ping sweep: it checks which hosts respond without scanning any ports. It is fast and ideal for mapping a subnet first.
nmap -sn 192.168.1.0/24
# Lists which hosts in the /24 are up