How to create static route in Solaris 10?

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!
Who is Participating?
joules17Connect With a Mentor Commented:

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

let me know, I'll attach the xml steps.
beer9Author Commented:
Thanks :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.