[CentOS] Gateway question

Tue Aug 9 19:03:33 UTC 2016
John R Pierce <pierce at hogranch.com>

On 8/9/2016 11:42 AM, Birta Levente wrote:
> So, again:
> Centos 7
> 2 NICs
> enp2s0-
> enp3s0-
> default gateway on enp2s0 is, defined in 
> /etc/sysconfig/network
> Which other way (preferred with "ip route") can I add this, but:
> #route add default gw dev enp3s0 

those are both the same network, and the default gateway is a global 
thing.  packets forwarded to could use either 
or .13, as they are all the same.  in reality, they will use the first 
match they find.

john r pierce, recycling bits in santa cruz