command ping higher not match command Tailscale ping #541

Closed
opened 2025-12-29 02:19:43 +01:00 by adam · 4 comments
Owner

Originally created by @arrow2012 on GitHub (Aug 17, 2023).

Bug description

Environment

  • OS:
  • Headscale version: v0.22.3
  • Tailscale version: 1.46.1 ,1.48.0
  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

To Reproduce

headscale and tailscale-linux install on linux server A
tailscale-macos install on macos B
derp install on linux server A

tailscale-macos IP : 10.66.0.1
tailscale-linux IP : 10.66.0.2

on tailscale-macos
% ./Tailscale ping 10.66.0.2 ping is 18

but direct ping 10.66.0.2 ping is 40 - 50
% ping 10.66.0.2

image

10.66.0.1 route to 10.66.0.2 via DERP ,the derp install same with tailscale-linux ,the ping should not higher than 20

Originally created by @arrow2012 on GitHub (Aug 17, 2023). <!-- Before posting a bug report, discuss the behaviour you are expecting with the Discord community to make sure that it is truly a bug. The issue tracker is not the place to ask for support or how to set up Headscale. Bug reports without the sufficient information will be closed. Headscale is a multinational community across the globe. Our language is English. All bug reports needs to be in English. --> ## Bug description <!-- A clear and concise description of what the bug is. Describe the expected bahavior and how it is currently different. If you are unsure if it is a bug, consider discussing it on our Discord server first. --> ## Environment <!-- Please add relevant information about your system. For example: - Version of headscale used - Version of tailscale client - OS (e.g. Linux, Mac, Cygwin, WSL, etc.) and version - Kernel version - The relevant config parameters you used - Log output --> - OS: - Headscale version: v0.22.3 - Tailscale version: 1.46.1 ,1.48.0 <!-- We do not support running Headscale in a container nor behind a (reverse) proxy. If either of these are true for your environment, ask the community in Discord instead of filing a bug report. --> - [ ] Headscale is behind a (reverse) proxy - [ ] Headscale runs in a container ## To Reproduce <!-- Steps to reproduce the behavior. --> headscale and tailscale-linux install on linux server A tailscale-macos install on macos B derp install on linux server A tailscale-macos IP : 10.66.0.1 tailscale-linux IP : 10.66.0.2 on tailscale-macos % ./Tailscale ping 10.66.0.2 ping is 18 but direct ping 10.66.0.2 ping is 40 - 50 % ping 10.66.0.2 <img width="926" alt="image" src="https://github.com/juanfont/headscale/assets/46478986/b3bfdaad-be2a-4ddd-9ad5-74f2dbfaae26"> 10.66.0.1 route to 10.66.0.2 via DERP ,the derp install same with tailscale-linux ,the ping should not higher than 20
adam added the stalebug labels 2025-12-29 02:19:43 +01:00
adam closed this issue 2025-12-29 02:19:43 +01:00
Author
Owner

@arrow2012 commented on GitHub (Aug 17, 2023):

top view
image

@arrow2012 commented on GitHub (Aug 17, 2023): top view <img width="704" alt="image" src="https://github.com/juanfont/headscale/assets/46478986/c346a04c-b1ff-41f9-8c8e-107a2653dc32">
Author
Owner

@kyhwana commented on GitHub (Aug 18, 2023):

This is probably due to the fact that the tailscale ping command is using a DERP server, which has a lower latency router between the two machines (via tailscale) than the two machines going direct (not via tailscale)

@kyhwana commented on GitHub (Aug 18, 2023): This is probably due to the fact that the tailscale ping command is using a DERP server, which has a lower latency router between the two machines (via tailscale) than the two machines going direct (not via tailscale)
Author
Owner

@github-actions[bot] commented on GitHub (Dec 11, 2023):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Dec 11, 2023): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 19, 2023):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Dec 19, 2023): This issue was closed because it has been inactive for 14 days since being marked as stale.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#541