Configure Multipath TCP (MPTCP) By kernel download under Ubuntu (1)

1. Introduction to MPTCP

    Multipath TCP (MPTCP) is a method of modifying TCP to use multiple IP addresses/interfaces at the same time. MPTCP presents a regular TCP interface to applications while actually spreading data across multiple subflows. The benefits of doing this include better resource utilization, better throughput, and smoother failure response.

        At present, there are two ways to make the Linux kernel support MPTCP. One is to download the source code from the official website and compile it yourself (you need to configure it yourself and compile it takes time), and the other is to download the compiled kernel directly from the official website and install it locally. This article mainly Introduce the second relatively simple method.

2. Typical application of MPTCP

3. The position of MPTCP in the TCP/IP protocol stack

4. Experimental environment
Ubuntu18.04

MPTCP official website

MultiPath TCP - Linux Kernel implementation : Main - Home Page browse

5. Configuration steps

1. Use the Firefox browser on Ubuntu to enter the official website and click how to install MPTCP

2. Choose to install with apt-repository (only for ubuntu users, Centos is rpm-repository)

There is a hole here. Using the rpm command to install on Centos will have other dependencies that need to be downloaded, and the installation will be a little troublesome. It is recommended to use Ubuntu directly.

 3. Click the link to enter GitHub to download the corresponding Release version

  4. Download these four .deb files to the local

  4. Use the command line to install the Linux kernel that supports MPTCP

 

Type the following command to install

cd ~/Downloads/
sudo dpkg -i linux*.deb
sudo apt-get install -f

5. Restart Ubuntu and press Shift to enter the kernel selection mode, select the kernel with the suffix .mptcp to start

 

6. Three ways to verify whether Ubuntu supports MPTCP

The first uses dmesg to print kernel boot information:

sudo dmesg  | grep mptcp

The second uses sysctl to find the parameters of mptcp related to the kernel

sudo sysctl -a |grep mptcp

 The third way is to visit the verification website provided by MPTCP official website

Multipath TCP Check

 At this point, we can now support multipath TCP in Ubuntu. The next chapter introduces the routing configuration of MPTCP!

If this blog is helpful to you, please like it before leaving, Respect all bloggers who have helped me!

Skip to the next article: Configuring Multipath TCP (MPTCP) routing under Ubuntu (2)_WayneSup's Blog-CSDN Blog

Reference link https://www.cnblogs.com/ztguang/p/12645106.html

Guess you like

Origin blog.csdn.net/weixin_44322104/article/details/127013260