Рет қаралды 53,323
MANY THANKS TO ALL MY PATRONS on / 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 • Faster Internet with O...
The Multipath TCP Project site is here: www.multipath-tcp.org/
To test if you are using MTCP V0 : amiusingmptcp.de/
Compare the two RFCs here: www.ietf.org/rfcdiff?url1=rfc...
Yannick / ysurac OpenMPTCPRouter page is here : www.openmptcprouter.com
and his github : 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: / @onemarcfifty
Marc on Twitter: / onemarcfifty
Marc on Facebook: / onemarcfifty
Marc on Reddit: / onemarcfifty
Chat with me on Discord: / discord
Licence-free music on / Lizenzfreie Musik von www.terrasound.de/lizenzfreie... music on / Lizenzfreie Musik von www.terrasound.de/lizenzfreie...