routing metric

Issues related to configuring your network
Post Reply
rioz
Posts: 13
Joined: 2016/07/18 05:46:29

routing metric

Post by rioz » 2017/06/21 09:13:25

Hi,

I have 2 NICs with 2 default gateways after boot as below. Based on the metric, all internet traffic will go to default dev enp3s0 which doesn't work for me. May I know how to set such that all internet traffic will go to default dev enp0s25 instead?

rioz

Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 enp3s0
default gateway 0.0.0.0 UG 101 0 0 enp0s25

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: routing metric

Post by aks » 2017/06/21 16:29:38

Have a look at http://lartc.org/lartc.html section 4.

Post Reply