現今Server動不動就是兩張網卡以上,如何判別哪張網卡為eth0或是eth1呢,以下有兩個方式可以查出!
#ethtool -p eth1 30
使用此指令命令eth1閃燈30秒
#mii-tool
[root]# mii-tool
SIOCGMIIREG on eth0 failed: Input/output error
eth0: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIREG on eth1 failed: Input/output error
eth1: no link
從此可看出eth0目前是有Link上的,eth1無連線。
2011年8月1日 星期一
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言