RHEL8: Cisco VIC 1225 PCIe Ethernet NIC network interfaces are not renamed properly

Solution Verified - Updated -

Issue

  • On my system having Cisco VIC 1225 PCIe Ethernet NIC network interfaces, one virtual interface is renamed into ensX while the others remain listed as ethY

    # ls -l /sys/class/net
    [...]
    [...] ens4 -> ../../devices/pci0000:80/.../0000:84:00.0/0000:85:00.0/0000:86:00.0/net/ens4
    [...] eth1 -> ../../devices/pci0000:80/.../0000:84:00.0/0000:85:01.0/0000:87:00.0/net/eth1
    [...] eth2 -> ../../devices/pci0000:80/.../0000:84:00.0/0000:85:02.0/0000:88:00.0/net/eth2
    [...] eth3 -> ../../devices/pci0000:80/.../0000:84:00.0/0000:85:03.0/0000:89:00.0/net/eth3
    [...]
    
    # lspci -tv
    [...]
     +-[0000:80]-+-00.0-[81]--
     |           +-02.0-[82-89]----...----00.0-[85-89]--+-00.0-[86]----00.0  Cisco Systems Inc VIC Ethernet NIC
     |           |                                      +-01.0-[87]----00.0  Cisco Systems Inc VIC Ethernet NIC
     |           |                                      +-02.0-[88]----00.0  Cisco Systems Inc VIC Ethernet NIC
     |           |                                      \-03.0-[89]----00.0  Cisco Systems Inc VIC Ethernet NIC
    [...]
    
  • A similar system installed with RHEL 7 has the proper naming enpXsY

Environment

  • Red Hat Enterprise Linux 8 (RHEL 8)
    • Cisco Systems Inc VIC Ethernet NIC
    • udev

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