|
Exercise: Physical layer - NIC naming
The old traditional naming convention for NICs: eth0, eth1, eth2, ...
Now systemd assigns names based on PCI slot address.
On the desktop, check available network interfaces:
You should see enp4s0, lo, virbr0, virbr0-nic, vnet0, vnet1, vnet2.
The ethernet interface is named enp4s0.
Where en stands for Ethernet, and p4s0 for the PCI slot address.
Run command lspci to see the PCI devices for the Ethernet:
The PCI naming means domain:bus:slot.function.
Usually domain=0 and is not present in the output.
We see bus=04, slot=00, function=0
The NIC name follows the PCI device location.
Get the info for PCI slot 04:00.0
It shows:
The network interfaces with the parameters assigned can be viewed by command
|
|