logo       

Summary: Adding a second route: msg#00159

os.solaris.managers.summaries

Subject: Summary: Adding a second route

Original question:

How to add a second route that will stick between reboots



Answer:

Route add -net destination gateway

And add an rc script or add command to existing inet rc script.



It seems that there are other ways to do this of course. Apparently the
/etc/defaultrouters file can take more that one router but the man page
is spare on describing how to specify what router to use for which net.
Also there is a file /etc/gateways but that looks like it is only used
for routing when the system is the router instead of just pointing to
another router for an alternate gateway.

Adding the rc script seems to be standard procedure for pretty much
everyone.



Thanks again to the many, many admins who replied (too many to list)



Dave Baldwin


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise