Consistent Network Device Naming
It was created around 2009 to replace the old ethX naming scheme that caused problems on multihomed machines because the network interface controllers (NICs) would be named based on the order in which they were found by the kernel as it booted. Adding new interfaces could cause the previously added ones to change names. An ECR was submitted to the PCI SIG firmware group on how system firmware can provide device naming to operating systems via the ACPI interface.
The new naming scheme is:
- em[1–N] for on-board (embedded) NICs (# matches chassis labels)
- p<slot_number>p<port_number> for cards in PCI slots, ports starting at 1 (not zero)
- NPAR and SR-IOV devices add a suffix of _<vf>, from 0..N depending on the number of Partitions or Virtual Functions exposed on each port
- Other Linux conventions, such as .<vlan> and :<alias> suffixes remain unchanged and are still applicable
Among the first major Linux distributions to adopt the module were Fedora 15 in May 2011 and Red Hat Enterprise Linux version 6.1. It was also released in SUSE Linux Enterprise Server 11 Service Pack 2 in February 2012. The newer Dell PowerEdge and Dell Precision models support the new names.
RHEL Scheme systemd
Red Hat Enterprise Linux 7 introduces a new network naming scheme as part of systemd.
- Onboard interfaces at firmware index numbers eno[1-N]
- Interfaces at PCI Express hotplug slot numbers ens[1-N]
- Adapters in the specified PCI slot, with slot index number on the adapter enp<PCI slot>s<card index no>
- If firmware information is invalid or rules are disabled, use traditional eth[0-N]
- Matt Domsch (October 9, 2009). "Network Device Naming mechanism and policy". LWN. Eklektix, Inc. Retrieved May 27, 2013.
- "Fedora 15 Changing The Network Device Naming Scheme". Digitizer Linux News. January 25, 2011. Retrieved May 27, 2013.
- "Appendix A. Consistent Network Device Naming". Red Hat Enterprise Linux 6 documentation. Retrieved May 27, 2013.
- Sean Michael Kerner (May 20, 2011). "Fedora 15 boosts Linux security". eSecurity Planet. Archived from the original on January 22, 2013. Retrieved May 27, 2013.
- Joe Brockmeier (January 24, 2011). "Breaking a few eggs: Fedora 15 changes network device naming. Fedora 15 pioneering consistent network device naming". Network World.
- Narendra K (July 2012). "Consistent Network Device Naming in Linux" (PDF). Dell Linux Engineering division. Retrieved May 27, 2013.
- "Biosdevname - Consistent Network Device Naming". Retrieved May 27, 2013.
- Matt Domsch and Jordan Hargrave. "Consistent Network Device Naming". Project web site. Fedora. Retrieved May 27, 2013.
- RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition Paperback – 27 Mar 2015 by Asghar Ghori