How to set persistent NIC device name with PCI slot via udev in Red Hat Enterpise Linux 7 and later?

Solution Verified - Updated -

Issue

  • Is renaming of network interfaces based on PCI slot numbering supported?
  • Is there any way to unify naming of NICs between platforms?
  • Is there any way to migrate from using net.ifnames=0?

Environment

  • Red Hat Enterprise Linux 7, 8, 9
  • KVM
  • RHV
  • Red Hat OpenStack Platform
  • VMware vSphere

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content