How to Scan an IP Address? NMAP
With the number of networked devices rising everyday, network administrators must know how to scan their network for devices, track IP addresses, and perform IP address management.
Maintaining good network health and prevent unauthorized users from spying or wasting valuable bandwidth is essential to know for administrators. Network security professionals are expected to not only know how to scan their network to locate devices, but also understand the importance behind IP address management.
In this tutorial, you will learn the basic networking skills using nmap on how to scan a network for IP addresses using the command line. You will use these commands to scan a network with nmap, find specific addresses, select ranges, perform CIDR notation scanning, and using a file to perform the scan.
Switch | Example | Description |
---|---|---|
nmap 10.10.1.1 | Scan a single IP | |
nmap 10.10.10.1 10.110.10.2 | Scan specific IPs | |
nmap 10.10.10.1-254 | Scan a range | |
nmap scanme.nmap.org | Scan a specific domain | |
nmap 10.10.10.0/24 | Scan using CIDR notation | |
-iL | nmap -iL list.txt | Scan targets from a file |
-iR | nmap -iR 50 | Scan 50 random hosts |
–exclude | nmap –exclude 10.10.1.1 | Exclude listed hosts |
Please do not perform scans against IP ranges that do not belong to you or a customer.
