DuckBrained Posted August 9, 2021 Share Posted August 9, 2021 I'm on the cusp of having everything working as I need, but I'm struggling with a networking anomaly whereby UnRAID (or something network related) is causing the interfaces or routes to swap. I have two ethernet adapters, one is 10Gb which I want to use for shares, and the other is 1Gb which is used by the VMs to access the internet and some audio devices on the network. The reason for two interfaces is due to some weird behaviour detailed here. Anyway, here's my config: All works fine, I run iPerf from my Mac and I get 10Gbit speeds on the 192.168.0.4 address and 100Mbit speeds on the 3.1 address. Great. Except a bit later running the same tests, the speeds have swapped to the other interfaces: This is a real issue as I have DNS mapped to the 0.4 address and basically I just lose the 10Gbit speeds for no apparent reason. Can anyone shed any light on this? Or make any suggestions to changes I should make? The 1Gbit interface needs to be able to access devices on the network as does the 10Gbit interface. This is basically a workaround to a bug, yet now I see another bug... Quote Link to comment
bonienl Posted August 9, 2021 Share Posted August 9, 2021 Remove the default gateway entry from eth1. Only eth0 requires a default gateway. Quote Link to comment
DuckBrained Posted August 9, 2021 Author Share Posted August 9, 2021 OK, I've done that and now I get 1Gb/s on both ports: Connecting to host 192.168.3.1, port 5201 [ 4] local 192.168.0.27 port 55966 connected to 192.168.3.1 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 107 MBytes 899 Mbits/sec Connecting to host 192.168.0.4, port 5201 [ 4] local 192.168.0.27 port 55968 connected to 192.168.0.4 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 108 MBytes 903 Mbits/sec [ 4] 1.00-2.00 sec 105 MBytes 883 Mbits/sec Quote Link to comment
DuckBrained Posted August 10, 2021 Author Share Posted August 10, 2021 I added 0 to the metric for eth1 and now it seems to be working - the test is to see if it's still working in a few hours I guess Thanks for the pointer! Quote Link to comment
DuckBrained Posted August 10, 2021 Author Share Posted August 10, 2021 Well, a short while later, about thirty minutes, and the routes have swapped again. My brain hurts. Quote Link to comment
bonienl Posted August 10, 2021 Share Posted August 10, 2021 Setting metric=0 is not the same thing. eth1 has a wrong default gateway setting, please remove. Quote Link to comment
DuckBrained Posted August 13, 2021 Author Share Posted August 13, 2021 (edited) I did all you said, I only changed the metric after I'd tried removing the gateway like you suggested, the problem persisted in both scenarios. There's no logical reason they should "swap" after a period of time. Bug logged. Meantime I found another solution. Edited August 13, 2021 by DuckBrained 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.