LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-28-2005, 05:33 PM   #1
Quest101
LQ Newbie
 
Registered: Nov 2004
Posts: 27

Rep: Reputation: 15
How to permanently update routing tables


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

eg.
route add -host 216.109.112.135/32 gw 172.16.1.33


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


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

( yes i am using a Linux box )

Regards,
Ray

Last edited by Quest101; 10-28-2005 at 05:34 PM.
 
Old 10-29-2005, 12:48 AM   #2
nonzero
Member
 
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.

See http://www.experts-exchange.com/Netw..._21570048.html

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

nz
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 PM.

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
Open Source Consulting | Domain Registration