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