MAC address to physical network card
by Jason.nix from LinuxQuestions.org on (#6EP9B)
Hello,
My Linux box has two NICs:
Code:# ifconfig
enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:febc:c5a7 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:bc:c5:a7 txqueuelen 1000 (Ethernet)
RX packets 615 bytes 154476 (150.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 384 bytes 125712 (122.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:fee5:267c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:e5:26:7c txqueuelen 1000 (Ethernet)
RX packets 613 bytes 153792 (150.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 386 bytes 126396 (123.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 44309 bytes 265369512 (253.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44309 bytes 265369512 (253.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0And its hardware is as follows:
Code:# lspci
...
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
...Is 00:08.0 related to enp0s8 and 00:09.0 related to enp0s9?
Thank you.
My Linux box has two NICs:
Code:# ifconfig
enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:febc:c5a7 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:bc:c5:a7 txqueuelen 1000 (Ethernet)
RX packets 615 bytes 154476 (150.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 384 bytes 125712 (122.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:fee5:267c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:e5:26:7c txqueuelen 1000 (Ethernet)
RX packets 613 bytes 153792 (150.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 386 bytes 126396 (123.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 44309 bytes 265369512 (253.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44309 bytes 265369512 (253.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0And its hardware is as follows:
Code:# lspci
...
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
...Is 00:08.0 related to enp0s8 and 00:09.0 related to enp0s9?
Thank you.