我使用ethtool限制了我的带宽,我使用了以下命令: sudo,-s,eth2,500。
但我收到了错误信息:
的广告
我试着增加双工半双工全双工
我仍然收到这条信息,我找不到这个问题的原因,知道吗?
在ubuntu机器上注意im,我的eth2最初是1G。
发布于 2015-07-22 17:57:52
ethtool不作为NIC的带宽限制器工作,该参数只设置广告显示的NIC速度,而且您不能对该参数设置任意值并期望它工作。它期望一个(或多个)非常特定的可能值列表,这些值与双工模式设置相关。来自民族工具手册页:
advertise N
Sets the speed and duplex advertised by autonegotiation. The
argument is a hexidecimal value using one or a combination of
the following values:
0x001 10 Half
0x002 10 Full
0x004 100 Half
0x008 100 Full
0x010 1000 Half(not supported by IEEE standards)
0x020 1000 Full
0x8000 2500 Full(not supported by IEEE standards)
0x1000 10000 Full
0x03F Autohttps://serverfault.com/questions/707709
复制相似问题