LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-13-2012, 11:00 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
static route


I would like to add a static route to my Redhat server , can advise how to add it ?

thanks.

Last edited by ust; 02-13-2012 at 11:30 PM.
 
Old 02-13-2012, 11:40 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Try this http://www.cyberciti.biz/tips/config...x-systems.html & http://docs.redhat.com/docs/en-US/Re...ic-routes.html
 
Old 02-14-2012, 04:09 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Have a look into these pages:

http://www.cyberciti.biz/faq/redhat-...tatic-routing/
http://www.cyberciti.biz/tips/config...x-systems.html
 
Old 02-14-2012, 11:10 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909
Quote:
Originally Posted by Satyaveer Arya View Post
Did you not read the previous reply?? You posted the same links....
 
Old 02-14-2012, 09:37 PM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
Did you not read the previous reply?? You posted the same links....
http://www.cyberciti.biz/tips/config...x-systems.html

On this page there is another way of adding a route.
 
Old 02-15-2012, 12:50 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
As TB0ne pointed out, that's the same link as my 2nd link ....
 
Old 02-15-2012, 02:20 AM   #7
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Ok, I got it.
 
Old 02-15-2012, 11:18 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909Reputation: 3909
Quote:
Originally Posted by Satyaveer Arya View Post
Ok, I got it.
Great. Then please stop doing it, and try to post solutions that don't duplicate others posts, or web links that don't address the OP's original question.
 
  


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
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 04:33 PM
[SOLVED] Snort - DynamicPlugin: Rule [##] not enabled in configuration, rule will not be used mhollis Linux - Software 3 08-29-2011 07:06 PM
Not Sure If I Trust Automount dman777 Linux - Software 5 03-14-2011 10:24 AM
Can I trust GPG? crashsystems Linux - Security 10 08-22-2006 07:54 PM
M$ trust them? fatpig General 9 02-05-2002 12:39 PM


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