IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Linux:网卡的物理连接状态

    Adamhuan发表于 2017-04-13 08:30:00
    love 0

    查看网卡的物理连接状态,可以通过【ethtool】。

    具体如下:

    [root@ora11gdg1 ~]# service network status
    Configured devices:
    lo eth0
    Currently active devices:
    lo eth0
    [root@ora11gdg1 ~]# 
    [root@ora11gdg1 ~]# 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 pause frame use: No
            Advertised auto-negotiation: Yes
            Speed: 1000Mb/s
            Duplex: Full
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            MDI-X: Unknown
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000007 (7)
            Link detected: yes
    [root@ora11gdg1 ~]#

    可以看到:
    Link detected: yes

    物理连接正常。

    ————————————————
    Done。



沪ICP备19023445号-2号
友情链接