[CentOS] C5: correct place for routing scripts?

Thu Apr 29 12:59:03 UTC 2010
Kimmo Koivisto <koippa at gmail.com>

2010/4/29 James Hogarth <james.hogarth at gmail.com>:
> For static routes on a Centos/Redhat box you can use
> /etc/sysconfig/network-scripts/route-ethX
> Example syntax for file:
> via
> via
> via
> Can't say I've ever had to set up static arp caches/values....
> James

Thanks for your answer.

I am looking for a bit different thing here. Those are normal
destination based routes, I have source routing (and other routing
based on rules), for example:

ip rule add from to table EXAMPLE
ip route add default via dev eth0 table EXAMPLE
ip route flush cache