ping command question

epilogue at allstream.net epilogue at allstream.net
Mon Jun 21 05:26:36 PDT 2004


On Mon, 21 Jun 2004 08:56:32 +0800 (CST)
adrian kok <adriankok2000 at yahoo.com.hk> wrote:

> Hi all
> 
> Do you know why the command "ping" in unix and window
> is different?
> 

Not if and how they are different.  Perhaps someone else can help out
here...

> I start from one ISP to ping other ISP
> 
> 1/ If the following result from window, it is good or
> not?
> lost = 7 within 3 thousand packets
> 

In your results, you'll notice that you lost 7 packets out of over 3500,
which translates to a loss of 0%.  In internetworking, it is
generally normal for the odd packet to get lost along the way (for a
variety of reasons).  Simply analysing the loss rate is not enough to know
if your connection is behaving as it should (1), nor does it help to
pinpoint where a problem may be (2).

(1) Unless you know the expected latency of the path you're testing,
you're not going to get very far.  You'll have to read up (books/google) on
networking latencies in order to get a better handle on this.

(2) Unless you're pinging each hop along the way to your final destination
or using traceroute, you're never going to understand where a perceived
problem lies.  Again, networking books and google are your friends here.


HTH,
epi


> 2/ how do I kow the average ms is good or not?
> 
> 3/ Which one (unix or window) is best for testing?
> 
> Thank you very much for your advice
> 
> Reply from 66.49.4.148: bytes=32 time=99ms TTL=57
> Reply from 66.49.4.148: bytes=32 time=109ms TTL=57
> Reply from 66.49.4.148: bytes=32 time=100ms TTL=57
> Reply from 66.49.4.148: bytes=32 time=95ms TTL=57
> 
> Ping statistics for 66.49.4.148:
>     Packets: Sent = 3534, Received = 3527, Lost = 7
> (0% loss),
    ^^^^^^^
> Approximate round trip times in milli-seconds:
>     Minimum = 89ms, Maximum =  640ms, Average =  102ms
> Control-C
> 
> 
> - 
> 
> 
> 
> _______________________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 


More information about the freebsd-questions mailing list