# ping 192.168.7.9
PING 192.168.7.9 (192.168.7.9) 56(84) bytes of data.
64 bytes from 192.168.7.9: icmp_seq=1 ttl=127 time=3.17 ms
64 bytes from 192.168.7.9: icmp_seq=2 ttl=127 time=3.31 ms
64 bytes from 192.168.7.9: icmp_seq=3 ttl=127 time=3.59 ms
64 bytes from 192.168.7.9: icmp_seq=4 ttl=127 time=3.11 ms
64 bytes from 192.168.7.9: icmp_seq=5 ttl=127 time=3.16 ms
--- 192.168.7.9 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4042ms
rtt min/avg/max/mdev = 3.114/3.272/3.591/0.176 ms
# nmap -sP -n -v 192.168.7.9
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Host (192.168.7.9) appears to be down.
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap run completed -- 1 IP address (0 hosts up) scanned in 31 seconds
# ping 192.168.7.9
PING 192.168.7.9 (192.168.7.9) 56(84) bytes of data.
64 bytes from 192.168.7.9: icmp_seq=1 ttl=127 time=3.18 ms
64 bytes from 192.168.7.9: icmp_seq=2 ttl=127 time=3.22 ms
64 bytes from 192.168.7.9: icmp_seq=3 ttl=127 time=3.10 ms
--- 192.168.7.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2026ms
rtt min/avg/max/mdev = 3.107/3.172/3.229/0.082 ms
Чё, за фигня, почему nmap не хочет пинговть хост???