Celeb Glow
updates | March 01, 2026

Nmap does not show all devices connected to my network

I want to use xerosploit but when I scan my network, it just shows two devices

  1. My device
  2. My Router

Then I thought there was some problem in xerosploit, but when I scanned my network through nmap it also shows the same result. Why?

The command I used on nmap is nmap -sn ip addr/24. I even tried the Aggressive Scan option, but it still only showed these two hosts up.

1 Answer

Two things come to mind, and both of these could contribute to your problem:

  1. If you inserted your machine's entire IP address and added the /24, this is not a valid netmask for your use case. If you wanted to scan 192.168.1.1 through 192.168.1.254, the proper IP for nmap is 192.168.1.0/24. For a /24, take the first three octets of your computer's IP and set the last digit to zero. If you are on a more complicated network, use a subnet calculator to determine what your scan range should be.

  2. You may have devices on your network not responding to pings, which in the default mode of nmap, will cause them to report as down without any actual port scanning. To have it try anyways, use the option -Pn.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy