Difference between revisions of "Consistent Network Device Naming"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming
 
https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming
  
* <code>[[eno]]#</code>
+
* <code>[[eno]]#</code> on board
 
* <code>[[ens]]#</code>, 10 [[Gbps]]
 
* <code>[[ens]]#</code>, 10 [[Gbps]]
* [[eth]]
+
* <code>[[enp]]</code>, [[PCI]]
 +
* <code>[[eth]]#</code>
 +
* <code>[[veth]]</code>
 +
* <code>[[tun]]#</code>
 +
* <code>[[virbr0]]</code>
 +
* <code>[[virbr0-nic]]</code>
 +
* <code>[[macvtap]]#</code>
 +
* tg3
 +
* [[docker0]]
 +
* [[wlan0]]
 +
 
  
 
Examples:
 
Examples:
 
* <code>ens3f0</code>
 
* <code>ens3f0</code>
 
* <code>ens3f1</code>
 
* <code>ens3f1</code>
 
+
* <code>enx0t6b8f279a99</code> (<code>[[cdc_ether]]</code>)
  
 
==Device naming rules==
 
==Device naming rules==
Line 14: Line 24:
 
* Onboard interfaces at firmware index numbers eno[1-N]
 
* Onboard interfaces at firmware index numbers eno[1-N]
 
* Interfaces at PCI Express hotplug slot numbers ens[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 {{Mono|enp<''PCI slot''>s<''card index no''>}}
+
* Adapters in the specified [[PCI]] slot, with slot index number on the adapter <code>enp<''PCI slot''>s<''card index no''></code>
* If firmware information is invalid or rules are disabled, use traditional {{Mono|eth[0-N]}}<ref>
+
* If firmware information is invalid or rules are disabled, use traditional eth[0-N]<ref>
 
RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition Paperback – 27 Mar 2015
 
RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition Paperback – 27 Mar 2015
 
by Asghar Ghori </ref>
 
by Asghar Ghori </ref>
Line 25: Line 35:
 
* [[macOS]]: <code>[[networksetup -listnetworkserviceorder]]</code>
 
* [[macOS]]: <code>[[networksetup -listnetworkserviceorder]]</code>
 
* [[udev]]
 
* [[udev]]
* [[/sys/class/net/]]
+
* <code>[[/sys/class/net/]]</code>
  
 
== See also ==
 
== See also ==
 
* {{KVM networking}}
 
* {{KVM networking}}
 
* {{Linux Kernel}}
 
* {{Linux Kernel}}
 +
* {{Linux networking}}
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 07:01, 18 October 2021

https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming


Examples:

Device naming rules[edit]

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

Related terms[edit]

See also[edit]

  • RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition Paperback – 27 Mar 2015 by Asghar Ghori
  • Advertising: