Red Hat Training

A Red Hat training course is available for RHEL 8

28.6. 在内核中禁用多路径 TCP

您可以在内核中明确禁用 MPTCP 选项。

步骤

  • 禁用 mptcp.enabled 选项。

    # echo "net.mptcp.enabled=0" > /etc/sysctl.d/90-enable-MPTCP.conf
    # sysctl -p /etc/sysctl.d/90-enable-MPTCP.conf

验证步骤

  • 验证是否在内核中禁用了 mptcp.enabled

    # sysctl -a | grep mptcp.enabled
    net.mptcp.enabled = 0