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

Document Information

Preface

Part I Network Auto-Magic

1.  Introduction to NWAM

2.  NWAM Configuration and Administration (Overview)

3.  NWAM Profile Configuration (Tasks)

4.  NWAM Profile Administration (Tasks)

5.  About the NWAM Graphical User Interface

Introduction to the NWAM Graphical User Interface

Accessing the NWAM GUI From the Desktop

Differences Between the NWAM CLI and the NWAM GUI

Functional Components of the NWAM GUI

Interacting With NWAM From the Desktop

Checking the Status of Your Network Connection

How to Show Details About an Enabled Network Connection

Controlling Network Connections From the Desktop

Joining and Managing Favorite Wireless Networks

How to Join a Wireless Network

Managing Favorite Networks

Managing Network Profiles

About the Network Preferences Dialog

Viewing Information About Network Profiles

Switching From One Network Profile to Another Network Profile

Adding or Removing a Network Profile

Editing Network Profiles

How to Open the Network Profile Dialog

Working With Priority Groups

Creating and Managing Locations

How to Change a Location's Activation Mode

How to Switch From One Location to Another Location

Editing Locations

About External Network Modifiers

About the Network Modifiers Dialog

How to Add a Command-Line ENM

Part II Administering Single Interfaces

6.  Overview of the Networking Stack

7.  Datalink Configuration and Administration

8.  Configuring an IP Interface

9.  Configuring Wireless Interface Communications on Oracle Solaris

Part III Administering Interface Groups

10.  Administering Bridges

11.  Administering Link Aggregations

12.  Administering VLANs

13.  Introducing IPMP

14.  Administering IPMP

Part IV  Network Virtualization and Resource Management

15.  Introducing Network Virtualization and Resource Control (Overview)

16.  Planning for Network Virtualization and Resource Control

17.  Configuring Virtual Networks (Tasks)

18.  Using Link Protection in Virtualized Environments

19.  Managing Network Resources

20.  Monitoring Network Traffic and Resource Usage

Glossary

Index

Managing Network Profiles

When using the NWAM GUI, network profiles are the equivalent to the NCPs that are described in Description of an NCP.

A network profile specifies which network interfaces can be enabled or disabled at any given time. Using network profiles can be helpful in situations where you have more than one network interface available. For example, most modern laptop brands have both a wired and a wireless interface. Depending on your physical location, and your work environment, you might want to use only one of those interfaces and disable the other interface for security or other reasons.

There are two network profile types that are available in the NWAM GUI, the default Automatic network profile and the user-defined network profile. You can enable and disable both types of profiles. You can modify user-defined profiles, but not the Automatic profile. You cannot create or destroy the Automatic profile by using the NWAM GUI or the CLI. However, you can create, modify, and destroy user-defined network profiles by using either the GUI or the CLI.

By default, the Automatic network profile first attempts to enable one wired connection. If that attempt fails, it then attempts to enable one wireless connection.

About the Network Preferences Dialog

The Network Preferences dialog is where individual network connections are configured and how the current state of each network connection is viewed. The dialog provides access to various views that you can switch to by using the drop-down list located at the top of the dialog.

You can open the dialog in the following ways:

At the top of the Network Preferences dialog is a drop-down list that is labeled, Show. This list enables you to switch between the Connection Status view, the Network Profile view, and the Connection Properties view for every network connection in each network profile.

Connection Status View

Network Profile View

Connection Properties View

Viewing Information About Network Profiles

Network profile information can be viewed in the Network profile view of the Network Preferences dialog.

To display this view, select Network Profile in the drop-down list that is located at the top of the Network Preferences dialog.

The Network Profiles list displays the name of each available network profile. The currently enabled profile is shown with a radio button indicator. By default, there is one profile, Automatic, that you can activate, but not edit or delete. However, you can create multiple additional network profiles. Network profiles that are manually created can be activated, edited, or deleted, as needed.

Below the Network Profiles list is a summary of the profile that is selected. To view the selected profile in full or edit the profile, click the Edit button.


Note - The selected profile might be different than the enabled profile.


Switching From One Network Profile to Another Network Profile

  1. Open the Network Profile view of the Network Preferences dialog.

  2. Select the radio button next to the network profile that you want to activate.

  3. To switch network profiles, click OK or click Cancel to close the dialog without switching profiles.

Adding or Removing a Network Profile

To create or edit a network profile, select Network Profile from the drop-down list that is located at the top of the Network Preferences dialog.


Note - You cannot remove the Automatic network profile.


For more information about editing a profile that you have added or duplicated, see Editing Network Profiles.

Editing Network Profiles

