How to do a network IP range scan with NMAP

First of all you need to install NMAP which you can do from this website

http://nmap.org/download.html#macosx

After running the  NMAP installer you should restart your shell.

You can do a network ip range scan like this

nmap -sP 192.168.2.0/24

 This wil scan the whole ip range of 192.168.2.0 to 192.168.2.255

If you want to specify a range like 192.168.2.1 to 192.168.2.200

nmap -sP 192.168.2.1-200

 This will take a while. This is an example of the result you’ll get

Ip range scan with NMAP

 

Or if you are on a mac you could just download the LanScan application to do this 🙂

You can download LanScan here

8 thoughts on “How to do a network IP range scan with NMAP

  1. Hello Steven, Did you ever use Zenmap, the GUI version of NMAP. if yes, what are the challenges you faced while using it and can you name any two recommendations to improve the zenmap tool?.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s