I wanted to scan the entirely of my home network using Nmap but was unsure of how I would go about this.

My default gateway and subnet mask are and respectively, so I first tried nmap -sS However, this only seemed to scan from to What would be the best way to scan my entire local network instead of just that one segment? Would nmap -sS scan everything from to

I would preferably like to start at the very beginning of ip ranges to to catch all networked devices like printers on my network but was wondering if this was feasible and how I could speed this up. As a /24 scan is taking me over 3 minutes.

  • 2
    I have the feeling that the OP is missing an understanding of basic network concepts and that the question is more about this and not about actual security. Note that if the network mask is (as given) then /24 describes the entire network, i.e. things like are not part of the local network. See also en.wikipedia.org/wiki/Wildcard_mask Sep 17, 2022 at 8:25
  • 1
    With a class C /24, 255 hosts is your entire local network. There are no hosts outside of that to scan. All devices on your network are in that range. Sep 17, 2022 at 12:40

1 Answer 1


The very first thing you need to do is read and understand the nmap documentation, RFC1918 & RFC4632.

With a gateway of and subnet mask of, is your network. You could use to attempt to scan everything from to, though I have a suspicion that will not yield results outside of the range.

You must log in to answer this question.