Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-28-2005, 06:33 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 27

Rep: Reputation: 15
How to permanently update routing tables

which files do i need to update inorder for the routes to be maintained after a reboot......

route add -host gw

where should this line be appended to ......

Thanx in advance for any help you can offer ,,,,

( yes i am using a Linux box )


Last edited by Quest101; 10-28-2005 at 06:34 PM.
Old 10-29-2005, 01:48 AM   #2
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
Well to start with you failed to mention what distribution you are using, what your network setup is like and you've begun with a malformed route statement.
Are you trying to change from a Dynamic IP to a Static IP? To quote 'man route';
Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface
after it has been configured with the ifconfig(8) program.

When the add or del options are used, route modifies the routing tables. Without these options, route displays the current contents of the
routing tables.


If you've found the errors in your question we may be able to help with an answer.



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
How to permanently update routing tables Quest101 Linux - Wireless Networking 1 10-28-2005 06:50 PM
routing tables props666999 Linux - Networking 1 10-14-2005 09:27 PM
Routing tables TPB Linux - Networking 3 07-27-2005 10:01 PM
two routing tables fugzi Linux - Networking 7 12-03-2004 07:02 PM
routing tables help hadoque Linux - Networking 0 08-28-2004 10:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 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
Open Source Consulting | Domain Registration