linux – 为什么ethtool没有向我显示NIC的所有属性?

前端之家收集整理的这篇文章主要介绍了linux – 为什么ethtool没有向我显示NIC的所有属性?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
CentOS 5.8 | VMWare ESX 5.1

当我运行ethtool eth0时,我看到以下内容

[root@foo ~]# ethtool eth0
Settings for eth0:
         Current message level: 0x00000007 (7)
         Link detected: yes

有没有办法得到其余的细节?特别是速度和双工?我习惯于ethtool输出更冗长.例如:

# 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: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

我想知道这是否与在VMWare平台上运行有关? ESX中的当前适配器类型为“灵活”,并且服务器上未安装VMWare工具.

解决方法

我想它没有报告任何PHY设置,因为没有任何,没有链接模式,没有autoneg,没有固定的速度,没有端口或布线类型,没有收发器等使用paravirtual驱动程序时
原文链接:https://www.f2er.com/linux/398282.html

猜你在找的Linux相关文章