Skip to content

Linux networking

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

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 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.