May 18, 20215 yr 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?
May 18, 20215 yr Community Expert Try deleting /config/interface-rules.cfg on your flash drive and then reboot.
May 18, 20215 yr Author Thanks for you comment. There is no interface-rules.cfg files there unfortunatly
May 18, 20215 yr 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.
May 18, 20215 yr 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
May 19, 20215 yr 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 May 19, 20215 yr by flokason
May 19, 20215 yr 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.
May 19, 20215 yr 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.
May 19, 20215 yr 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.