Adding permanent Routes in SCO Unix
I add Routes successfully in SCO Unix 5.0.4 by the following commands:
route add default < Gateway's IP>
But when i reboot unix, I have to redefine the route. How can I make this Route entry permenant.
Linux
I add Routes successfully in SCO Unix 5.0.4 by the following commands:
route add default < Gateway's IP>
But when i reboot unix, I have to redefine the route. How can I make this Route entry permenant.
by skizz
I'm not a SCO person, but on other Unix platforms, you can add a route to either /etc/sysconfig/static-route or /etc/rc.net.
Check in the /etc/rc.d directory, if it exists, and look for the S10network (example) file. This will have a pointer to where the static-routes should be defined.
by asimmaqbool
by gazz
I usually put the default route in :
/etc/tcp
vi the file and search for ifconfig.
There should be a line that reads:
/etc/route add 224.0.0.0 (yourip) 0 > /dev/null 2>&1
I add the line under it like:
/etc/route add default (defaultroute) > /dev/null 2>&1
There are lots of ways to add a route on bootup, this is only one. The other way might be to add the route in /etc/rc.d/8/userdef.
by asimmaqbool
by cavedweller
by asimmaqbool
by nhennecke
if you have the file /etc/rc2.d/S99route change the listed default gateway to what you want to use. If you do not, create the file give it rwx perms for all. Insert the following into the file:
sleep 10; route add default < Gateway's IP>
Then reboot your system and your default Gateway should change.
by asimmaqbool
by roger.gibson
A pernament route cane be added by either placing your route add command in the /etc/rc2./S85tcp file or the /etc/tcp file.
vi either file you choose. Then search on the word add and the search will take you to the correct area for adding your pernament route. You can use the existing route add's in the file as an example on how to do it.
Good luck.
by asimmaqbool
by asimmaqbool
This discussion is closed to new replies.
Sort by Trending