请输入您要查询的百科知识:

 

词条 Consistent Network Device Naming
释义

  1. Scheme (Biosdevname)

  2. Adoption

  3. RHEL Scheme systemd

  4. References

Consistent Network Device Naming is a convention for naming Ethernet adapters in Linux.

It was created around 2009 to replace the old {{Mono|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. Removing existing or adding new interfaces could cause the previously added ones to change names.[1] 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.[2]

Scheme (Biosdevname)

The new naming scheme is:[3]

  • {{Mono|em[1–N]}} for on-board (embedded) NICs (# matches chassis labels)
  • {{Mono|p<slot_number>p<port_number>}} for cards in PCI slots, ports starting at 1 (not zero)
  • {{Mono|NPAR}} and {{Mono|SR-IOV}} devices add a suffix of {{Mono|_}}, from 0..N depending on the number of Partitions or Virtual Functions exposed on each port
  • Other Linux conventions, such as {{Mono|.}} and {{Mono|:}} suffixes remain unchanged and are still applicable[3]

Adoption

The convention was implemented for Dell in a module called {{Mono|biosdevname}}.[4]

Among the first major Linux distributions to adopt the module were Fedora 15 in May 2011[5][6] and Red Hat Enterprise Linux version 6.1.[3][7] It was also released in SUSE Linux Enterprise Server 11 Service Pack 2 in February 2012.[7] The newer Dell PowerEdge and Dell Precision models support the new names.[7]

An open-source implementation is available, based on the udev mechanism now present in systemd.[8][9]

RHEL Scheme systemd

Red Hat Enterprise Linux 7 introduces a new network naming scheme as part of systemd.[10]

  • 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]}}[11]

References

1. ^{{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 }}
2. ^https://pcisig.com/sites/default/files/specification_documents/ECR_Slot_Naming-10.pdf
3. ^{{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 }}
4. ^{{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 }}
5. ^{{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 |deadurl= yes |archiveurl= https://archive.is/20130122231054/http://www.esecurityplanet.com/news/article.php/3934151/Fedora-15-Boosts-Linux-Security.html/ |archivedate= January 22, 2013 |df= }}
6. ^{{Cite news |author= Joe Brockmeier |title= Breaking a few eggs: Fedora 15 changes network device naming. Fedora 15 pioneering consistent network device naming |work= Network World |date= January 24, 2011 |url= http://www.networkworld.com/community/fedora-15-changes-network-device-naming }}
7. ^{{Cite web |url= http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf |date= July 2012 |author= Narendra K |title= Consistent Network Device Naming in Linux |publisher= Dell Linux Engineering division |accessdate= May 27, 2013 }}
8. ^{{Cite web |title= Biosdevname - Consistent Network Device Naming |url= http://linux.dell.com/biosdevname/ |accessdate= May 27, 2013 }}
9. ^{{Cite web |title= Consistent Network Device Naming |work= Project web site |publisher= Fedora |url= https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming |author= Matt Domsch and Jordan Hargrave |accessdate= May 27, 2013 }}
10. ^http://en.community.dell.com/techcenter/b/techcenter/archive/2014/08/07/understanding-network-persistent-device-naming-in-red-hat-enterprise-linux-7 {{dead link|date=January 2019}}
11. ^RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition Paperback – 27 Mar 2015by Asghar Ghori

2 : Ethernet|Linux drivers

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 14:51:47