Wimpie Posted June 7, 2022 Share Posted June 7, 2022 Hi, I have a X9SRL-F MB, which has 2 1Gb sockets. I added a dual 10Gb NIC and want to use this as my only network connection, ie put a network cable in one of the 2 10Gb sockets. The 1Gb sockets get no cable. Things I already did: - VM's: virbr0 stopped working, but br2 seems to work. I can acces my VM fine, and it has internet connectivity. - Docker: I managed to get it on br2: " IPv4 custom network on interface br2: Subnet: 192.168.157.0/24 Gateway: 192.168.157.1 DHCP pool: not set". The dockers seems to work (updates not). - Also some fiddling to get my router assign the fixed IP for the server (MAC for 10 Gb is of course different from the MAC address of the 1Gb socket) What does not work: I can't seem to give eth2 a DNS server, this appears to be only possible to eth0 How do I do this? Maybe another solution would be to rename the interfaces. See this I checked and the file "70-persistent-net.rules" also exists on unraid, it contains: # PCI device 0x8086:0x10d3 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:d0:f4:6e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth0" # PCI device 0x8086:0x10d3 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:d0:f4:6f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth1" # PCI device 0x8086:0x151c (ixgbe) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:ac:11:b0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth2" # PCI device 0x8086:0x151c (ixgbe) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:ac:11:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth3" By changing this file to : # PCI device 0x8086:0x10d3 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:d0:f4:6e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth2" # PCI device 0x8086:0x10d3 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:d0:f4:6f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth1" # PCI device 0x8086:0x151c (ixgbe) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:ac:11:b0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth0" # PCI device 0x8086:0x151c (ixgbe) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:ac:11:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KE RNEL=="eth*", NAME="eth3" I think this would also solve my problem. However, how do I change this "70-persistent-net.rules" file so that these changes are preserved across reboots and upgrades (just copy new file over old file would suffice, but how/when in the booting process do I do that)? Can anyone please help so I can update my plugins an dockers again. Another way to fix this is also good for me. Thanks Wim tv-tower-2-diagnostics-20220607-1718.zip Quote Link to comment
Solution JorgeB Posted June 7, 2022 Solution Share Posted June 7, 2022 You can change the eth assignments in the interface rules, set the main NIC as eth0: Reboot required to take effect. 2 Quote Link to comment
Wimpie Posted June 7, 2022 Author Share Posted June 7, 2022 JorgeB, Thanks. That did it. Didn't know it was so simple... 1 Quote Link to comment
Recommended Posts
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.