JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Network Interfaces and Network Virtualization     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

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

Part I Network Auto-Magic

2.  Introduction to NWAM

3.  NWAM Configuration and Administration (Overview)

Overview of NWAM Configuration

What Are Network Profiles?

Description of an NCP

Description of an NCU

Description of the Automatic and User-Defined NCPs

Description of a Location Profile

Description of an ENM

About Known WLANs

NWAM Configuration Data

NCU Property Values

Property Values of System-Defined Locations

How NWAM Profiles Are Activated

NCP Activation Policy

Example of an NCP Policy

NCU Activation Properties

Location Activation Selection Criteria

Configuring Profiles by Using the netcfg Command

netcfg Interactive Mode

netcfg Command-Line Mode

netcfg Command-File Mode

netcfg Supported Subcommands

Administering Profiles by Using the netadm Command

Overview of the NWAM Daemons

Description of the NWAM Policy Engine Daemon (nwamd)

Description of the NWAM Repository Daemon (netcfgd)

SMF Network Services

Overview of NWAM Security

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

11.  Administering Bridges

12.  Administering Link Aggregations

13.  Administering VLANs

14.  Introducing IPMP

15.  Administering IPMP

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

22.  Monitoring Network Traffic and Resource Usage

Glossary

Index

NWAM Configuration Data

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:

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.


NCU Property Values

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

Property
Link NCU Value
type
link
class
phys
parent
Automatic
enabled
true
activation-mode
prioritized
priority-group
0 (for 802.3 links) or 1 (for 802.11 links)
priority-group-mode
shared (for 802.3 links) or exclusive (for 802.11 links)
mac-address
Hardware-assigned
autopush
N/A
MTU
N/A

Table 3-2 Interface NCU Properties for the Automatic NCP

Property
Interface NCU Value
type
interface
class
IP
parent
Automatic
enabled
true
ip-version
ipv4, ipv6
ipv4-addrsrc
dhcp
ipv4-static-addr
N/A
ipv6-addrsrc
dhcp, autoconf
ipv6-static-addr
N/A

Property Values of System-Defined Locations

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

Property
Value
name
Automatic
activation-mode
system
enabled
system modified, as required
conditions
N/A
default-domain
N/A
nameservices
dns
nameservices-config-file
/etc/nsswitch.dns
dns-nameservice-configsrc
dhcp
dns-nameservice-domain
N/A
dns-nameservice-servers
N/A
dns-nameservice-search
N/A
nis-nameservice-configsrc
N/A
nis-nameservice-servers
N/A
ldap-nameservice-configsrc
N/A
ldap-nameservice-servers
N/A
nfsv4-domain
N/A
ipfilter-config-file
N/A
ipfilter-v6–config-file
N/A
ipnat-config-file
N/A
ippool-config-file
N/A
ike-config-file
N/A
ipsecpolicy-config-file
N/A

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

Property
Value
name
NoNet
activation-mode
system
enabled
system modified, as required
conditions
N/A
default-domain
N/A
nameservices
files
nameservices-config-file
/etc/nsswitch.files
dns-nameservice-configsrc
N/A
dns-nameservice-domain
N/A
dns-nameservice-servers
N/A
dns-nameservice-search
N/A
nis-nameservice-configsrc
N/A
nis-nameservice-servers
N/A
ldap-nameservice-configsrc
N/A
ldap-nameservice-servers
N/A
nfsv4-domain
N/A
ipfilter-config-file
/etc/nwam/loc/NoNet/ipf.conf, which consists of IP Filter rules that block all non-loopback traffic, with the exception of a minimum amount of network traffic that is required by NWAM to perform network configuration, such as DHCP address assignment.
ipfilter-v6–config-file
/etc/nwam/loc/NoNet/ipf6.conf, which consists of IP Filter rules, as described for the ipfilter-config-file.
ipnat-config-file
N/A
ippool-config-file
N/A
ike-config-file
N/A
ipsecpolicy-config-file
N/A

For more information about location properties, including the properties that make up user-defined locations, see the netcfg(1M) man page.