Network Interface Renaming between MOFED 4.9.3.1.5.0 and MODEF 5.4

Installing MOFED 4.9.3.1.5.0 renames interfaces from eth0/eth1 to enp1s0f0 and enp1s0f1. However, when using MOFED 5.4 it renames the same interfaces to enp1s0f1np0 and enp1s0f1np1. Why this change, and is there a way for me to control that?

Hello Larry,

Thank you for posting your inquiry on the NVIDIA Networking Community.

As of MLNX_OFED 5.4, the following customer affected changes were made → https://docs.mellanox.com/display/MLNXOFEDv541030/Changes+and+New+Features#ChangesandNewFeatures-CustomerAffectingChanges

udev Rules:

As of version 5.4, the driver is set so that udev rules will change the names of network interfaces created from NVIDIA adapters.

The udev rules are shipped to "

/lib/udev/rules.d"

and may be overridden by placing a file with the same name in "

/etc/udev/rules.d"

.

Example:

/etc/udev/rules.d/82-net-setup-link.rules

You can find more information regarding to persistent naming through the following link → https://docs.mellanox.com/display/MLNXOFEDv541030/Ethernet+Interface#EthernetInterface-PersistentNamingPersistentNaming

Thank you and regards,

~NVIDIA Networking Technical Support

Perfect answer with one exception Martijn. I’m wondering how to restore the previous naming convention for the purposes of consistency in the cluster for people attempting or have been utilizing the previous naming convention as a part of the OMPI command lines?