[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Configuring permanent routes



Hello,

Thanks for all the responses people, but I now have two solutions, and I
don't know which one is "industry standard":

 - "/etc/sysconfig/static-routes"
 - "/etc/rc.local"

Which one is the most highly recommended approach?

I don't like the sound of using rc.local myself, purely because it is not
executed until all other scripts are done. This would mean the routes are
not implemented until the machine is fully booted. Ideally I would like the
routes implemented at the same time as the standard routes. I guess
static-routes is therefore the only option.

Does anyone else agree?

Thanks again,
Hobbs.

-- 
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Web: http://www.toshiba-europe.com/research/
Email: richard hobbs crl toshiba co uk
Tel: +44 1223 376964        Mobile: +44 7811 803377 

> -----Original Message-----
> From: redhat-list-bounces redhat com 
> [mailto:redhat-list-bounces redhat com] On Behalf Of Rigler, 
> Stephen C.
> Sent: 15 June 2005 13:26
> To: General Red Hat Linux discussion list
> Subject: Re: Configuring permanent routes
> 
> Look for something called "static-routes" in /etc/sysconfig.
> 
> -Steve
> 
> On Wed, 2005-06-15 at 13:02 +0100, Richard Hobbs wrote:
> > Hello,
> > 
> > I need to configure some permanent routes on a RedHat 8.0 box.
> > 
> > I can do this with the following command but when I reboot, 
> all changes are
> > lost. How can I make it stick?
> > 
> >   route -v add -net 192.168.4.0/24 gw 192.168.3.160
> > 
> > Thanks in advance,
> > Hobbs.
> > 
> > -- 
> > Richard Hobbs (Systems Administrator)
> > Toshiba Research Europe Ltd. - Speech Technology Group
> > Web: http://www.toshiba-europe.com/research/
> > Email: richard hobbs crl toshiba co uk
> > Tel: +44 1223 376964        Mobile: +44 7811 803377
> > 
> > 
> > 
> > 
> _____________________________________________________________________
> > This e-mail has been scanned for viruses by MCI's Internet 
> Managed Scanning Services - powered by MessageLabs. For 
> further information visit http://www.mci.com
> > 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> _____________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet 
> Managed Scanning Services - powered by MessageLabs. For 
> further information visit http://www.mci.com
> 
> 



_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]