[Sunhelp] route problem

Gene.Patterson at risk.sungard.com Gene.Patterson at risk.sungard.com
Thu Aug 10 17:10:24 CDT 2000


--0__=GOSa1n8iDQ9WAgpIIB6wDy4mnotVKaaXG2oR16Dy97kjKbvXaGTMOgKL
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline



You can create a script file in "/etc/init.d" like "addroute" such as below:

=============

case "$1" in

'start')

        route add 172.19.0.0 172.18.0.1
        ;;

*)
        echo "Usage: /etc/init.d/addroutes { start | stop }"
        ;;
esac

==============

Then put a symbolic link in "/etc/rc3.d" like S88addroute.

Gene


|--------+--------------------------->
|        |          Karl Rossing     |
|        |          <karl.rossing at fed|
|        |          erated.ca>       |
|        |                           |
|        |          08/10/2000 05:23 |
|        |          PM               |
|        |          Please respond to|
|        |          sunhelp          |
|        |                           |
|--------+--------------------------->
  >---------------------------------------------------------------------------|
  |                                                                           |
  |       To:     sunhelp at sunhelp.org                                         |
  |       cc:     (bcc: Gene Patterson/Infinity)                              |
  |       Subject:     Re: [Sunhelp] route problem                            |
  >---------------------------------------------------------------------------|





Where does one set a static route so that when the systems is rebooted,
it gets re-added.

Karl

Scott Walker wrote:
>
> Add the ip of your gateway to the file /etc/defaultrouter
>
> ----- Original Message -----
> From: "Habib M." <stmp at hotmail.com>
> To: <sunhelp at sunhelp.org>
> Sent: Thursday, August 10, 2000 5:14 PM
> Subject: [Sunhelp] route problem
>
> > Hi,
> >
> > I do "route add default [ip-address-of-gateway] 1" and i add the default
> > entry to the "netstat -rn" output in my ssol 2.6. This fixes
> > all the routing issues. But when i boot up the system this entry
> > goes away and i have the same problem. is there a scrip or something
> > that i have to revise?.
> >
> > When i try to delete an entry from table by looking at the output
> > of "netstat -r" i get the error message: "not in the table".
> >
> > HM
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp


**********************************************************************
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email 
> in error please notify the system manager.
>
> This footnote also confirms that this email message has 
> been swept by MIMEsweeper for the presence of computer
> viruses.
>
**********************************************************************

--0__=GOSa1n8iDQ9WAgpIIB6wDy4mnotVKaaXG2oR16Dy97kjKbvXaGTMOgKL
Content-type: application/octet-stream; 
	name="karl.rossing.vcf"
Content-Disposition: attachment; filename="karl.rossing.vcf"
Content-transfer-encoding: base64

YmVnaW46dmNhcmQgDQpuOlJvc3Npbmc7S2FybA0KdGVsO3dvcms6MjA0LTc4Ni02NDMxIEV4dCAz
NTgNCngtbW96aWxsYS1odG1sOlRSVUUNCnVybDpodHRwOi8vd3d3LmZlZGVyYXRlZC5jYQ0Kb3Jn
OkZlZGVyYXRlZCBJbnN1cmFuY2UgQ29tcGFuaWVzIG9mIENhbmFkYQ0KYWRyOjs7NzE3IFBvcnRh
Z2UgQXZlO1dpbm5pcGVnO01iO1IzQyAzQzk7Q2FuYWRhDQp2ZXJzaW9uOjIuMQ0KZW1haWw7aW50
ZXJuZXQ6a2FybC5yb3NzaW5nQGZlZGVyYXRlZC5jYQ0KdGl0bGU6VGVjaG5pY2FsIFNlcnZpY2Vz
DQpmbjpLYXJsIFJvc3NpbmcNCmVuZDp2Y2FyZA0KDQo=

--0__=GOSa1n8iDQ9WAgpIIB6wDy4mnotVKaaXG2oR16Dy97kjKbvXaGTMOgKL--






More information about the SunHELP mailing list