On Fri, 2008-07-25 at 19:51 -0500, Chris Adams wrote:
> Also, this can be added via the RH interface scripts by setting files
> like:
> 
> /etc/sysconfig/network-scripts/route-eth0:
> default table 10 via 120.207.10.1 dev eth0
> 
> /etc/sysconfig/network-scripts/route-eth2:
> default table 10 via 120.207.17.1 dev eth2
> 
> /etc/sysconfig/network-scripts/rule-eth0:
> from 120.207.7.245/32 table 10
> 
> /etc/sysconfig/network-scripts/rule-eth2:
> from 120.207.17.22/32 table 20
> 
> Then the standard ifup/ifdown scripts should initialize the policy
> routing.

Hey, thanks for this.  I always knew there had to be a "Redhat way" to
do this but just never took the time to try to figure it out.  I've been
putting the policy routing lines in rc.local which is ugly, but was
quick, this is much better.

Later,
Tom




_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to