linux_wiki:persistent_interface_name

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:persistent_interface_name [2017/05/12 23:40]
billdozor
linux_wiki:persistent_interface_name [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-Persistent network interface names prevent interfaces being renamed from "eth0" to "eth1" upon reboot. Instead, a name based upon BIOS/firmware information can be used if available.+Persistent network interface names prevent interfaces being renamed from "eth0" to "eth1" upon reboot.\\ 
 +Instead, a name based upon BIOS/firmware information can be used if available.
  
 **Checklist** **Checklist**
Line 25: Line 26:
 kernel /vmlinuz-2.6.32-279.22.1.el6.x86_64 ro root=/dev/sda3 biosdevname=1 kernel /vmlinuz-2.6.32-279.22.1.el6.x86_64 ro root=/dev/sda3 biosdevname=1
 </code> </code>
 +
 +Update Grub config
 +  * EL 7<code bash>grub2-mkconfig -o /boot/grub2/grub.cfg</code>
 +  * EL 6: manual changes already made above.
 +
 +  * Ubuntu<code bash>update-grub</code>
 +
 +===== Naming Scheme Preference =====
 +
 +The following preference order is used for biosdevname:
 +  - Firmware/BIOS index numbers for on board devices
 +    - Example: eno2
 +    - Not Available?: Fallback to number 2
 +  - Firmware/BIOS provided PCI Express slot index numbers
 +    - Example: ens2
 +    - Not Available?: Fallback to number 3
 +  - Physical Location of the connector
 +    - Example: enp3s0
 +    - Not Available?: Fallback to number 5
 +  - Interfaces MAC address (not used by default, but can be user selected)
 +    - Example: enx080027e468c1
 +    - Not Available?: Fallback to number 5
 +  - Traditional unpredictable naming
 +    - Example: eth0
  
 ---- ----
  
  • linux_wiki/persistent_interface_name.1494646838.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)