问题:RHEL服务器,有双网卡(只用了一根网线),安装系统时手动配置仅使用eth0,使用静态IP。换网卡接口后可检测到IP,但无法连网。别人不知情。

一、mii-tool工具

#mii-tool eth0
eth0: no link

 

二、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 pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: no

 

三、service network status 查看活跃设备

# service network status
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth1

 

posted on 2013-02-25 13:36  lihezx  阅读(578)  评论(0)    收藏  举报