[CentOS] Multiple Internet facing Nics - Gateway issue

Fri Jul 3 17:40:41 UTC 2009
Doug Coats <dcoatshca at gmail.com>

Adding the routes and rules to the appropriate files in network-scripts did
not work.  It gave me a number of errors and did not create the rules after
reboot or/and network restart.


On Fri, Jul 3, 2009 at 11:12 AM, Chan Chung Hang Christopher <
christopher.chan at bradbury.edu.hk> wrote:

>
> >> 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-*?
> >
> Heh. I have not had time to go through the network scripts...last thing
> I heard about was route-* but that was Centos/RHEL 4. Docs have been
> lacking on this side of things...
>  _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090703/414e5ee6/attachment-0005.html>