networking
network_error
ai_generated
true
eth0:巨帧被丢弃,MTU为1500但收到来自00:1a:2b:3c:4d:5e的帧大小为9000
eth0: jumbo frame dropped, MTU 1500 but frame size 9000 received from 00:1a:2b:3c:4d:5e
ID: networking/ethernet-jumbo-frame-dropped
88%修复率
83%置信度
1证据数
2024-01-30首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| Linux kernel 5.15 | active | — | — | — |
| Linux kernel 6.6 | active | — | — | — |
| FreeBSD 13.2 | active | — | — | — |
根因分析
配置为标准1500字节MTU的网络接口接收到了大于MTU的以太网帧(巨帧),通常来自启用了巨帧的对端,导致内核因大小不匹配而丢弃该帧。
English
A network interface configured with a standard 1500-byte MTU received an Ethernet frame larger than the MTU (a jumbo frame), typically from a peer that has jumbo frames enabled, causing the kernel to drop the frame due to size mismatch.
官方文档
https://www.kernel.org/doc/Documentation/networking/jumbo-frames.txt解决方案
-
On the sender: ifconfig eth0 mtu 1500
-
ip link set dev eth0 mtu 9000
无效尝试
常见但无效的做法:
-
Setting the MTU on eth0 to 9000 to accept jumbo frames.
60% 失败
This may cause fragmentation issues if the path has other devices with lower MTU; also, it changes the interface's behavior for all traffic, not just the problematic peer.
-
Using an access control list to block large frames from the sender.
80% 失败
Does not solve the root cause; the sender still sends jumbo frames, and blocking them drops legitimate traffic.