Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Administration: Network Interfaces and Network Virtualization Oracle Solaris 11 Information Library |
1. Overview of the Networking Stack
Network Configuration in This Oracle Solaris Release
The Network Stack in Oracle Solaris
Network Devices and Datalink Names
Administration of Other Link Types
3. NWAM Configuration and Administration (Overview)
Overview of NWAM Configuration
Description of the Automatic and User-Defined NCPs
Description of a Location Profile
How NWAM Profiles Are Activated
Location Activation Selection Criteria
Configuring Profiles by Using the netcfg Command
Administering Profiles by Using the netadm Command
Description of the NWAM Policy Engine Daemon (nwamd)
Description of the NWAM Repository Daemon (netcfgd)
Authorizations and Profiles That Are Related to NWAM
Authorizations That Are Required to Use the NWAM User Interfaces
4. NWAM Profile Configuration (Tasks)
5. NWAM Profile Administration (Tasks)
6. About the NWAM Graphical User Interface
Part II Datalink and Interface Configuration
7. Using Datalink and Interface Configuration Commands on Profiles
8. Datalink Configuration and Administration
9. Configuring an IP Interface
10. Configuring Wireless Interface Communications on Oracle Solaris
12. Administering Link Aggregations
16. Exchanging Network Connectivity Information With LLDP
Part III Network Virtualization and Resource Management
17. Introducing Network Virtualization and Resource Control (Overview)
18. Planning for Network Virtualization and Resource Control
19. Configuring Virtual Networks (Tasks)
20. Using Link Protection in Virtualized Environments
21. Managing Network Resources
There are effectively two configuration repositories on the system: the NWAM profile repository, which is stored in the /etc/nwam directory, and the traditional configuration repository, which includes the /etc/ipadm/ipadm.conf and /etc/dladm/datalink.conf files, as well as other configuration files that are associated with network services.
When NWAM manages network configuration, it works primarily from its own repository. The interface configuration that is stored in the /etc/ipadm/ipadm.conf file is ignored. NWAM configures physical links and interfaces directly based on the NCP data.
Location profile data is read from the NWAM profile repository. When a location is activated, this configuration is applied to the running system in most cases by setting the appropriate SMF service properties and restarting the corresponding services to apply the configuration changes. This action overwrites existing values for those service properties.
Because NWAM overwrites legacy configuration data in the process of applying Location profiles, upon startup, any configuration that might be overwritten is saved. NWAM then restores that configuration upon shutdown. Although it is not a location that can be applied as part of the NWAM operation, this data is referred to as the Legacy location data.
Property values for the following system-defined and user-defined network profiles are stored in the NWAM repository:
NCPs – Contains values for the Automatic NCP, as well as any user-defined NCPs
NCUs – Contains values for both link and interface NCUs
Locations – Contains values for the three system-defined location types, as well as values for any user-defined locations
ENMs – Contains information about applications
Known WLANs – Contains information about wireless networks that you might be connected to automatically
Configuration data for each NCP is stored persistently as a file in the /etc/nwam directory, using the format, ncp-name. There is one file per NCP, with the entries representing each NCU. For example, the file for the Automatic NCP is named ncp-Automatic.conf. All NCP files are stored in the /etc/nwam directory.
Location properties are stored in the /etc/nwam/loc.conf file.
ENM properties are stored in the /etc/nwam/enm.conf file. Known WLANs are stored in the /etc/nwam/known-wlan.conf file. This file format is similar to the file format of the /etc/dladm/datalink.conf file.
Note - Although it is possible to modify network profiles by directly editing the files in the NWAM profile repository, the appropriate way to modify a profile is to use the netcfg command or the NWAM GUI configuration panels. The file format and the use of files might change in future releases. See Setting and Changing Property Values for a Profile.
NCUs, the individual configuration objects of an NCP, represent individual links and interfaces on a system. General properties for both NCU types (link and interface), as well as properties that are specific to each NCU type, are stored in the NWAM profile repository. The type, class, and parent properties are set when the NCU is created and cannot be changed later. Also, you cannot directly change an enabled property. The property is changed indirectly by enabling or disabling an NCU by using the netadm command.
The Automatic NCP consists of one link NCU for each physical link that is discovered in the system and one interface NCU that is plumbed on each link. The Automatic NCP changes dynamically upon insertion of additional physical links. As new links are inserted, a link NCU and corresponding interface NCU are created for each new link. The following tables define the values that are assigned to each NCU that makes up the Automatic NCP.
Note - The properties in this table are listed in the order in which they appear when viewing the NCU properties of the Automatic NCP. Certain values apply to each NCU type.
Table 3-1 Link NCU Properties for the Automatic NCP
|
Table 3-2 Interface NCU Properties for the Automatic NCP
|
The following table provides the default property values for the Automatic location, which is a system-defined profile. You can modify these values, with the exception of the activation-mode and the enabled properties. The system always activates the Automatic location when at least one interface is active and no other Location profile supersedes it.
Table 3-3 Properties of System-Defined Locations
|
The following table provides the predefined properties for the NoNet location. Note that you can modify these values, with the exception of the activation-mode and enabled properties. The system always enables the NoNet location when there are no active interfaces.
Table 3-4 Properties of the NoNet Location
|
For more information about location properties, including the properties that make up user-defined locations, see the netcfg(1M) man page.