Harry Putnam wrote:
> How can I restart networking without a reboot so that everthing that
> gets done in a bootup will get done.
> 
> I'm used to linux style commands where you restart the network with
> /etc/init.d/eth0 restart or similar and all networking components are
> restarting as in a reboot.
> 
> I get the feeling that something like 
> `svcadm restart network/physical:nwam' 
> 
> or 
>   `svcadm restart network/physical:default
> ' 
> Does not have the same kind of thoroughness where all components are
> restarted.  Maybe its the same... can anyone say for sure?

The big problem you'll run into with restarting physical:default is CR
6181431 -- that service lacks a 'stop' method, so restarting it doesn't
really do what you want.  (And restarting NWAM should just never be
necessary.  If you have to do that, then at least contact the NWAM team,
and perhaps also file a bug.)

I think this is going to become immaterial in short order.  The
continuing work of the NWAM project is providing a completely different
model that should make thoughts of "restarting the network" rather
old-fashioned, just like the idea of rebooting your system to change a
parameter (Windows-style).

There are some complicated issues here.  Running /etc/init.d/eth0 on
Linux does *not* restart all of the networking components.  It doesn't
touch the applications that may have cached information about the
interface configuration.  SMF could provide richer functionality on
Solaris, but I'm unconvinced that this is really the right direction to
go.  It makes more sense to me to make the applications more aware of
their environment so they reconfigure themselves when necessary.

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to