您的位置:首页 > 运维架构 > Linux

linux查看网卡个数及速度

2011-09-17 14:17 405 查看
# lspci | grep Ethernet
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
# dmesg |grep eth0
divert: allocating divert_blk for eth0eth0: RealTek RTL8139 at 0xd800, 00:80:48:34:c2:84, IRQ 9eth0:  Identified 8139 chip type 'RTL-8100B/8139D'divert: freeing divert_blk for eth0divert: allocating divert_blk for eth0eth0: RealTek RTL8139 at 0xd800, 00:90:44:34:a5:33, IRQ 9eth0:  Identified 8139 chip type 'RTL-8100B/8139D'eth0: link up, 100Mbps, full-duplex, lpa 0x41E1eth0: no IPv6 routers present...
# mii-tool -v eth0
eth0: negotiated 100baseTx-FD, link okproduct info: vendor 00:00:00, model 0 rev 0basic mode:   autonegotiation enabledbasic status: autonegotiation complete, link okcapabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD10baseT-HD...
# ethtool eth0Settings for eth0:Supported ports: [ TP MII ]Supported link modes:   10baseT/Half 10baseT/Full100baseT/Half 100baseT/FullSupports auto-negotiation: YesAdvertised link modes:  10baseT/Half 10baseT/Full100baseT/Half 100baseT/FullAdvertised auto-negotiation: YesSpeed: 100Mb/sDuplex: FullPort: MIIPHYAD: 32Transceiver: internalAuto-negotiation: onSupports Wake-on: pumbgWake-on: pCurrent message level: 0x00000007 (7)Link detected: yes
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: