How is the default gateway set on the sever.<br>
<br>
I have the server runing on the local network and need to connect to the WAN via the local router.<br>
<br>
It's usually "route add default gw.ip.address 1". Not got an OpenServer box nearby, but if memory serves you need to add this into one of the startup scripts to add it at every reboot.
The 'route add default' statement should be added in the /etc/rc2.d directory. In SCO Open Server 3.0, the route add statement was included in /etc/tcp or /etc/rc.d/8/userdef. However, in SCO OpenServer 5.0, some of the startup scripts are executed in parallel which cause some timing issues. Therefore it is recommended that a new file named S99route be created in /etc/rc2.d which includes the route add statement. <br><br> # cd /etc/rc2.d<br> # vi S99route<br><br> echo "Setting default route"<br> /etc/route add default <IP#> (where <IP#> is the 'gateway' IP<br> address)<br><br> # chown root S99route<br> # chgrp sys S99route<br> # chmod 744 S99route<br><br><br>Note: <A HREF="
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.