Faster Internet with MPTCP (Multipath TCP)



Faster Internet with MPTCP (Multipath TCP)

Faster Internet with MPTCP (Multipath TCP)

MANY THANKS TO ALL MY PATRONS on https://www.patreon.com/onemarcfifty !!!

Multipath TCP or MPTCP could be the next big thing in the linux kernel. In this episode I built a Test lab with my Proxmox and simulate three slow connections which I aggregate at the other end into a faster one using MPTCP. In real life you could aggregate 4G, 5G, 3G, LTE or Starlink, Docsis or DSL lines into one fast line.

0:00 Intro
0:40 TLDR/TLDW
0:58 other videos on bonding
1:19 how does MPTCP work ?
1:58 Why MPTCP? Problems with TCP
3:15 High availability and fail over with MPTCP
4:05 Use cases
4:25 how to use MPTCP at home ?
5:36 enable enable MPTCP on a linux machine
7:38 where to get a working Kernel?
7:54 the OpenMPTCPRouter project by Yannick Chabanois / ysurac
9:41 Step-by-step installation of the Kernel on Linux
11:33 Routing Rules
12:14 ifup / ifdown scripts
14:26 the Proxmox Test lab
15:55 tests with iperf3

The second episode (OpenMPTCPRouter) is here https://youtu.be/mYYoIDCWszo

The Multipath TCP Project site is here: https://www.multipath-tcp.org/

To test if you are using MTCP V0 : http://amiusingmptcp.de/
Compare the two RFCs here: https://www.ietf.org/rfcdiff?url1=rfc6824&url2=rfc8684
Yannick / ysurac OpenMPTCPRouter page is here : https://www.openmptcprouter.com
and his github : https://github.com/ysurac

In order to install the Multipath TCP enabled Kernel do the following steps:

(remove the spaces or underscores in the URLs)

wget https:/_/raw.githubusercontent.com/onemarcfifty/mptcp-tools/main/makescript.sh
chmod 755 makescript.sh
./makescript.sh
# this creates the fetch_ycarus_kernel.sh
chmod 755 fetch_ycarus_kernel.sh
./fetch_ycarus_kernel.sh
# this now creates two debian packages in the /tmp directory
apt install /tmp/llinux-image….deb
apt install /tmp/llinux-headers….deb

in order to enable boot menu in Grub make sure you have the following lines in /etc/default/grub

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

then launch update-grub

In order to add the routes do the following:

wget https:/_/github.com/multipath-tcp/mptcp-scripts/blob/master/scripts/rt_table/mptcp_up

cp mptcp_up /etc/network/if-up.d/
chmod 755 /etc/network/if-up.d/mptcp_up
wget https:/_/raw.githubusercontent.com/multipath-tcp/mptcp-scripts/master/scripts/rt_table/mptcp_down
cp mptcp_down /etc/network/if-post-down.d/
chmod 755 mptcp_down /etc/network/if-post-down.d/mptcp_down

Other commands I used:

iptables –list
iptables –list-rules
ip route list tables

iperf3 -s

iperf3 -c (ClientIP)
ip route list table (name of NW interface)

Marc’s channel on youtube: https://www.youtube.com/channel/UCG5Ph9Mm6UEQLJJ-kGIC2AQ

Marc on Twitter: https://twitter.com/onemarcfifty
Marc on Facebook: https://www.facebook.com/onemarcfifty/
Marc on Reddit: https://www.reddit.com/user/onemarcfifty
Chat with me on Discord: https://discord.com/invite/DXnfBUG

Licence-free music on / Lizenzfreie Musik von https://www.terrasound.de/lizenzfreie-musik-fuer-youtube-videos/Licence-free music on / Lizenzfreie Musik von https://www.terrasound.de/lizenzfreie-musik-fuer-youtube-videos/ .

Comments are closed.