[Sunhelp] How do I make permanent route settings?

Chanaka Mendis sunhelp at sunhelp.org
Thu Nov 2 20:31:20 CST 2000


--------------CD05C73BEE655BCD253A5FA5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Adams, Christopher" wrote:

>
>
> 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.

Hi,
Default router entry , U can put in to /etc/defaultrouter.
Other routing entries you have to put in on of the startup scripts.(
/etc/rc2.d/S90route)


/Gayantha

--------------CD05C73BEE655BCD253A5FA5
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
"Adams, Christopher" wrote:
<blockquote TYPE=CITE> 
<p><font face="Arial"><font size=-1>I'm trying to set the gateway on my
machines here at work and can't seem to make them stay.</font></font>
<br><font face="Arial"><font size=-1>I'm using the command "  route
add default <<i>gateway IP addr</i>.></font></font>
<br><font face="Arial"><font size=-1>This works fine!  The machines
are able to connect to the internet fine, but once a machine is rebooted,
the gateway is again lost!</font></font>
<p><font face="Arial"><font size=-1>How do I hardcode the gateway entry?</font></font>
<br><font face="Arial"><font size=-1>(Solaris 2.6/2.7/2.8 Sparc)</font></font>
<p><font face="Arial"><font size=-1>Thanks again Wizards!</font></font>
<p><font face="Arial"><font size=-1>Christopher A.</font></font>
<br><font face="Arial"><font size=-1>Los Angeles, Ca.</font></font></blockquote>
Hi,
<br>Default router entry , U can put in to /etc/defaultrouter.
<br>Other routing entries you have to put in on of the startup scripts.(
/etc/rc2.d/S90route)
<br> 
<p>/Gayantha</html>

--------------CD05C73BEE655BCD253A5FA5--




More information about the SunHELP mailing list