Maximus88 Posted February 12, 2020 Share Posted February 12, 2020 Hi All, I'm wanting to change my default route in Unraid, but obviously using cli it will revert after a restart. I thought that adding a metric would change this but I've tried setting the below metrics and opposing the metrics with no luck. Some background on my interfaces: eth0: bonding = disabled, bridging = enabled, metric = 1 - bond name = br0 eth1: bonding = disabled, bridging = enabled, metric = 2 - bond name = br1 eth2: bonding = disabled, bridging = enabled, metric = 3 - bond name = br2 eth0 is my mobo interface and the others are a pcie dual port card. All interfaces have a static ip. My questions: How can I force my default route gateway to br0 rather than br2? Do metrics actually do anything? Also, how can I isolate my host web access to a single interface? Any help appreciated 🙂 I've tried everything I can think of. Quote Link to comment
jas0r Posted August 2, 2020 Share Posted August 2, 2020 Did you ever get a solution to this? I have the same question. Quote Link to comment
rmp5s Posted August 23, 2020 Share Posted August 23, 2020 On 8/2/2020 at 7:36 AM, jas0r said: Did you ever get a solution to this? I have the same question. Same here. I have 2 routers plugged into my server and it thinks the wrong one is the default route. How do we change it? Quote Link to comment
bobbo489 Posted September 1, 2020 Share Posted September 1, 2020 So I just ran into this issue, again. I have docker set up on 1 network, and the rest of the things in my house set up on another. And somehow, Unraid decided that using BR2 was best to get to the internet....it didn't work. In order to fix the issue I changed the metric for BR2 and associated Eth2 to be 5 and set BR0 and Eth1 to be 1. Now I can reach out to the internet again. Quote Link to comment
ken-ji Posted September 3, 2020 Share Posted September 3, 2020 May I know why you have 3 interfaces on the same subnet? If you have bridging enabled, why not bridge all 3 interfaces together as br0? Quote Link to comment
Maximus88 Posted October 5, 2020 Author Share Posted October 5, 2020 The reason for 3 interfaces on the same subnet was to minimise latency and have some access control of web, docker, and pihole. Each on a different interface. I actually gave up on this idea shortly after my post and since 6.8.3, started using custom br0. Will also be looking at a 10gb adapter in the near future. Quote Link to comment
orlando500 Posted June 21, 2022 Share Posted June 21, 2022 On 10/5/2020 at 10:51 AM, Maximus88 said: The reason for 3 interfaces on the same subnet was to minimise latency and have some access control of web, docker, and pihole. Each on a different interface. I actually gave up on this idea shortly after my post and since 6.8.3, started using custom br0. Will also be looking at a 10gb adapter in the near future. can you show your config and how you are using custom br0? i have a mollex 10gb card and the same issue trying to give different routes 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.