you can add the routes to:<br> /etc/sysconfig/network-scripts/route-eth0<br> /etc/sysconfig/network-scripts/route-eth1<br>etc.<br><br>check script /etc/sysconfig/network-scripts/ifup-routes for details<br><br><br><div class="gmail_quote">
On Fri, Sep 11, 2009 at 2:06 PM, Diogo Sperb Schneider <span dir="ltr"><<a href="mailto:diogo@kildare.ind.br">diogo@kildare.ind.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Greetings!<br>
<br>
I have defined a few routes and rules with:<br>
<br>
ip route add ...<br>
ip rule add ...<br>
<br>
And now I'd like to persist those so they're loaded when the system boots up.<br>
<br>
I'm doing this by means of calling a specific script from<br>
/etc/rc.d/rc.local but I believe there must be something cleaner than<br>
that, like another existing file.<br>
<br>
Thanks in advance,<br>
Diogo<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>