多路径TCP:多个连接未显示

时间:2015-05-15 18:53:01

标签: linux tcp linux-kernel network-programming

我在我的机器上安装了mptcp内核。我尝试通过运行iperf -c multipath-tcp.org测试MPTCP(两个端口都是MPTCP CAPABLE)。 我试图测试iperf是否列出了创建的子流。我有一个有效的wifi接口+有源有线接口。但是iperf仍然只显示了有线接口的那个:

Client connecting to multipath-tcp.org, TCP port 5001
TCP window size: 45.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.42.123 port 52983 connected with 130.104.230.45 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-22.7 sec   384 KBytes   139 Kbits/sec

不应该是这种情况。我的有线链接速度太慢,即使流程已经开始在这里,肯定子流也会出现在wifi接口中。

我怎么能真正看到MPTCP实际上是在创建子流?

我看到question here,但我的cat proc ...文件正在显示

  sl  loc_tok  rem_tok  v6 local_address                         remote_address                        st ns tx_queue rx_queue inode
   0: B491F32C CDF952DC  0 0B2BA8C0:8E9C                         2DE66882:1389                         01 02 00000000:00000000 203077

与我猜的任何子流无关。

1 个答案:

答案 0 :(得分:0)

也许您可以使用sysctl net.mptcp检查mptcp设置,路径管理器应设置为fullmesh而不是默认设置多个流。
sysctl -w net.mptcp.mptcp_path_manager = fullmesh
sysctl -w net.mptcp.mptcp_enabled = 1
有关mptcp设置的进一步说明,请参阅http://multipath-tcp.org/pmwiki.php/Users/ConfigureMPTCP