Dan McDonald writes:
> On Wed, May 20, 2009 at 02:39:00AM -0600, Jim Walker wrote:
> > Is there a way on OpenSolaris to make the default route
> > be persistent across reboots?
> 
> I don't know how NWAM would interact with it, but if you use the "-p" option
> to route, things persist across boots.
> 
>       route -p add default <some-next-hop>

NWAM doesn't actually interact with routes at all.  It doesn't create
or destroy them, nor does it know when they need to be present.

On most networks, it's actually either the DHCP client (dhcpagent)
that establishes and removes a default route, or a routing daemon
(in.routed) using RDISC or RIP.  NWAM's involvement stops at the point
of invoking 'ifconfig xxx dhcp start' and noticing that the interface
gets configured.  If you're using static addressing with NWAM (a rare
situation), then either you have static routes configured as well or
you're using a routing protocol as above.

You can use either the old school /etc/defaultrouter or the newfangled
"route -p" to set static routes that survive reboot.

-- 
James Carlson, Solaris Networking              <[email protected]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to