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
routing metric
Re: routing metric
Have a look at http://lartc.org/lartc.html section 4.