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.

UnRAID swapping interfaces? Network anomaly.

Featured Replies

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:

 

467261841_Screenshot2021-08-09at20_59_01.thumb.png.da5c96f656b8aed4b3154285cdef775b.png1873904221_Screenshot2021-08-09at20_59_08.thumb.png.8398cb255506ff83aa7f7ede65c7604a.png

 

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:

 

1753622511_Screenshot2021-08-09at20_59_22.png.5c761d6088548c19c1a039a23f712b76.png

 

1668888107_Screenshot2021-08-09at20_59_28.png.57295ba2f1ee4db756df838bcae4a6d7.png

 

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...

Remove the default gateway entry from eth1.

Only eth0 requires a default gateway.

 

  • Author

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

 

  • Author

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!

  • Author

Well, a short while later, about thirty minutes, and the routes have swapped again. My brain hurts.

Setting metric=0 is not the same thing.

eth1 has a wrong default gateway setting, please remove.

 

  • Author

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 by DuckBrained

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...

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.