I have been trying to scan live hosts that is connected to my home network using nmap but it keeps on returning the IP address of my router and my personal computer.
I tried using the following commands with nmap
:
$ sudo nmap -sP xxx.xxx.xxx.xxx/24
$ sudo nmap -sP -PT80 xxx.xxx.xxx.xxx/24
Both of these commands did return on 2 live hosts, that is my laptop's and router's IP addresses.
Am I missing something?
-sn
... refer to nmap page for more info.