[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[no subject]



Hi Friends,

	Linux Ping utility is giving some sort of trouble. I am using ping
utility to check the upness of remote host & same the avg delay & no of pkts
sent & received. I am sending 5 pkts using -c switch, I am also using -w 2
for waiting for only 2 sec if remote host is not reachable as follows

	$ping -c  5 -w 2 <remote host>
PING 3.244.203.1 (3.244.203.1) from 3.84.88.45 : 56(84) bytes of data.
64 bytes from 3.244.203.1: icmp_seq=0 ttl=246 time=508.2 ms
64 bytes from 3.244.203.1: icmp_seq=1 ttl=246 time=517.7 ms
64 bytes from 3.244.203.1: icmp_seq=2 ttl=246 time=207.0 ms
64 bytes from 3.244.203.1: icmp_seq=3 ttl=246 time=230.9 ms

--- 3.244.203.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 207.0/365.9/517.7 ms

to my surprise Linux is sending only 4 pkts & receiving 4 pkts, can some one
explain me why this is happening ? 

if any fix is available for this or is there any alternative is available?

any suggestions & pointers will be appreciated.

Regards
Mohan