linux_wiki:persistent_interface_name

This is an old revision of the document!


Persistent Interface Name

General Information

Persistent network interface names prevent interfaces being renamed from “eth0” to “eth1” upon reboot, for example.

Checklist

  • Distro(s): Debian Based or Enterprise Linux

Generate UUID

Generate a UUID for your network interface.

uuidgen <interface>
  • Example:
    uuidgen eth0
    490b4373-17a1-4193-99ed-cf7916ea25bd

Edit network interface config file and add the id.

  • Example
    vim /etc/sysconfig/network-scripts/ifcfg-eth0
    ...other config lines...
     
    UUID=490b4373-17a1-4193-99ed-cf7916ea25bd

  • linux_wiki/persistent_interface_name.1465761415.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)