LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2008, 08:34 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
Add route entry


in my RH server , I want to add a static route to server so that when every time the server reboot , the route entry will automatically start ( now I use route add ... to setup the entry every time after server reboot ) , can advise what can I do ? thx
 
Old 09-04-2008, 08:50 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,735
Blog Entries: 27

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Hi,

I don't use RH but you should be able to setup your network configuration so that it is static. You could search on LQ to find this as I'm sure it has been asked before.
 
Old 09-04-2008, 09:18 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What is your network setup and what route are you trying to add?

Routs as applicable to NICs should be automatic with the default being set in the relevant NIC config.

What RH are you using?
 
Old 09-04-2008, 09:35 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday View Post
What is your network setup and what route are you trying to add?

Routs as applicable to NICs should be automatic with the default being set in the relevant NIC config.

What RH are you using?

RHEL4 , I want to add a static route to remote server , is there configuration file that saved this setting ? thx
 
Old 09-04-2008, 09:36 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
These links have info on adding permanent static routes in RedHat systems..


http://www.cyberciti.biz/tips/config...x-systems.html

http://kbase.redhat.com/faq/FAQ_45_4697.shtm

http://www.redhat.com/docs/en-US/Red...ic-routes.html

Last edited by farslayer; 09-04-2008 at 09:37 PM.
 
Old 09-04-2008, 09:43 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by ust View Post
RHEL4 , I want to add a static route to remote server , is there configuration file that saved this setting ? thx
Aside from the RHEL4 comment, that post added approximately zero information to the original
 
  


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
noob: ip route add vs route add jCash Linux - Networking 1 07-19-2007 11:12 AM
unknown route entry sachinh Linux - Networking 0 07-17-2007 11:42 PM
default route entry littledrop Slackware 2 03-13-2007 12:54 AM
add entry to startup? TomalakBORG SUSE / openSUSE 1 11-22-2005 05:53 PM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM


All times are GMT -5. The time now is 04:20 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