JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Introduction to Oracle Solaris 11 Networking     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Networking on Oracle Solaris 11 Systems

Network Configuration Profiles

Reactive Network Configuration

Fixed Network Configuration

System-Generated Profiles

Network Stack in Oracle Solaris

Previous Oracle Solaris Releases

Oracle Solaris 11 Implementation

Network Devices and Datalink Names

Default Generic Link Names

Assignment of Generic Names to Datalinks

Customizing How Generic Link Names Are Assigned By the Operating System

Link Names on Upgraded Systems

Replacing Hardware-Based Link Names

Caution About Changing Link Names

Rules for Valid Link Names

Index

Network Stack in Oracle Solaris

Network interfaces provide the connection between the system and the network. These interfaces are configured over datalinks, which in turn correspond to instances of hardware devices on the system. Network hardware devices are also called network interface cards (NICs) or network adapters. NICs can be built in and already present on the system when the system is purchased. However, you can also purchase separate NICs to add to the system. Certain NICs have only a single interface that resides on the card. Other brands might have multiple interfaces that you can configure to perform network operations.

Previous Oracle Solaris Releases

In previous Oracle Solaris implementations of the network stack, interfaces and links on the software layer build on the devices in the hardware layer. More specifically, a hardware device instance in the hardware layer has a corresponding link on the datalink layer and a configured interface on the interface layer. This one-to-one relationship among the network device, its datalink, and the IP interface is illustrated in the figure that follows.

Figure 1-1 Network Stack Showing Network Devices, Links, and Interfaces — Previous Oracle Solaris Implementation

image:One-to-one relationship between hardware devices, links, and IP interfaces.

Figure 1-1 shows two NICs on the hardware layer: e1000 with a single device instance e1000g0, and qfe with multiple device instances, qfe0 to qfe3. The devices qfe0 through qfe2 are not used. Devices e1000g and qfe3 are used and have corresponding links e1000g and qfe3 on the datalink layer. In the figure, the IP interfaces are likewise named after their respective underlying hardware, e1000g and qfe3. These interfaces can be configured with IPv4 or IPv6 addresses to host both types of network traffic. Note also the presence of the loopback interface lo0 on the interface layer. This interface is used to test, for example, that the IP stack is functioning properly.

Different administrative commands are used at each layer of the stack. For example, the dladm show-dev command lists hardware devices that are installed on the system. The dladm show-link command lists information about links on the datalink layer. The ifconfig command shows the IP interface configuration on the interface layer.

In this model, a one-to-one relationship exists that binds the device, the datalink, and the interface. This relationship means that network configuration is dependent on hardware configuration and network topology. Interfaces must be reconfigured if changes are implemented in the hardware layer, such as replacing the NIC or changing the network topology.

Oracle Solaris 11 Implementation

In Oracle Solaris 11, the one-to-one relationship between the hardware, datalink, and interface layers remains. However, the software layer is decoupled from the hardware layer. With this separation, network configuration on the software level is no longer bound to the chipset or the network topology in the hardware layer. This implementation makes network administration more flexible in the following ways:

The following figure shows the interrelationship among devices, link types, and their corresponding interfaces.

Figure 1-2 Network Stack Showing Network Devices, Links, and Interfaces — Oracle Solaris 11 Implementation

image:Panoramic view of devices, and different link configurations

Note - In the figure, the datalinks are named according to specific functions that they perform on the system, such as video0 or sales2. The figure highlights the flexibility with which you can name the datalinks. However, using the default neutral names such as net0 as supplied by the OS is sufficient and preferable. Datalink names are discussed in Network Devices and Datalink Names.


Figure 1-2 also provides a sample of how administratively chosen names can be used in the network setup.

All of the link and interface configurations in this figure are independent of the configurations in the underlying hardware. For example, if the qfe card is replaced, the video0 interface configuration for video traffic remains and can later be applied to a replacement NIC.

On the datalink layer of the same network stack implementation, you can configure bridges as shown in the following figure. Two interfaces, net0 and videoagg0, are configured as a bridge, bridge0. Packets that are received on one interface are forwarded to the other interface. After bridge configuration, both interfaces can still be used to configure VLANs and IP interfaces.

Figure 1-3 Bridges in the Network Stack for Oracle Solaris 11

image:Diagram showing how a bridge fits into the networking stack.

Bridges and bridge configuration are discussed in Chapter 4, Administering Bridged Networks (Tasks), in Managing Oracle Solaris 11.1 Network Performance .