Linux networking

Published: Monday, 13 July 2020

Network Interface Names

A list of network interfaces can be found in /sys/class/net/

Naming Scheme

Traditionally eth0, eth1 and so on were used for ethernet interface names. This led to issues as names could change when hardware configuration was changed.

systemd/udev

systemd/udev will assign persistent, predictable network interface names that are guaranteed to remain the same when hardware is added or removed.

Examples network interface names are

  • eno1 for an on-board NIC.
  • enp0s3 and enp0s8 for PCI NICs.

References

Linux networking