Nmap not ping scanning local network



  • Hi,

    I just noticed that on all pfsense 2.0 machines I have installed that I cannot ping scan the local network machines everything but the local configured port fails. I can however ping them machines properly.

    example: ping 172.16.0.128  (works, shows pings)

    However: nmap -sP 172.16.0.128 (says not responding to pings)

    when I do the whole subnet: nmap -sP 172.16.0.0/24 (takes forever then reports that 172.16.0.1 is the host that is up).

    Thoughts?!

    Jim



  • Just a thought: nmap tries to detect your primary interface and uses the address that you are scanning but if that doesn't work try -S to specify an interface. That should work.



  • nmap -sP is not the same as 'ping', use 'nmap -sP -PI' if you want ICMP echo requests.



  • Even better.


Locked