Renaming Process Differences Between Connection Profile Formats

In cases when you need to assign a custom name to an interface, the udev service renaming process works differently depending on the format of the connnection profile. For example,
  • ifcfg format interface renaming process involves these steps:
    1. The /usr/lib/udev/rules.d/60-net.rulesudev rule calls the /lib/udev/rename_device helper utility.
    2. The helper utility searches for the HWADDR parameter in /etc/sysconfig/network-scripts/ifcfg-* files.
    3. If the value set in the variable matches the MAC address of an interface, the helper utility renames the interface to the name set in the DEVICE parameter of the file.
  • keyfile format interface renaming process involves these steps:
    1. To rename an interface, create a systemd link file or a udev rule.

      See Oracle Linux 8: Managing the System With systemd and Oracle Linux 8: Managing System Devices With udev for more information.

    2. In the NetworkManager connection profile, specify the custom name in the interface-name property.