Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mellanox ConnectX-2 DUAL SFP card shows up with three interfaces

Featured Replies

I got myself a Mellanox ConnectX-2 Dual SFP+ card. It appears in unraid, but there is one problem.

I get three interfaces from it, and two of them have the same MAC Address. So I am unable to make changes what is eth0, eth1.. etc because of that. 


I get an error saying there is a mac address duplication

 

I guess I need to some how remove eth3 from the interfaces.

Has anyone experienced anything like this?

unraid-nics.JPG

  • Community Expert

Try deleting /config/interface-rules.cfg on your flash drive and then reboot.

  • Author

Thanks for you comment.

 

There is no interface-rules.cfg files there unfortunatly

unraid-boot.png

  • Community Expert

That's odd since it should exist every time there's more than one NIC, delete/rename network.cfg and reboot, note that network settings will revert to defaults.

  • Author

I'll try that

 

But right now the mellanox card is not installed, as I gave up on installing it yesterday, because it made it impossible to use eth0 as my old nic to get internet to my Unraid server

I do have 4port i340 card installed, but it is bounded to pfsense VM, so perhaps thats the reason why i have no interface-rules.cfg

 

Thanks for your help

  • Author
16 hours ago, JorgeB said:

That's odd since it should exist every time there's more than one NIC, delete/rename network.cfg and reboot, note that network settings will revert to defaults.


Hi

 

I'm pretty sure this file is now called "network-rules.cfg"

See mine here:

# PCI device 0x8086:0x15b8 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e0:d5:5e:0d:a9:af", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
--

# PCI device 0x15b3:0x6750 (mlx4_core)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:c9:10:ee:ec", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x15b3:0x6750 (mlx4_core)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:c9:10:ee:ed", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x15b3:0x6750 (mlx4_core)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:c9:10:ee:ed", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

 

I tried deleting the network-rules.cfg and reboot. Did not work, came back like this.
Aslo tried deleting the duplicate line of eth3 and rebooting. Did not work, came back like this

 

Any more ideas?

My diagnostics file is attached

 

edit:
Is it possible that the conflict is that it is sharing an IOMMO group with the PCI bridge?

 

IOMMU group 1:				[8086:1901] 00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
 	[15b3:6750] 01:00.0 Ethernet controller: Mellanox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s] (rev b0)

tower-diagnostics-20210519-0051.zip

Edited by flokason

  • Community Expert
5 hours ago, flokason said:

I'm pretty sure this file is now called "network-rules.cfg"

Always was, my mistake.

 

5 hours ago, flokason said:

Any more ideas?

Nope.

  • Community Expert

The kernel is renaming eth2

 

May 19 00:33:23 Tower kernel: mlx4_en 0000:01:00.0: Activating port:1
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 1: Using 12 TX rings
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 1: Using 8 RX rings
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 1: Initializing port
May 19 00:33:23 Tower kernel: mlx4_en 0000:01:00.0: Activating port:2
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 2: Using 12 TX rings
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 2: Using 8 RX rings
May 19 00:33:23 Tower kernel: mlx4_en: 0000:01:00.0: Port 2: Initializing port
May 19 00:33:23 Tower kernel: mlx4_core 0000:01:00.0 eth3: renamed from eth2

 

6 hours ago, flokason said:

Aslo tried deleting the duplicate line of eth3 and rebooting

Try removing eth2 as its not a valid port as was renamed.

 

 

  • Author

Appears to be working!

I deleted eth2 from the network-rules
 

Thank you so much

 

https://imgur.com/HpiOjBq

 

Now I don't have a multiple MAC address

 

Pretty strange problem though

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.