[juneau-lug] To ping or not to ping

  • From: James Zuelow <e5z8652@xxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Mon, 20 Nov 2006 19:46:27 -0900

So this is interesting:

-------------------------------------------------------
james@independence:~$ ping -c 2 192.168.2.3
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.
64 bytes from 192.168.2.3: icmp_seq=1 ttl=64 time=2.08 ms
64 bytes from 192.168.2.3: icmp_seq=2 ttl=64 time=2.03 ms

--- 192.168.2.3 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 2.036/2.058/2.081/0.050 ms
-------------------------------------------------------

OK -- so far so good.

-------------------------------------------------------
james@independence:~$ nmap 192.168.2.3

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-11-19 08:25 AKST
Note: Host seems down. If it is really up, but blocking our ping probes, 
try -P0
Nmap finished: 1 IP address (0 hosts up) scanned in 4.006 seconds
-------------------------------------------------------

ER? I just pinged it!

-------------------------------------------------------
james@independence:~$ nmap -P0 192.168.2.3

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-11-19 08:26 AKST
Interesting ports on 192.168.2.3:
Not shown: 1677 filtered ports
PORT     STATE SERVICE
22/tcp   open  ssh
631/tcp  open  ipp
8888/tcp open  sun-answerbook

Nmap finished: 1 IP address (1 host up) scanned in 31.415 seconds
james@independence:~$      
-------------------------------------------------------

So it *is* up.
------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts:

  • » [juneau-lug] To ping or not to ping