<div dir="ltr">Are you sure this is actually processed?  Do you have a working example for CentOS 4.x or 5.x?  One that works with two NICS that would use two different gateways to the internet?  I would like nothing more to get this to work in a streamlined fashion.<br>
<br>i didn't have success with the <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">/etc/sysconfig/static-routes  file, but maybe i didn't specify the routes using the correct syntax?  <br>
<br>This web page recommends a complete rewrite of the /etc/sysconfig/network-scripts/ifup-routes script!<br></span></font><a href="http://www.akadia.com/services/redhat_static_routes.html">http://www.akadia.com/services/redhat_static_routes.html</a><br>
<br><br><div class="gmail_quote">On Fri, Aug 22, 2008 at 7:58 AM, Stephen Moccio <span dir="ltr"><<a href="mailto:smoccio@ureach.com">smoccio@ureach.com</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;">










<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You can place the statement in
/etc/sysconfg/static-routes.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This file will be used when the network
starts up.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:centos-bounces@centos.org" target="_blank">centos-bounces@centos.org</a> [mailto:<a href="mailto:centos-bounces@centos.org" target="_blank">centos-bounces@centos.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>ABBAS KHAN<br>

<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 19, 2008
9:38 AM<br>
<b><span style="font-weight: bold;">To:</span></b> CentOS mailing list<br>
<b><span style="font-weight: bold;">Subject:</span></b> [CentOS] Is there a way
to save the routing table permanently?</span></font></p>

</div><div class="Ih2E3d">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I'm adding the default gateway to the route through "route add
default gw <a href="http://10.10.10.10" target="_blank">10.10.10.10</a>" which is also
shown in "route -n" but the problem is that as soon as I restart the
network through /etc/init.d/network restart; the route sets to default one...!<br>
SO, my question is there any way to save the modified route permanently by
hardcoding the changes?<br>
<br>
Thanks.</span></font></p>

</div>

</div></div>

</div>


<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>
<br></blockquote></div><br></div>