[Sunhelp] How do I make permanent route settings?

Kalusniak, Jeff sunhelp at sunhelp.org
Thu Nov 2 14:43:54 CST 2000


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0450D.9D6AAFC0
Content-Type: text/plain;
	charset="iso-8859-1"

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

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


------_=_NextPart_001_01C0450D.9D6AAFC0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>How do I make permanent route settings?</TITLE>

<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=154004220-02112000>echo 
"route add default <<I>gateway IP addr</I>.> "  > 
/etc/init.d/inet</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=154004220-02112000></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=154004220-02112000>that 
will make the route add everytime you reboot (puts it at the end of the inet 
script</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Adams, Christopher 
  [mailto:CAdams at starbase.com]<BR><B>Sent:</B> Thursday, November 02, 2000 2:28 
  PM<BR><B>To:</B> 'sunhelp at sunhelp.org'<BR><B>Subject:</B> [Sunhelp] How do I 
  make permanent route settings?<BR><BR></DIV></FONT>
  <P><FONT face=Arial size=2>I'm trying to set the gateway on my machines here 
  at work and can't seem to make them stay.  </FONT><BR><FONT face=Arial 
  size=2>I'm using the command "  route add default <<I>gateway IP 
  addr</I>.></FONT> <BR><FONT face=Arial size=2>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></P>
  <P><FONT face=Arial size=2>How do I hardcode the gateway entry?</FONT> 
  <BR><FONT face=Arial size=2>(Solaris 2.6/2.7/2.8 Sparc)</FONT> </P>
  <P><FONT face=Arial size=2>Thanks again Wizards!</FONT> </P><BR>
  <P><FONT face=Arial size=2>Christopher A.</FONT> <BR><FONT face=Arial 
  size=2>Los Angeles, Ca.</FONT> </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C0450D.9D6AAFC0--



More information about the SunHELP mailing list