Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keep route table on reboot

Status
Not open for further replies.

JohnnyProd

Technical User
Sep 25, 2001
12
0
0
US
I recently noticed that the route statements I add to my route table are lost when I reboot. How can I save a specific route table so that it will always remain the same?
 
Hi,





Some other stuff like ipchains & iptables has 'save' and 'restore' utilities that just take a snapshot of however the rules stand at that point. As far as I know, there is nothing comparable available for the routing table although it wouldn't be difficult to write something to do it. The only other thing is to make sure you always record all your route commands in a script and re-run that via /etc/rc.d/rc.local or equivalent at boot time.





Regards





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top