[CentOS] Persisting iproute2 routes and rules

Sun Sep 13 04:11:34 UTC 2009
Barry Brimer <lists at brimer.org>

>>> I have defined a few routes and rules with:
>>>
>>> ip route add ...
>>> ip rule add ...
>
> but how do you add
>
>    ip rule ...

/etc/syscontfig/network-scripts/rule-ethX
/etc/syscontfig/network-scripts/route-ethX

Check out /etc/sysconfig/network-scripts/ifup-routes to see exactly how 
things are processed.

Barry