Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-22-2004, 11:20 AM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
Add routing entry at system startup

I hv added the below routing entry to my system , but it will be erased after system reboot , how to set it as a permanent routing so that it still vaild even system reboot ? thx
Old 10-22-2004, 12:59 PM   #2
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
put it in a file that is read everytime the system boots.

In Red Hat, that would be


Just look in the rc.d dir you will probably find an equiv for most every system

Or edit the /etc/init.d/network script and set it there.

Just remember which file you set it in so you can change it if you need to. (Log books are a great thing to have)
Old 10-22-2004, 10:35 PM   #3
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx reply ,

do u mean just add the entry to the file
/etc/init.d/network" ? or add the batch ( all the route entry inside ) ? thx


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
add entry to startup? TomalakBORG SUSE / openSUSE 1 11-22-2005 05:53 PM
how to add something to startup at system boot ivonne Fedora 1 11-12-2004 02:16 PM
Add routing entry at system startup ust Linux - Software 1 10-18-2004 01:23 PM
How to know when a routing entry is used? thanh Programming 7 06-12-2004 12:03 PM
routing tables - removing entry zigmund555 Linux - Networking 2 10-03-2003 07:57 AM > Forums > Linux Forums > Linux - General

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