JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Connecting Systems Using Reactive Network Configuration in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Reactive Network Configuration (Overview)

2.  Creating and Configuring Reactive Network Profiles (Tasks)

3.  Administering Your Reactive Network Configuration (Tasks)

4.  Using the Network Administration Graphical User Interface

Introduction to the Network Administration Graphical User Interface

Accessing the Network Administration GUI From the Desktop

Differences Between the Network Administration GUI and the Network CLI

Functional Components of the GUI

Interacting With Reactive Network Profiles 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

How to Switch From One Network Profile to Another Network Profile

Adding or Removing a Network Profile

Editing Network Profiles

How to Edit a Fixed Network Profile

How to Add or Remove Connections

Working With Priority Groups

How to Move a Network Connection to the Always Enabled Group

How to Remove a Network Connection

Creating and Managing Locations

How to Change a Location's Activation Mode

How to Switch From One Location to Another Location

Editing Locations

How to Edit a Location

About External Network Modifiers

About the Network Modifiers Dialog

How to Add a Command-Line ENM

Index

Managing Network Profiles

In the network administration GUI, network profiles are 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.

The network profiles that are available in the network administration GUI are either reactive or fixed. By default, there is one reactive network profile, Automatic, and one fixed network profile, DefaultFixed. You can switch between the profiles by using the GUI, as required. You can create, edit, and delete user-defined reactive profiles by using the GUI, but you cannot edit or delete the default system-defined profiles.

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.

Figure 4-3 Network Preferences Dialog

image:Graphic view of the Network Profile in the Network Preferences dialog.

Figure 4-4 Connection Properties View

image:Graphic of the Connection Properties view, with the IP address tab in the foreground.

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 reactive network profile, Automatic, and one fixed network profile, DefaultFixed. You can enable these default system-defined profiles, but you cannot edit or delete them. However, you can create multiple user-defined reactive network profiles. The reactive network profiles that are manually created can be enabled, 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 to edit the profile, click the Edit button.


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


How to Switch 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 enable.
  3. To switch network profiles, click OK or 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 or the DefaultFixed network profile.


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

Editing Network Profiles

To edit a reactive network profile, select the profile in the Network Profile view of the Network Preferences dialog, and then click the Edit button. The Edit Network Profile dialog opens. In this dialog, you can add or remove connections (NCUs) from the profiles. If you add a connection to a profile, the added connection is enabled when the profile is active. If you remove a connection from the profile, the connection is disabled. See Working With Priority Groups.


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


How to Edit a Fixed Network Profile

You cannot edit fixed network profiles by using the Edit Network Profile dialog.

  1. Select the profile in the Network Profile view of the Network Preferences dialog.
  2. Select the radio button of the fixed network connection profile that you want to edit, and then click OK to enable the profile.
  3. Use the ipadm and dladm commands to make the required changes to the active profile.

    For more information about the ipadm and dladm commands, see the ipadm(1M) man page, the dladm(1M) man page, and Connecting Systems Using Fixed Network Configuration in Oracle Solaris 11.1.

How to Add or Remove Connections

You can add or remove connections (NCUs) from the profiles. If you add a connection to a profile, the added connection is enabled when the profile is active. If you remove a connection from the profile, the connection is disabled.

  1. Select the profile in the Network Profile view of the Network Preferences dialog, and then click the Edit button.

    Figure 4-5 Edit Network Profiles Dialog

    image:Graphic of the Edit Network Profiles dialog.

    The network connections that are enabled for the selected profiles are listed. You can add or remove connections for the selected profile.


    Note - The Automatic network profile cannot be edited or deleted. Any time the Automatic network profile is selected in the Edit Network Profile dialog, all of the profile editing buttons and drop-down lists are disabled.


    For more information, see the online help.

  2. In the Edit Network Profile dialog, click the Connections button.

    Alternatively, you can choose a connection from the list of available connections to be enabled or disabled and click the Enable or Disable button.

    The Edit Connections dialog is displayed.

  3. To add or remove connections, choose one of the following:
    • Select the connections to add to the profile, and click OK.

      The connections are added to the profile and are enabled when the profile becomes active.

    • Deselect the selected connections to remove from the profile, and click OK.

      The connections are removed from the profile and are disabled.


    Note - By default, all wired network connections take priority over all wireless network connections. That is, a wireless network connection is only attempted if a wired connection cannot be established. If more than one wireless network is available at the current location, you are prompted to select which network to join.


Working With Priority Groups

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 group types 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 about performing these and other tasks, see the online help.

How to Move a Network Connection to the Always Enabled Group

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

  1. Enable the network profile that you want to edit.
  2. In the Edit Network Profile dialog, select the connection to be always enabled.
  3. Click the Up button until the connection moves to the “always enabled” group.

How to Remove a Network Connection

A network connection is disabled if it is removed from the profile when the profile is active.

  1. In the Edit Network Profile dialog, click the Connections button.

    The Edit Connections dialog is displayed.

  2. Deselect the connection to be disabled and click OK.

Creating and Managing Locations

A location contains certain elements of a network configuration, for example, a naming 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 enabled 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 Locations dialog can be opened from the Connection Status view of the Network Preferences dialog.

Figure 4-6 Locations Dialog

image:Graphic of the Network Locations dialog, where you can change, edit, and create new locations.

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

Location types are dependent on their activation mode. They are as follows:


Note - When a system location or a fixed location is selected, the drop-down list shows Activated by System or Activated by Fixed Profile, respectively. Both the drop-down list and the Edit Rules button are disabled.


How to Change a Location's Activation Mode

The following procedure describes how to change the activation mode for a location by using the GUI. If you are using the netcfg command, you would change the activation mode by modifying the properties of the specified location. For more information, see Setting and Changing Property Values for 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.

    When a system location or a fixed location is selected, the drop-down list shows Activated by System or Activated by Fixed Profile, respectively. 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 enabled, 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 procedure describes how to switch from one location to another location by using the GUI. To switch locations by using the CLI, use the netadm command to enable a new location. Because exactly one location must be enabled on the system at all times, enabling a new location implicitly disables the currently enabled location. The same rule applies when enabling a network profile. For more information about enabling and disabling locations, see Enabling and Disabling Profiles.

Editing Locations

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

How to Edit a Location

  1. Choose Network Locations from the Network Status notification icon's submenu.

    Alternatively, from the Connection Status view of the Network Preferences dialog, click the Locations button.

  2. Select the location in the list, then click Edit.

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


    Note - You cannot edit the properties of fixed locations.


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

    Name Services

    Enables you to configure naming 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.

  3. Select the appropriate tab to display the information to be edited.