Network probs after adding a 10Gb NIC


Go to solution Solved by JorgeB,

Recommended Posts

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

 

675827071_TV-Tower-2_NetworkSettings-192_168_157_77.thumb.png.69794453416159d52828110e5f5a1bac.png

 

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

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.