Jump to content

Cannot set Mellanox card to eth0 - does not show up in Interface List


Recommended Posts

There are many posts saying to move the MAC address of an eth3 or similar to eth0 to get the DNS settings and features of eth0. For example, I have my Mellanox 10G-SFP card connected via DAC and working over 10G link, pulling an IP with no issue in unRAID. It's marked as eth4, and when it is connected while eth0 is not (1GBE), DNS issues occur, because unRAID does not allow eth4 to get the DNS server from the DHCP server.

 

No problem. Re-assign eth4's MAC to eth0 in the Interface List, I've read 20 posts about that subject. No one I've found has this issue, however: The Mellanox card simply does not exist in the Interface List despite being in the Network Settings.

 

Take a look at the attached image - it shows Interface eth0, eth1, eth2, and eth3, which are all onboard NICs and all 1GBE. eth4 is nowhere to be found despite being directly above that section, and working, to boot.

 

At the moment I either have to set the DNS server by manually editing the /etc/resolv.conf file every boot by adding nameservers 172.16.0.1 to the file, or keep eth0 connected with 1GBE along with eth4 connected via 10G-SFP, which causes Fix Common Issues plugin to yell about how two NICs should not be on the same subnet (which is true).

 

Furthermore, on booting with just eth4 plugged in, the unRAID console says that IPv4 address is not set, even though it definitely is by DHCP (another artifact of not having eth0 up, I'm sure).

 

Any resolution to get this to show up?

 

EDIT: The card is indeed a Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3], but the mode is set properly to ethernet mode (eth), not infiniband mode (IB) as evidenced by the following command's output:

 

root@Tower:~# cat /sys/bus/pci/devices/0000\:07\:00.0/mlx4_port1
eth

 

mellanox-list.PNG

tower-diagnostics-20220711-2134.zip

Edited by Kyle Boddy
diagnostics attached
Link to comment

I suppose this topic is relevant:
 

However, multiple people still seem to have a related issue. Are there fixes in the RC branch available? Any idea what the known regression is? I cannot downgrade as I only started on the recent production version of unRAID, so this is a relatively important issue for me. Thanks.

 

Link to comment
  • 2 weeks later...

I successfully was able to bind eth2-4 to vfio-pci which removed them from unRAID. However, the Mellanox card still does not show up in the Interface Rules list, as shown by the images attached.

 

I have also attached anonymized Diagnostics. Can someone please look into this or advise me to file a bug ticket? I can try binding the last 1G ethernet port to vfio-pci and rebooting and seeing what happens, but I doubt that would fix the problem.

 

ifconfig on the command line clearly shows eth1 = Mellanox card, and when it isn't bridged to br1, it gets the same IP (static IP set from the router of 172.16.0.124).


Thanks for reviewing. This seems like a pretty serious bug.

 

@JorgeB @bonienl

eth0.PNG

eth1.PNG

ifconfig.PNG

iommu.PNG

tower-diagnostics-20220731-1837.zip

Link to comment
6 hours ago, Kyle Boddy said:

However, the Mellanox card still does not show up in the Interface Rules list, as shown by the images attached.

I expected as much, but it was worth trying.

 

6 hours ago, Kyle Boddy said:

This seems like a pretty serious bug.

It's not a general bug, I and many other users have the same Mellanox NIC and it's detected without any issues, the question is why it's not working for you, maybe @bonienlwill have and idea.

Link to comment
  • 5 months later...

Not sure if you ended up resolving this, it's certainly been a few months, but I thought that on the offchance folks like me find this while searching for a solution, this post helped me:

 

Basically, had to nuke the existing network config files and then reboot. My Mellanox NIC then showed up in the "Interface Rules" list.

 

If you've made changes to the behavior of your network settings or the other NICs, you'll need to redo those with this fix. But in my case that wasn't super difficult.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...