Table of Contents

Physical NICs - How to Check the Physical NICs Info in Linux



Check Physical NICs

[root@localhost ~]# ifconfig -a

if a single -a argument is given, it displays the status of all interfaces, even those that are down.


Check NIC Vendor

dmesg

[root@localhost ~]# dmesg |grep -Ei "net|eth"
[root@localhost ~]# dmesg |grep eth
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
8021q: adding VLAN 0 to HW filter on device eth0
ADDRCONF(NETDEV_UP): eth0: link is not ready
e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
8021q: adding VLAN 0 to HW filter on device eth1
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: IPv6 duplicate address detected!
eth0: no IPv6 routers present
[root@localhost ~]# 


lspci

[root@localhost ~]# lspci |grep -Ei "net|eth"
[root@localhost ~]# lspci | grep -i ether
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
0b:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)