在带有BCM57800 NIC(bnx2x)的Debian 7.10服务器上的巨型帧(mtu 9000)

我正在使用Broadcom公司的NetXtreme BCM57800 1/10千兆以太网工作在Debian 7.10下的两台服务器上。

我已经完成了以下两个服务器:

ethtool -g eth0 Ring parameters for eth0: Pre-set maximums: RX: 4078 RX Mini: 0 RX Jumbo: 0 TX: 4078 Current hardware settings: RX: 4078 RX Mini: 0 RX Jumbo: 0 TX: 4078

我改变了mtu 9000: ifconfig eth0 mtu 9000

ifconfig eth0值已更改:

UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1

但是,当我尝试发送9000字节的数据包时,它不起作用: ping -M do -s 8972 10.0.0.3 PING 10.0.0.3 (10.0.0.3) 8972(9000) bytes of data. ^C --- 10.0.0.3 ping statistics --- 13 packets transmitted, 0 received, 100% packet loss, time 12095ms ping -M do -s 8972 10.0.0.3 PING 10.0.0.3 (10.0.0.3) 8972(9000) bytes of data. ^C --- 10.0.0.3 ping statistics --- 13 packets transmitted, 0 received, 100% packet loss, time 12095ms

但是它仍然在使用1500字节的数据包:

ping -M do -s 1472 10.0.0.3 PING 10.0.0.3 (10.0.0.3) 1472(1500) bytes of data. 1480 bytes from 10.0.0.3: icmp_seq=1 ttl=64 time=0.054 ms 1480 bytes from 10.0.0.3: icmp_seq=2 ttl=64 time=0.041 ms

网卡固件:

/sbin/modinfo bnx2x filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko firmware: bnx2x/bnx2x-e2-7.8.19.0.fw firmware: bnx2x/bnx2x-e1h-7.8.19.0.fw firmware: bnx2x/bnx2x-e1-7.8.19.0.fw version: 1.78.19-0 license: GPL description: Broadcom NetXtreme II BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF Drive

我在这里错过了什么?

交换机很可能不让数据包通过。 一些pcap也可能在诊断上有用。