Skip to content

Support multiple links bonding for throughput improvement #2256

Open

Description

@highfreq

Wondering if tailscale supports or is planned to support in future any kind of link bonding.

thanks

Activity

  1. bradfitz commented on Jun 26, 2021

    @bradfitz
    Member

    Yes. In fact, I think I opened such a bug already in the past. (I have multiple ISPs and want to optimally use all of them)

  2. added
    connectivity
    L1 Very few
    P1 Nuisance
    and removed on Jun 26, 2021
  3. bradfitz commented on Jun 26, 2021

    @bradfitz
    Member

    Oh, the bug I'm thinking of is #1066. But I guess that's more about failover and not specifically about bonding. To confirm: is your interest in, say, splitting bandwidth or flows over multiple links? Or do you only care about failover? (That is, you'd primarily use your better link until it failed.)

  4. highfreq commented on Jun 26, 2021

    @highfreq
    Author

    I am interested in bonding channels to add up bandwidth but using them as a failover too. Same as zerotier is trying to do (doesn't work at the moment).

  5. changed the title [-]Any plans to support multiple links bonding?[/-] [+]Support multiple links bonding for throughput improvement[/+] on Jul 21, 2021
  6. lukicweb commented on Aug 12, 2021

    @lukicweb

    This will be a so good...

  7. felixn-unity commented on Aug 19, 2021

    @felixn-unity

    @bradfitz

    I am not 100% on top of this, but I read an article with someone using wireguard and he had "bonding" enabled on the tunnel side, so multiple sessions/connections was going to the peer. Is that being implemented with TS?

    Because I am looking at using TS as the main connection between our offices (we are using IPSEC now) - but if going that way, we need to get the maximum throughput)

    Felix

  8. DentonGentry commented on Aug 19, 2021

    @DentonGentry
    Contributor

    I do expect to support multiple wireguard connections taking multiple paths to increase throughput, but right now we only use one at a time.

    Something that likely would work now is to create a bond0 interface from multiple eth# interfaces. That moves the bonding down to the Ip layer. This would require us to resolve #1066 and select the bond0 interface, but that might be more tractable.

  9. felixn-unity commented on Aug 19, 2021

    @felixn-unity

    Ok so there is current only one ts peer connection? - most of our infrastrure is 10G and some offices/hubs have 10G internet.

    So from what I understand this will not be utilized due to only one ts peer connection or? (so bond0 on eth# would not help I think)

    Thanks
    Felix

  10. DentonGentry commented on Sep 3, 2021

    @DentonGentry
    Contributor

    bond0 exists to take multiple gigabit Ethernet interfaces like eth0, eth1, eth2, and eth3 and turn them into a bond0 interface which can carry an aggregate 4 Gbps of traffic.

    For a native 10G Ethernet, there is no reason to use a bonding interface. There would be only a single link in the group, there would be no benefit.

  11. stp-ip commented on Mar 2, 2022

    @stp-ip

    Thought I share a project I ran into using Go in userspace to bond fully as in even fully aggregating multiple links for a single connection and not just multi session traffic.
    https://github.com/benjojo/bondcat

  12. wizzard0 commented on Apr 7, 2022

    @wizzard0

    I’d support this, but with a different flavor - optimizing not for bandwidth as such, but for latency/hiding packet loss on slow/unreliable connections (e.g. for live streaming)

    Together with an exit node this would make for a cool self-hosted Speedify alternative (also, it’s just freaking cool).

    Business travelers and traveling streamers who could bundle flaky hotel wifi with pricey roaming 3G would love you.

  13. bradfitz commented on Apr 7, 2022

    @bradfitz
    Member

    @wizzard0, I plan to do exactly that for my home internet with Tailscale. It's on my list.

  14. scriptsrc commented on Dec 24, 2022

    @scriptsrc

    I'm super curious how this would work in my environment. I have Starlink (unreliable, high throughput, high latency) and a local fixed wireless ISP (reliable-ish, slow 25mbps, amazingly low latency).

    I previously used a dual-WAN USG in both load balancing mode and failover mode but the failovers were very slow and noticeable.

    What would the characteristics be of bonding these with tailscale?

    • combined throughput?
    • increased reliability?
    • less noticeable "failovers"?
    • what about latency?
  15. wizzard0 commented on Dec 24, 2022

    @wizzard0

    @scriptsrc I routinely use Speedify to have peace of mind during video calls thru blackouts, bonding whatever available wired and wireless providers, be they at home, in the cafe, shelter or whatever.

    Works wonders, no noticeable failovers over dozens of calls. Not a single time. More than compensates for a bit of added latency (since closest Speedify server is in Poland not Ukraine), you always get minimum latency of all your ISPs at that moment of time, can continue a single HTTP download switching ISPs etc etc. But those guys are in the bonding business for years and it’s their core competence.

    Still waiting for Tailscale though, because two VPNs manipulating route settings on the same laptop do go haywire sometimes.

  16. DentonGentry commented on Feb 12, 2023

    @DentonGentry
    Contributor

    Because the original issue mentions throughput, Tailscale 1.36 substantially increased the throughput on Linux systems: https://tailscale.com/blog/throughput-improvements/

  17. DentonGentry commented on Jun 3, 2023

    @DentonGentry
    Contributor

    Because the original issue mentions throughput, the 1.40 release contained additional throughput improvements described in Surpassing 10Gb/s over Tailscale

  18. unixfox commented on Sep 16, 2023

    @unixfox

    Does this feature request also cover the ability to automatically fallback to another link in case the main link is broken (let's say use wifi if ethernet do not work)? I'm not sure if tailscale already has this support or not. Or should I create a separate issue?

  19. OJFord commented on Mar 5, 2024

    @OJFord

    @unixfox from #1066 (comment) I gather it's intended to support failover via #1552, though that's framed more as a one-time manual interface selection. (Or maybe it is this one, via 'if I bond a non-existent connection that path should have infinite cost'?)

    If your only exit nodes are non-local to the two WANs to bond, presumably this just inherently works already?

  20. ArtemGr commented on Jan 9, 2025

    @ArtemGr
  21. dstnmrgn commented on Mar 18, 2026

    @dstnmrgn

    I recently started using speedify for streaming my son's baseball games. I would love to just be able to use Tailscale to do what I'm having to rely on speedify to do. Being able to bond multiple available WAN connections a device has when connecting to an exit node would be an awesome feature for Tailscale. Great for travel routers and for streaming sports events.

  22. thibaultmol commented on Apr 15, 2026

    @thibaultmol

    @JayWStapleton ^Just a reminder that you brought this up, it would be really cool if we could have this in tailscale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 Very fewP1 NuisanceT3 Performance/Debuggingconnectivityoptimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions