Adding Static Route on Solaris System

How we can add static route onto solaris system using command line:

# route add -net 10.0.0.0 10.1.50.250

Add to startup script:

# vi /etc/init.d/static_routes

/usr/sbin/route add -net 10.0.0.0 10.1.50.250

# ln -s /etc/init.d/static_routes S99static_routes

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.