2026-07-12

How to Scan a Network Using Nmap

How to Scan a Network Using Nmap

How to Scan a Network Using Nmap

Nmap (Network Mapper) is one of the most powerful open-source tools for discovering devices and services on a network. Security professionals use it daily for auditing, troubleshooting, and penetration testing.

Installing Nmap

Linux:

sudo apt install nmap

Windows and macOS installers are available from the official website.

Scan a Single Host

nmap 192.168.1.100

Scan an Entire Network

nmap 192.168.1.0/24

Detect Operating System

sudo nmap -O 192.168.1.100

Service Detection

nmap -sV 192.168.1.100

Why Nmap Matters

Nmap helps administrators:

  • Discover unknown devices.
  • Identify open ports.
  • Detect unnecessary services.
  • Improve network security.

Conclusion

Nmap is one of the most versatile networking tools available and should be part of every cybersecurity toolkit.