捕获的数据包的长度大于MTU [英] length of captured packets more than MTU

查看:579
本文介绍了捕获的数据包的长度大于MTU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两台计算机(linux)之间运行iperf,并且可以观察到连接的两个接口的mtu均为1500.

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

我运行tcpdump来捕获数据包,我发现一些数据包具有 长度为2962"....为什么只有1500的mtu才有可能?

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?

请澄清. 谢谢!

注意:标志字段设置为DF.而原始协议是TCP

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

推荐答案

关闭gso(在Linux中)起到了作用

Turning off gso (in linux) did the trick

已引用: http://lists.openwall.net/netdev/2008/11/14/20

这篇关于捕获的数据包的长度大于MTU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