This topic created in 2967 days ago, the information mentioned may be changed or developed.
一台 Ubuntu Server 独立服务器,带宽占用在 100Mbps 时即出现 ping 值飙高连接缓慢,机器是 G 口可以确定
如何将网卡切换至 1000M 突破目前 100M 的限制?
下面是目前机器网卡的状态
# sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
# mii-tool -v
eth0: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:aa:00, model 57 rev 1
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
# cat /sys/class/net/eth0/speed
100
4 replies • 2018-03-25 08:23:09 +08:00
 |
|
1
bsder Mar 25, 2018 via iPhone 1
让机房换网线。可能网线不达标。
|
 |
|
2
azuis Mar 25, 2018 via iPhone 1
联系机房问问是不是交换机上给你限制 100M 了。
|
 |
|
3
nikoo Mar 25, 2018
@ bsder @ azuis 谢谢,也就是说,如果交换机上没有限制 100M,并且网线正确的话,以上配置并且 Auto-negotiation: on 情况下并且支持千兆,按理说是应会自动切换至 Speed: 1000Mb/s 而不需要手动命令来切换对吗?
|
 |
|
4
azuis Mar 25, 2018 via iPhone 1
|