Content deleted Content added
adding TOC |
Brainflakes1 (talk | contribs) Link suggestions feature: 3 links added. Tags: Visual edit Mobile edit Mobile web edit Newcomer task Suggested: add links |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Convention for naming Ethernet adapters in Linux}}
'''Consistent Network Device Naming''' is a convention for naming [[Ethernet adapter]]s in [[Linux]].
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
__TOC__
Line 8 ⟶ 9:
The convention was implemented for [[Dell]] in a module called {{Mono|biosdevname}}.<ref name="digit">{{Cite web |title= Fedora 15 Changing The Network Device Naming Scheme |work= Digitizer Linux News |url= http://digitizor.com/2011/01/25/fedora-15-network-device-naming/ |date= January 25, 2011 |accessdate= May 27, 2013 }}</ref>
Among the first major [[Linux distribution]]s to adopt the module were [[List of Fedora versions#Fedora 15|Fedora 15]] in May 2011<ref name="esecurityplanet">{{Cite web |title= Fedora 15 boosts Linux security |url= http://www.esecurityplanet.com/news/article.php/3934151/Fedora-15-Boosts-Linux-Security.html/ |work= eSecurity Planet |author= Sean Michael Kerner |date= May 20, 2011 |accessdate= May 27, 2013 |url-status= dead |archiveurl= https://archive.
An [[open-source license|open-source]] implementation is available, based on the [[udev]] mechanism.<ref>{{Cite web |title= Biosdevname - Consistent Network Device Naming |url= http://linux.dell.com/biosdevname/ |accessdate= May 27, 2013 }}</ref><ref>{{Cite web |title= Consistent Network Device Naming |work= Project web site |publisher= Fedora |url= https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming |author= Matt Domsch
==Device naming rules==
* Onboard interfaces at firmware index numbers {{Mono|eno[1-N]}}
* Interfaces at [[PCI Express]] hotplug slot numbers {{Mono|ens[1-N]}}
* Adapters in the specified PCI slot, with slot index number on the adapter {{Mono|enp<''PCI slot''>s<''card index no''>}}
* If firmware information is invalid or rules are disabled, use traditional {{Mono|eth[0-N]}}<ref>
|