Static Route in Solaris 10

Below are straight commands to be entered in the terminal screen or ssh screen.
su -
enter to root mode using the root password
(((change the number 97 to 96 or 98 something you like in S97static_routes if it exists)))
#vi /etc/rc3.d/S97static_routes
press a
then copy and paste the below line making appropriate changes
route add 192.168.10.0/24 192.168.1.1
:wq! (quits and saves)

chmod 744 /etc/rc3.d/S97static_routes

viola !! you have a static route.

Comments