Configure mptcpd

The mptcpd service is a component for configuring Multipath TCP (MPTCP) endpoints. It automatically creates and dynamically updates a list of subflow endpoints for each IP address on the host, providing an alternative to the ip utility for enabling multiple paths.

Before you begin

  • The mptcpd package installed

Procedure

  1. Enable mptcp.enabled option in the kernel with the following command:
    # echo "net.mptcp.enabled=1" > /etc/sysctl.d/90-enable-MPTCP.conf
    # sysctl -p /etc/sysctl.d/90-enable-MPTCP.conf
  2. Enable and start the mptcpd service:
    # systemctl enable --now mptcp.service
  3. To configure mptcpd service manually, modify the /etc/mptcpd/mptcpd.conf configuration file.

    Note, that the endpoint, which mptcpd service creates, lasts till the host shutdown.

Results

  • Verify endpoint creation:
    # ip mptcp endpoint