리눅스 이더넷 카드 모델명 확인

리눅스 랜카드 장치 모델명 확인
리눅스 이더넷 모델명, 벤더 확인
리눅스 NIC 카드 모델 확인
  • VM이 아니고, 인터페이스가 PCI인 경우에만 가능

1 모델명 확인[ | ]

[root@localhost ~]# lspci | grep -i Ethernet
04:00.0 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
04:00.1 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
04:00.2 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
04:00.3 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
0b:00.0 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
0b:00.1 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
11:00.0 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
11:00.1 Ethernet controller: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter (rev 42)
71:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
71:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
7a:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
7a:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
→ PCI 이더넷 장치가 12개 있다.
  • 상세 보기 ( -m 옵션 )
[root@localhost ~]# lspci -m | grep -i Ethernet
04:00.0 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC375i Integrated Quad Port Multifunction Gigabit Server Adapter"
04:00.1 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC375i Integrated Quad Port Multifunction Gigabit Server Adapter"
04:00.2 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC375i Integrated Quad Port Multifunction Gigabit Server Adapter"
04:00.3 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC375i Integrated Quad Port Multifunction Gigabit Server Adapter"
0b:00.0 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC522SFP Dual Port 10GbE Server Adapter"
0b:00.1 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC522SFP Dual Port 10GbE Server Adapter"
11:00.0 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC522SFP Dual Port 10GbE Server Adapter"
11:00.1 "Ethernet controller" "NetXen Incorporated" "NX3031 Multifunction 1/10-Gigabit Server Adapter" -r42 "Hewlett-Packard Company" "NC522SFP Dual Port 10GbE Server Adapter"
71:00.0 "Ethernet controller" "Intel Corporation" "82571EB Gigabit Ethernet Controller" -r06 "Hewlett-Packard Company" "NC360T PCI Express Dual Port Gigabit Server Adapter"
71:00.1 "Ethernet controller" "Intel Corporation" "82571EB Gigabit Ethernet Controller" -r06 "Hewlett-Packard Company" "NC360T PCI Express Dual Port Gigabit Server Adapter"
7a:00.0 "Ethernet controller" "Intel Corporation" "82571EB Gigabit Ethernet Controller" -r06 "Hewlett-Packard Company" "NC360T PCI Express Dual Port Gigabit Server Adapter"
7a:00.1 "Ethernet controller" "Intel Corporation" "82571EB Gigabit Ethernet Controller" -r06 "Hewlett-Packard Company" "NC360T PCI Express Dual Port Gigabit Server Adapter"

2 벤더 목록 뽑기[ | ]

lspci -m | grep -i Ethernet | while read line
do
	echo $line | awk '{split($0,a,"\""); print a[8]}'
done
[root@localhost ~]# /sbin/lspci -m | grep -i Ethernet | while read line; do echo $line | awk '{split($0,a,"\"); print a[8]}'; done
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company
Hewlett-Packard Company

3 서브시스템명 뽑기[ | ]

lspci -m | grep -i Ethernet | while read line
do
	echo $line | awk '{split($0,a,"\""); print a[10]}'
done
[root@localhost ~]# lspci -m | grep -i Ethernet | while read line; do echo $line | awk '{split(0,a,"\""); print a[10]}'; done
NC375i Integrated Quad Port Multifunction Gigabit Server Adapter
NC375i Integrated Quad Port Multifunction Gigabit Server Adapter
NC375i Integrated Quad Port Multifunction Gigabit Server Adapter
NC375i Integrated Quad Port Multifunction Gigabit Server Adapter
NC522SFP Dual Port 10GbE Server Adapter
NC522SFP Dual Port 10GbE Server Adapter
NC522SFP Dual Port 10GbE Server Adapter
NC522SFP Dual Port 10GbE Server Adapter
NC360T PCI Express Dual Port Gigabit Server Adapter
NC360T PCI Express Dual Port Gigabit Server Adapter
NC360T PCI Express Dual Port Gigabit Server Adapter
NC360T PCI Express Dual Port Gigabit Server Adapter

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}