[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: naive tcp question
I think it is not a packet loss due to a communication problem, but rather
due to the use of ping.
The ping utility keeps pinging the remote host until you break it (probably
by pressing CTRL-C).
Depending on the exact moment, you press CTRL-C the last packet might be
lost. It is lost since you have stopped the ping utility before it processed
the returning packet.
Note that the number of packets that you received, is 10 out of 11 - the one
packet that did not arrive is the last one.
To avoid this problem tell the ping utility exactly how many times you want
it to ping. For example if you want to ping 10 times use the command:
ping -c 10 remote-host
If you experience packet loss with this type of usage - there is probably a
problem with the communication...
-Oved
-----Original Message-----
From: linux-il-bounce@cs.huji.ac.il
[mailto:linux-il-bounce@cs.huji.ac.il]On Behalf Of Ariel Biener
Sent: Wednesday, December 08, 1999 9:06 PM
To: dorit@ns1.nethost.co.il
Cc: doritb@netvision.net.il; linux-il@cs.huji.ac.il
Subject: Re: naive tcp question
On Wed, 8 Dec 1999 dorit@ns1.nethost.co.il wrote:
If this is so, then you don't experience a modem related proglem, and the
packet loss to remote sites is your ISP losing packets, and not your modem
connection.
--Ariel
> >ping -s 250 -c 50 your.default.gateway
>
> mremote IP address looks fine,
> even though a littel bit slow:
>
> >PING 62.0.160.38 (62.0.160.38): 250 data bytes
> >258 bytes from 62.0.160.38: icmp_seq=0 ttl=255 time=373.7 ms
> >258 bytes from 62.0.160.38: icmp_seq=1 ttl=255 time=470.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=2 ttl=255 time=460.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=3 ttl=255 time=470.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=4 ttl=255 time=460.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=5 ttl=255 time=470.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=6 ttl=255 time=460.0 ms
> >258 bytes from 62.0.160.38: icmp_seq=7 ttl=255 time=450.0 ms
> >
> >--- 62.0.160.38 ping statistics ---
> >9 packets transmitted, 8 packets received, 11% packet loss
> >round-trip min/avg/max = 373.7/451.7/470.0 ms
>
--
Ariel Biener
e-mail: ariel@post.tau.ac.il Work phone: 03-6406086
fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il