Jump to content
Maximus88

Default routes and metrics

2 posts in this topic Last Reply

Recommended Posts

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.

Screen Shot 2020-02-12 at 5.52.03 PM.png

Share this post


Link to post

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.