[CentOS] Is there a way to save the routing table permanently?

Fri Aug 22 12:58:09 UTC 2008
Stephen Moccio <smoccio at ureach.com>

You can place the statement in /etc/sysconfg/static-routes.

 

This file will be used when the network starts up.

 

  _____  

From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of ABBAS KHAN
Sent: Tuesday, August 19, 2008 9:38 AM
To: CentOS mailing list
Subject: [CentOS] Is there a way to save the routing table permanently?

 

I'm adding the default gateway to the route through "route add default gw
10.10.10.10" 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...!
SO, my question is there any way to save the modified route permanently by
hardcoding the changes?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080822/8f08ee37/attachment-0005.html>