【问题标题】:length of captured packets more than MTU捕获的数据包长度大于 MTU
【发布时间】:2010-02-28 12:15:03
【问题描述】:

我在两台机器(linux)之间运行iperf,我可以观察到连接的两个接口的mtu都是1500。

我运行 tcpdump 来捕获数据包,我观察到一些数据包 “长度为 2962”....mtu 只有 1500 怎么可能?

请澄清。 谢谢!

注意:flags 字段设置为 DF。而proto是TCP

【问题讨论】:

  • 关闭“Dont Fragment”标志????
  • 是的,我问如果没有设置会发生什么。
  • 我想我不能......因为创建这些数据包的是 iperf 应用程序

标签: linux networking tcp network-protocols


【解决方案1】:

关闭 gso(在 linux 中)成功了

参考: http://lists.openwall.net/netdev/2008/11/14/20

【讨论】:

  • 你可以使用 ethtool 来完成 - 比如:ethtool --offload gso off
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-02-22
  • 2019-08-23
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多