When you manually add a new network profile or duplicate an existing network profile, you must edit the new profile to specify those network connections that are enabled and disabled by the new profile.


Note - You can edit and remove a manually created network profile. However, you cannot edit or remove the Automatic network profile.


How to Open the Network Profile Dialog

Working With Priority Groups

A network connection in the "always enabled" group is always enabled when the selected network profile is active.

To move a network connection to the "always enabled" group, first select the connection, then do one of the following:

A network connection in the "always disabled" group is always disabled when the selected network profile is active.

To move a network connection to the "always disabled" group, first select the connection, then do one of the following:

You can create a network profile that treats one or more network interfaces as a group. If one or more of the interfaces in the highest priority group cannot be enabled, according to the group's priority type, then the group with the next highest priority is considered.

The following table describes the three different priority groups that are available.

Priority Type
Description
Exclusive
One connection in the group is enabled, and all the other connections are disabled. As long as at least one connection in the group is enabled (not necessarily the same one all the time), no attempt is made to enable connections in any of the lower priority groups.
Shared
All of the connections in the group that can be enabled are enabled. As long as at least one connection in the group remains enabled, no attempt is made to enable connections in any of the lower priority groups.
All
All of the connections in the group are enabled. If any of the connections are lost, all of the connections in the group are disabled. As long as all of the connections remain enabled, no attempt is made to enable connections in any of the lower priority groups.

For example, the default Automatic network profile contains two exclusive priority groups. The higher priority group contains all of the wired network connections. The lower priority group contains all of the wireless network connections.

For detailed instructions on performing these and other tasks, see the online help.

Creating and Managing Locations

A location comprises certain elements of a network configuration, for example a name service and firewall settings, that are applied together, when required. You can create multiple locations for various uses. For example, one location can be used when you are connected at the office by using the company intranet. Another location can be used at home when you are connected to the public Internet by using a wireless access point. Locations can be activated manually or automatically, according to environmental conditions, such as the IP address that is obtained by a network connection.

The Network Locations dialog is where you can to switch locations, edit location properties, create new locations, and remove locations. Note that only user-defined locations can be created and removed. The Location dialog can be opened from the Connection Status view of the Network Preferences dialog.

Graphic of the Location Preferences dialog, where you can change, edit, and create new locations.

The Locations list is similar to the list on the Network Status notification's icon menu. Each available location, with an icon that represents its activation type, is listed.

Location types are as follows:

The activation type of a selected location is also displayed in the Selected location drop-down list. The enabled location is represented by a selected radio button that is displayed in the first column of the list.

How to Change a Location's Activation Mode

The following task describes how to change the activation mode for a location by using the NWAM GUI. If you are using the nwamcfg command, you would change the activation mode by modifying the properties of the specified location. For more information, see Setting and Changing Property Values of a Profile.

  1. From the Network Status notification icon's Location submenu, choose Network Locations. Or, from the Connection Status view of the Network Preferences dialog, click the Locations button.
  2. To change the activation mode of a location, select the location in the list, then select the new activation mode from the Selected location drop-down list.

    Note - Note that when a system location is selected, the drop-down list displays Activated by system, and both the drop-down list and the Edit Rules button are disabled.


    When a manual or a conditional location is selected, the drop-down list options are as follows:

    • Manual activation only: This location is only enabled when it is manually selected. When this option is selected, the Edit Rules button is disabled.

    • Activated by rules: This location is automatically selected under certain network conditions. When this option is selected, the Edit Rules button is enabled.

  3. (Optional) To set rules for how and when a location is activated, click the Edit Rules button.

    For further instructions, see “Working With the Rules Dialog” in the online help.

How to Switch From One Location to Another Location

The following task describes how to switch from one location to another location by using the NWAM GUI. To switch locations by using the CLI, use the nwamadm command to activate a new location. Because exactly one location must be activated on the system at all times, activating a new location implicitly disables the currently enabled location. The same rule applies when activating a network profile. For more information about activating and deactivating locations, see Activating and Deactivating Profiles.

Editing Locations

Editing a location by using the NWAM GUI is the equivalent to modifying a location's properties if you are using the NWAM CLI.

To edit a location, choose Network Locations from the Network Status notification icon's Location submenu. Or, from the Connection Status view of the Network Preferences dialog, click the Locations button.

To edit the properties of a specified location, select the location in the list, then click Edit.

Alternatively, you can double-click the location in the list.

The Edit Location dialog opens, with the following two tabs available:

Name Services

Enables you to configure name services in the specified location.

Security

Enables you to select configuration files to be used by IP Filter and IPsec features, when the specified location is enabled.

To display the information to be edited, select the appropriate tab.