Trying to ping a site where an intervening router, not under my control, blocks all ICMP traffic. Ping does not terminate, even when -c and -w are both specified. Example (terminated by INTR): $ ping -w 2 -c 3 router.netxpress.com.gt PING router.netxpress.com.gt (216.72.30.4) from 192.168.159.109 : 56(84) bytes of data. --- router.netxpress.com.gt ping statistics --- 28 packets transmitted, 0 packets received, 100% packet loss
I believe you're using Red Hat Linux 6.1, not 6.2 Its behaviour is flawed like you reported. RH 6.2 seems to work just fine. *** This bug has been marked as a duplicate of 10426 ***
I am running 6.2 but installed as an upgrade. It may be that ping did not upgrade properly. I have now installed it --force from the CD and the problem is solved. Thanks.