Solved

How to create static route in Solaris 10?

Posted on 2009-04-05
2
1,708 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 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