Consistent Network Device Naming

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

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

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.[1]

Scheme

The new naming scheme is:[2]

  • 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[3]

Adoption

The convention was implemented for Dell in a module called biosdevname.[2]

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

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

References

<templatestyles src="Reflist/styles.css" />

Cite error: Invalid <references> tag; parameter "group" is allowed only.

Use <references />, or <references group="..." />
  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 Lua error in package.lua at line 80: module 'strict' not found.
  3. 3.0 3.1 Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. 6.0 6.1 6.2 Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.