solaris 11 switch between nwam and manual

How to Switch From Autoconfiguration Mode to Traditional Networking Mode

In Oracle Solaris, the NWAM service is enabled by default. If you are using advanced networking features that are not currently supported by NWAM or that require you to disable the NWAM service, you must switch to the traditional networking mode, as shown in the following procedure.

Become the root user.
Disable the network/physical:nwam service.
# svcadm disable network/physical:nwam
Enable the network/physical:default service.
# svcadm enable network/physical:default
Verify that the network/physical:default service is online.
# svcs -xv network/physical:default
If the service fails to come online or moves into a maintenance state, clear the service, then verify that the service is re-enabled.
# svcadm clear network/physical:default
# svcs -l network/physical:default
How to Switch From Traditional Networking Mode to Autoconfiguration Mode

To switch back to autoconfiguration (NWAM) mode from traditional networking mode, you must first disable the network/physical:default service, then re-enable the network/physical:nwam service.

Note - In Oracle Solaris, autoconfiguration through NWAM is enabled by default. You would only need to re-enable the network/physical:nwam service if you previously disabled the service to manually configure your network.

Become the root user.
Disable the network/physical:default service.
# svcadm disable network/physical:default
Enable the network/physical:nwam service.
# svcadm enable network/physical:nwam
Verify that the NWAM service in online.
# svcs -l network/physical:nwam
If the NWAM service fails to come online or moves into a maintenance state, clear the service, then verify that the service is re-enabled. For example:
# svcadm clear network/physical:nwam
# svcs -l network/physical:nwam
fmri svc:/network/physical:nwam
name physical network interface autoconfiguration
enabled true
state online
next_state none
state_time Wed Oct 07 11:30:35 2009
logfile /var/svc/log/network-physical:nwam.log
restarter svc:/system/svc/restarter:default
contract_id 125
dependency require_all/none svc:/network/netcfg (online)
dependency require_all/none svc:/network/loopback (online)
dependency require_all/none svc:/network/datalink-management (online)
dependency optional_all/none svc:/network/tnctl (online)

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.