Scan a subnet nmap

Scan all hosts in a /24 subnet

nmap 192.168.1.0/24