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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting default gateway / solaris 8

Status
Not open for further replies.

abovebrd

IS-IT--Management
May 9, 2000
690
US
What would be the proper procedure for setting the default
gateway on a solaris 8 machine.

I thought that if I added the file /etc/defaultrouter
it would do the trick, however it did not work ?

netstat -nr reveals two routes
one to local host
one to server IP address
No default gateway !!

Any and all help or suggestions are welcomed.


-Danny






 
I got it working, but I did not total figure out why.


I did the following

chgrp sys /etc/defaultrouter
route add default xxx.xxx.xxx.xxx

vi /etc/rc2.d/S99route

echo "setting default route"
/usr/sbin/route add default xxx.xxx.xxx.xxx


shift zz

reboot

The default route is now established at boot time.





-Danny






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top