[CentOS] Gateway question

Wed Aug 10 06:17:53 UTC 2016
Levente Birta <blevi.linux at gmail.com>

On 09/08/2016 23:08, Gordon Messmer wrote:
> On 08/09/2016 11:51 AM, Birta Levente wrote:
>> If I add "#route add default gw dev enp3s0" all is good,
>> but cannot add that in route-iface file or with "ip route" ....
> Are you using the "network" or the "NetworkManager" service to configure
> your network?  I haven't verified that the route-<interface> files are
> supported by NetworkManager.
> If you are using the older "network" service, then you might be getting
> the syntax of the route-<interface> file wrong.  If you included the
> contents of your ifcfg-<interface> and route-<interface> files, we could
> check.

I'm using older network service ... I hate NetworkManager :)
And all that content was included in the original post, but a copy/paste 
is not a problem:

route-enp2s0: dev enp2s0 src table t2
default via dev enp2s0 table t2

route-enp3s0: dev enp3s0 src table t3
default via dev enp3s0 table t3

from table t2
to table t2

from table t3
to table t3