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

Notices


Reply
  Search this Thread
Old 05-30-2002, 02:32 PM   #1
thecrab
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 192.168.200.0 netmask 255.255.255.0 dev eth0

It work great.

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

THX!
 
Old 05-30-2002, 02:46 PM   #2
kill-hup
Member
 
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 http://www.redhat.com/support/resour...ig-Tips-4.html
 
Old 05-30-2002, 02:51 PM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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