捕获数据包长度大于MTU

发布于 2024-08-22 21:21:52 字数 179 浏览 4 评论 0原文

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

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

请澄清。 谢谢!

注意:flags 字段设置为 DF。原型是 TCP

I m running iperf between two machines (linux) and I can observe the mtu of both the interfaces connected is 1500.

I ran tcpdump to capture packets and I observed some packets have
"length as 2962"....how come this is possible with mtu as only 1500?

Please clarify.
Thanks!

Note: flags field is set as DF. and proto is TCP

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

木槿暧夏七纪年 2024-08-29 21:21:52

关闭gso(在linux中)就可以

解决问题了:
http://lists.openwall.net/netdev/2008/11/14/20

Turning off gso (in linux) did the trick

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文