January 6, 20251 yr My 10Gbps network card keeps switching between eth0 and eth1 between reboots. Is there a way to enable predictable network interfaces names (the ensXXXXX names instead of the legacy ethX ones) with Unraid, like what other Linux distros do by default? Edited January 6, 20251 yr by Daniel15
January 6, 20251 yr Author Solution I figured out that there's an "Interface Rules" section in the network config that can bind particular interfaces to particular names, but it only appears if there's multiple NICs in the system. The two onboard NICs were bound to VFIO, so there was only one NIC in use with Unraid, and so I didn't see this section. I was able to unbind the two in-built NICs from VFIO via "System Devices", reboot, update the Interface Rules to set the 10Gbps NIC's MAC to "eth1", re-bind the built-in NICs to VFIO, reboot again, and the 10Gbps NIC remained as eth1 on the next reboot. I'll see if it works long-term.
January 6, 20251 yr Community Expert 6 hours ago, Daniel15 said: I figured out that there's an "Interface Rules" section in the network config that can bind particular interfaces to particular names, but it only appears if there's multiple NICs in the system. The two onboard NICs were bound to VFIO, so there was only one NIC in use with Unraid, and so I didn't see this section. I was able to unbind the two in-built NICs from VFIO via "System Devices", reboot, update the Interface Rules to set the 10Gbps NIC's MAC to "eth1", re-bind the built-in NICs to VFIO, reboot again, and the 10Gbps NIC remained as eth1 on the next reboot. I'll see if it works long-term. with unriad 7 this can be accomplished with a udev rule and the nics mac address.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.