[CentOS] Persisting Routes In A Routing Table Other Than The Default

Chris Adams linux at cmadams.net
Tue May 15 18:04:59 UTC 2018


Once upon a time, Adam Tauno Williams <awilliam at whitemice.org> said:
> Rules load automatically via the /etc/sysconfig/network-scripts/rules-
> {interface} files.  Routes added to /etc/sysconfig/network-
> scripts/routes-{interface} are always added to the default policy.

What are you putting in the routes-<if> file?  I just put something
like:

table 200 default via 192.168.41.1 dev eth1

-- 
Chris Adams <linux at cmadams.net>



More information about the CentOS mailing list