Hello
I'm at work and doing a VPN-connection to my home network. Now I wanted to find out which hosts are up but I can't find a way with nmap to make it work.
I tried:
nmap -sP 192.168.1.* (all hosts are up)
nmap -sn 192.168.1.* (all hosts are up)
nmap -PE 192.168.1.* (all hosts are up)
I thought they are ping requests and don't get it why they get an reply. What else could I try to get the right result? I also tried other variations with different timings -T but i still don't get the desired result.
When I manually ping or use Angry IP Scanner I get the right result which is about 3 Hosts. Any pointer?
Thanks
Pat
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
nmap scan
Re: nmap scan
Scan a single IP nmap 192.168.1.1
Scan a range of IPs nmap 192.168.1.1-20
Scan a subnet nmap 192.168.1.0/24
Scan a range of IPs nmap 192.168.1.1-20
Scan a subnet nmap 192.168.1.0/24
Re: nmap scan
Yep wildcard is allowed and your examples work as well. But anyway there is no difference to the result. Any idea?
Re: nmap scan
The last -PE switch set in your examples needs root. But they all three return expected results on my network:
Definitely something unusual going on there, but I have no idea exactly what.
Code: Select all
Nmap done: 256 IP addresses (19 hosts up) scanned in 2.15 seconds
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.
Re: nmap scan
Okay I found the problem. I was running the distro in VirtualBox with NAT and as soon as I changed it to Bridged mode it worked.
Re: nmap scan
Good for you. Could you mark the topic as solved?Patrigo wrote:Okay I found the problem..
For your next topic, stuff like this would be crucial to mention in the OP. Not that I would have known what's the solution in this specific case, but as a general note.Patrigo wrote:I was running the distro in VirtualBox with NAT...
Debian 12 Stable with sway
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian