Solved

How to create static route in Solaris 10?

Posted on 2009-04-05
2
1,702 Views
Last Modified: 2013-12-27
How to create the static route in Solaris 10, which would be persistent across the boot. I would like to setup the route for the the virtual interfaces which are in different subnet. Thanks!
0
Comment
Question by:beer9
2 Comments
 
LVL 4

Accepted Solution

by:
joules17 earned 125 total points
ID: 24074731
Hi,

you can create a manual script of all the routes you need to add in
 /etc/rc2.d as S76static-routes .

command would be
route add net <ipaddress> <destination>


if you want to add it to SMF, you need to add an XML file
/lib/svc/method/RKstatic-routes.

let me know, I'll attach the xml steps.
0
 

Author Closing Comment

by:beer9
ID: 31566872
Thanks :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now