nmap : how to scan a network

If you want to scan a network or range of IPs for hosts that are on a network, you can use nmap with the following option

nmap -sL NETWORK/MASK (ex: nmap -sL 192.168.1.0/24)
or
nmap -sL NETWORKRANGE (ex: nmap -sL 192.168.1.0-50)

For a complete reference of nmap capabilities, go to http://insecure.org/nmap/man/.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.