-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elevated packet latency macOS → Linux, only on same LAN(?) #10356
Comments
Here's another bugreport: BUG-b7bfb2cca2685b00ef26ca6f8ce36066dbdd6f96d71d6de050d4e9ac35058039-20231227191124Z-83817bc46af2b155 It seems to happen for a while (a few hours?) after switching wifi networks. Even restarting tailscale on both my mac and my linux machine doesn't help. |
Still happening for me. This is a Mac (Sonoma 14.5) pinging a Linux box (ubuntu jammy, linux 5.15.0-91-generic), both on the latest Tailscale, 1.68.1. The lost packet is very noticeable here, but notice that packets 7 and 18 also had extremely high latency:
A concurrently-running ping on the non-tailscale LAN interface never exceeded 10ms:
BUG-e2b6f53c6548bbac0b9b9211bd3ece7b87fe65ad62845cc6ce6bb84ff0af1cd9-20240627153055Z-95c1c05efcb97834 This also appears to affect me only when the two machines are on the same network. When I bring the Mac to a different network, my pings are much more consistent:
|
Feels like the same issue I have. Android and Linux have a very high packet loss (not constant) on my local wifi network. Cellular is fine. #12662 |
Facing same issue, and this happens only on one device in the lan which is definitely weird. It could be a mac specific issue though. I tried disabling location services without any result. Both server 1 and server 2 is under same router, in same physical location. Then For some weird reason the issue vanished when I start to ping at high rate from all connections. Occational random issue persisted though. The problem is the problem is not consistent, so it's hard to figure out what is the issue. |
What is the issue?
When connecting on a local network from macOS to Linux, I experience elevated packet loss, up to 15%, both for ping and ssh. Latency is not impaired--given the RTT, the packets are obviously not leaving my LAN.
The problem is specific to the Mac. When I have two Linux boxes connecting to each other, there is no packet loss. Similarly it's specific to Tailscale - while experiencing packet loss via Tailscale, concurrent connections to the local IPs are unaffected.
Steps to reproduce
I ran ping side by side in many terminals at the same time, to both the "true" local IP address and to the Tailscale interface.
From Mac to Linux:
From Linux to Mac
From a different Linux box to Linux
Are there any recent changes that introduced the issue?
This has been happening for a few weeks now. Took me a while to track it down to Tailscale specifically (I first suspected degraded network hardware, but the non-Tailscale pings rule out that explanation. That's very much a compliment to the quality of your software that it was so deep into the list of hypotheses 😄)
OS
No response
OS version
MacOS Sonoma 14.1.1, Raspbian buster, Ubuntu focal
Tailscale version
1.54.0 on all
Other software
This is over a wifi connection, though intuitively it feels like that shouldn't much matter given the concurrent connections are okay.
Bug report
BUG-b7bfb2cca2685b00ef26ca6f8ce36066dbdd6f96d71d6de050d4e9ac35058039-20231121224148Z-b9ba52d3cfe6e9f6
The text was updated successfully, but these errors were encountered: