[Sunhelp] Routing table

Chanaka Mendis sunhelp at sunhelp.org
Thu Nov 16 20:54:33 CST 2000


Patrick Ouellet wrote:

> Im new to Solaris and I have problem setting my routing table.
>
> I just need to add a network and a gateway to access the internet with
> the Sun.
>
> Can anyone give me the syntax to display the routing table
> and an exemple to add a gateway.
>
> I've done this many time in Linux, but I can't get it on Solaris
> Please help me...
> Thanx.
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Patrick Ouellet - Programmeur Snior
> patrick.ouellet at microtecsecurite.com
> Recherche & Devloppement
> Les Entreprise Microtec inc.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

netstat -nr gives the routing table.

Add routes.

route add <net/host> <network/ip> <gateway> <hopes>


add that to one of start up scripts.( S69inet)

/Gayantha




More information about the SunHELP mailing list