host routes

Hello,

I am trying to figure out how to add a persistent route to the routing table on one of my Solaris servers.

On my Windows boxes I can set a persistent route to 10.10.1.25 via 10.10.1.1 by using the following command at the command line:

route add 10.10..x. mask 255.255.0.0 10.10.1.1 -p

Is there a way to do this in Solaris?

Thanks,

Mike

[386 byte] By [Mike_Ha] at [2007-11-27 7:51:29]
# 1
I think persistent route functionality has made it into solaris express, but its not in solaris 10 yet.The usual way to do things like this is to simply create a startup script with the route command in it..
robert.cohena at 2007-7-12 19:32:36 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Is there a way to add this script that would not require the box itself to be rebooted. I am very new to Solaris so this is all new to me. We are running Solaris 9 on the boxes I need to do this on.
Mike_Ha at 2007-7-12 19:32:36 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Hiyou can use route add on a solaris box to add the new routes in without a reboot.If you want to make it permanent add the command into a run control script under /etc/rc3.d which will ensure that it brings the info up whenever it is rebooted aswellDave
dbiggsa at 2007-7-12 19:32:36 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...