From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Predictable network interface names

Predictable network interface names - Linux Tutorial

From the course: Linux Tips

Predictable network interface names

- [Instructor] On many Linux systems the name of the network adaptor can seem somewhat random. We can find out the name of the interface with the IP address command, but when we switch between the laptop to a desktop to a cloud host to a local virtual machine, what we think of as the primary network interface is different in each of them even on the same disk drive. So what's going on? Why are the names for network interfaces different in different places? Perhaps ironically the answer is a standard called predictable interface names. But if you don't know what's going on beneath the surface these names can seem anything but predictable. This system sets the name of the network interface based on information available to the system about the hardware including whether the network adaptor is onboard or is attached via a different bus, which slot it's using, and so on. And so for each adaptor in the system, the name becomes predictable based on how the device is attached. If you move…

Contents