Differences
This shows you the differences between two versions of the page.
linux_wiki:persistent_interface_name [2018/03/06 10:03] billdozor [Enable BIOS Device Names] |
linux_wiki:persistent_interface_name [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Persistent Interface Name ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | Persistent network interface names prevent interfaces being renamed from " | ||
- | Instead, a name based upon BIOS/ | ||
- | |||
- | **Checklist** | ||
- | * Distro(s): Debian Based or Enterprise Linux | ||
- | |||
- | ---- | ||
- | |||
- | ====== Enable BIOS Device Names ====== | ||
- | |||
- | Install biosdevname< | ||
- | |||
- | Enable biosdevname as a parameter passed to the kernel | ||
- | * EL7<code bash>vim / | ||
- | |||
- | # Add to GRUB_CMDLINE_LINUX values | ||
- | GRUB_CMDLINE_LINUX=" | ||
- | </ | ||
- | * EL6<code bash>vim / | ||
- | |||
- | # Append biosdevname=1 to all kernel lines. Example: | ||
- | kernel / | ||
- | </ | ||
- | |||
- | Update Grub config | ||
- | * EL 6: manual changes already made above. | ||
- | |||
- | * EL 7<code bash> | ||
- | * Ubuntu< | ||
- | |||
- | ===== Naming Scheme Preference ===== | ||
- | |||
- | The following preference order is used for biosdevname: | ||
- | - Firmware/ | ||
- | - Example: eno2 | ||
- | - Not Available?: Fallback to number 2 | ||
- | - Firmware/ | ||
- | - 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 | ||
- | |||
- | ---- | ||