[Swan-dev] Ping loss

Paul Wouters paul at nohats.ca
Sat Mar 27 18:36:28 UTC 2021


Begin forwarded message:

> New commits:
> commit d49d315ec8b71377a1fc9de9f0277d1396fec5c7
> Author: Andrew Cagney <cagney at gnu.org>
> Date:   Sat Mar 27 12:52:52 2021 -0400
> 
>    testing: sprinkle ping-once
> 
>    things are getting interesting for instance, replacing:
>      ping -c 2 ...
>      50% packet loss, but sometimes 100%
>    with:
>      ping-once --forget
>      wait-for traffic status
>      ping-once --up

Remember an on-demand tunnel eats the first icmp packet, maybe two on occasion if things are slow. That is why I usually now do a single ping they triggers the tunnel and a second -c4 ping to show no packet loss.

If you do a tcp packet, it will get cached abd resend and no drop should occur 


More information about the Swan-dev mailing list