Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-30-2002, 02:32 PM   #1
LQ Newbie
Registered: Feb 2002
Location: Quebec, Canada
Distribution: RedHat and Mandrake
Posts: 9

Rep: Reputation: 0
Question Make a ROUTE persistent accross boots of the system

Hello Guys....

I need to install a new route on my RedHat 7.2. so

I did like that:

route add -net netmask dev eth0

It work great.

But everytime I restart my computer I lose the route.... =o(
What is the option to make it persistete??????

Old 05-30-2002, 02:46 PM   #2
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
I believe RedHat uses a file called /etc/sysconfig/static-routes to do exactly what you're asking during network "start"s.

You may want to look at
Old 05-30-2002, 02:51 PM   #3
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
put this line in /etc/rc.local


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system boots to Windows XP yeehi Linux - Software 9 11-27-2005 09:24 AM
how can i make duel boots kennycc Linux - Software 14 03-16-2005 01:12 AM
My system on longer boots... teeno Linux - Software 4 05-28-2003 02:17 AM
Start Apache when system boots up eweborg Linux - General 1 03-05-2002 12:37 AM
Adding persistent(permanent) route entries on Red hat Linux 7.1 sram Linux - Networking 1 02-08-2002 10:07 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration