[CentOS] Multiple Internet facing Nics - Gateway issue

Fri Jul 3 08:39:50 UTC 2009
Lorenzo Quatrini <lorenzo.quatrini at gmail.com>

John R Pierce ha scritto:
> 
> i dunno, i would sort of assume the -local functions are for the 
> localhost interface (/dev/lo), and the idea of having system specific 
> config files in /sbin/ is somewhat abhorrant.

I agree!
> 
> in fact, upon some digging, it looks like you put RULES in 
> /etc/sysconfig/network-scripts/rule-ethX and ROUTES in 
> /etc/sysconfig/network-scripts/route-ethX
> 
> the lines in the rule-* file are run prefixed by `ip rule add` while the 
> lines in the route-* file are prefixed by `ip route add` on an interface 
> 'up' event, and on the corresponding 'down' event, they are prefixed by 
> ip {route|rule} del ....

So does anyone have a clue on which is the syntax for creating complex routes
and rules using route-* and rule-*?