Solved

How to create static route in Solaris 10?

Posted on 2009-04-05
2
1,731 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

617 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