Consistent Network Device Naming: Difference between revisions

Content deleted Content added
udev does not require systemd, and sources don't mention systemd.
Toddinsb (talk | contribs)
This section is no longer valid for current Linux distros and I believe only applied to Fedora 15 and RHEL 6
Line 2:
 
It was created around 2009 to replace the old {{Mono|ethX}} naming scheme that caused problems on [[Multihoming|multihomed]] machines because the [[network interface controller]]s (NICs) would be named based on the order in which they were found by the kernel as it booted. Removing existing or adding new interfaces could cause the previously added ones to change names.<ref>{{Cite web |title= Network Device Naming mechanism and policy |date= October 9, 2009 |author= Matt Domsch |work= LWN |publisher= Eklektix, Inc |url= https://lwn.net/Articles/356900/ |accessdate= May 27, 2013 }}</ref> 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.<ref>{{Cite web |url=https://pcisig.com/sites/default/files/specification_documents/ECR_Slot_Naming-10.pdf |title=Archived copy |access-date=2017-02-22 |archive-url=https://web.archive.org/web/20170106042937/https://pcisig.com/sites/default/files/specification_documents/ECR_Slot_Naming-10.pdf |archive-date=2017-01-06 |url-status=dead }}</ref>
 
==Scheme (Biosdevname)==
The new naming scheme is:<ref name="digit" />
 
* {{Mono|em[''1–N'']}} for on-board (embedded) NICs (# matches chassis labels)
* {{Mono|p<''slot_number''>p<''port_number''>}} for cards in [[Peripheral Component Interconnect|PCI]] slots, ports starting at 1 (not zero)
* {{Mono|NPAR}} and {{Mono|SR-IOV}} devices add a suffix of {{Mono|_<vf>}}, from 0..N depending on the number of Partitions or Virtual Functions exposed on each port
* Other Linux conventions, such as {{Mono|.<vlan>}} and {{Mono|:<alias>}} suffixes remain unchanged and are still applicable<ref name="red">{{Cite web |url= http://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/appe-Consistent_Network_Device_Naming.html |work= Red Hat Enterprise Linux 6 documentation |title= Appendix A. Consistent Network Device Naming |accessdate= May 27, 2013 }}</ref>
 
==Adoption==