Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 10-22-2012, 03:44 PM   #1
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
RHEL 6 - route-device file and other network-scripts

I have a couple of questions regarding RHEL 6 and the network-scripts.

1.) Is /etc/sysconfig/network-scripts/route-device file still an acceptable way to add a route?

2.) Where are static routes saved in RHEL 6?(excluding /etc/sysconfig/network-scripts/route-device)

3.) Is adding a route command to /etc/rc.local file a bad way to add a route? This seems like more of a work around rather than a acceptable way to add a route.
Old 11-09-2012, 03:04 AM   #2
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 434

Rep: Reputation: 77

Please find below my comments.

1) Yes
2) Yes, but I have not tested the old /etc/sysconfig/static-routes. I still think that it will work as more general routes (not linked to a specific device).
3) I also do not recommend anything in /etc/rc.local, as it runs at every runlevel, while the above takes in account the fact the network is up or not.


1 members found this post helpful.


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
[SOLVED] [HELP] Unable to install network card device drivers for Acer Aspire 5830TG in RHEL 6 harshadgotad Linux - Hardware 1 05-25-2012 09:10 AM
NETWORK problem in RHEL -- Compaq Desktop -- SIOCGIFFLAGS error: No such device mani123456 Linux - Newbie 1 08-17-2008 07:22 AM
Urgent : Automated scripts require to check device file in hpux manish_meet_in Linux - Newbie 4 01-26-2007 02:45 PM
Network route add file David@330 Linux - Networking 4 05-26-2005 08:38 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

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