同一块网卡,不同的命令怎么出来的结果不一样
一个显示100M和个显示1000M。怎么回事
[root@test ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes
[root@test ~]# mii-tool eth0
eth0: negotiated
100baseTx-FD, link ok
------解决方案--------------------我的机器:
administrator@ubuntu:~$ ethtool eth0