I need to add several static routes to a solaris 10 box. On Solaris 9, I've always made these persist across reboots by adding an init script to reapply the route. With solaris 10, adding a service to an SMF seems somewhat overkill. What is best practise on how to add a route that persists across reboot?
The
route
command has the-p
option, in OpenSolaris and I believe Solaris 10 as well. Fromman route
:I believe it writes them to the
/etc/inet/static_routes
file if they are applied successfully.