Multipath TCP: Difference between revisions

From NixOS Wiki
m Samueldr moved page NixOS Wiki:Multipath tcp to Multipath TCP without leaving a redirect: Page in the wrong namespace
Klinger (talk | contribs)
mNo edit summary
 
Line 14: Line 14:
     };
     };
   });
   });
[[Category:Networking]]

Latest revision as of 20:45, 24 April 2024

Multipath TCP is a TCP (Transmission Control Protocol) extension to be able to use multiple paths for a single TCP connection (https://datatracker.ietf.org/wg/mptcp/). Applications can aggregate the troughput of a cellular and wifi link for instance.

It is backwards compatible with TCP: you don't need to modify applications but just to enable an MPTCP-aware linux kernel. 2 such kernels exist: - the historical out-of-tree featureful implementation developed at multipath-tcp.org/

 boot.kernelPackages = pkgs.linuxPackages_mptcp;

- use the upstream implementation (still being worked on) available starting from linux 5.6

 boot.kernelPackages = pkgs.linuxPackagesFor ( pkgs.linux_5_6.override {
   structuredExtraConfig = with lib.kernel; {
     MPTCP     =yes;
     MPTCP_IPV6=yes;
   };
 });