Discussion Locked

how to save routing table

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Linux Mandrake and hp-ux server. After adding or deleting routes in the routing table, I observed that the routing table is restored to its original contents each time server is rebooted. I have to add and delete again the routes. How to save routing table so i don't have to do the same thing over again.

1 reply

by jaqui

copy the file from etc to your home directory, change ownership from root to non priveledged user ( you ) then edit that file to add the routes.
save it into your home directory.
as root copy it back to etc.
reboot system
all routes should be loaded.

This discussion is closed to new replies.