[Sunhelp] How do I make permanent route settings?

Kevin Stevens Kevin_Stevens at Bigfoot.com
Thu Nov 2 18:01:25 CST 2000


>From: "Kalusniak, Jeff" <jkalusniak at goliathfalls.com>
>Reply-To: sunhelp at sunhelp.org
>To: "'sunhelp at sunhelp.org'" <sunhelp at sunhelp.org>
>Subject: RE: [Sunhelp] How do I make permanent route settings?
>Date: Thu, 2 Nov 2000 14:43:54 -0600
>
>echo "route add default <gateway IP addr.> "  > /etc/init.d/inet
>
>that will make the route add everytime you reboot (puts it at the end of 
>the inet script

Umm, actually that wipes the entire inet script OUT and replaces it with the 
route add statement.  Try ">> /etc/init.d/inet" instead...

KeS



>-----Original Message-----
>From: Adams, Christopher [mailto:CAdams at starbase.com]
>Sent: Thursday, November 02, 2000 2:28 PM
>To: 'sunhelp at sunhelp.org'
>Subject: [Sunhelp] How do I make permanent route settings?
>
>
>
>I'm trying to set the gateway on my machines here at work and can't seem to
>make them stay.
>I'm using the command "  route add default <gateway IP addr.>
>This works fine!  The machines are able to connect to the internet fine, 
>but
>once a machine is rebooted, the gateway is again lost!
>
>How do I hardcode the gateway entry?
>(Solaris 2.6/2.7/2.8 Sparc)
>
>Thanks again Wizards!
>
>
>Christopher A.
>Los Angeles, Ca.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.




More information about the SunHELP mailing list