Skip Navigation Links | |
Exit Print View | |
Oracle VM Server for SPARC 2.2 Administration Guide Oracle VM Server for SPARC |
Part I Oracle VM Server for SPARC 2.2 Software
1. Overview of the Oracle VM Server for SPARC Software
2. Installing and Enabling Software
3. Oracle VM Server for SPARC Security
4. Setting Up Services and the Control Domain
Introduction to a Virtual Network
Oracle Solaris 10 Networking Overview
Virtual Device Identifier and Network Interface Name
How to Find Oracle Solaris OS Network Interface Name
Assigning MAC Addresses Automatically or Manually
Range of MAC Addresses Assigned to Logical Domains
Automatic Assignment Algorithm
Duplicate MAC Address Detection
Using Network Adapters With Logical Domains
How to Determine If a Network Adapter Is GLDv3-Compliant (Oracle Solaris 10)
Configuring a Virtual Switch and the Service Domain for NAT and Routing
Configuring NAT on an Oracle Solaris 10 System
How to Set Up a Virtual Switch to Provide External Connectivity to Domains (Oracle Solaris 10)
Configuring NAT on an Oracle Solaris 11 System
How to Set Up a Virtual Switch to Provide External Connectivity to Domains (Oracle Solaris 11)
Configuring IPMP in a Logical Domains Environment
Configuring Virtual Network Devices Into an IPMP Group in a Domain
Configuring and Using IPMP in the Service Domain
Using Link-Based IPMP in Logical Domains Virtual Networking
How to Configure Physical Link Status Updates
Configuring and Using IPMP in Releases Prior to Logical Domains 1.3
Configuring IPMP in the Guest Domain
Configuring IPMP in the Service Domain
How to Assign VLANs to a Virtual Switch and Virtual Network Device
How to Install a Guest Domain When the Install Server Is in a VLAN
How to Configure a Virtual Switch With an NIU Network Device
Using Link Aggregation With a Virtual Switch
How to Configure Virtual Network and Virtual Switch Devices to Use Jumbo Frames
Compatibility With Older (Jumbo-Unaware) Versions of the vnet and vsw Drivers (Oracle Solaris 10)
Oracle Solaris 11 Networking-Specific Feature Differences
11. Managing Domain Configurations
12. Performing Other Administration Tasks
Part II Optional Oracle VM Server for SPARC Software
13. Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
14. Oracle VM Server for SPARC Configuration Assistant (Oracle Solaris 10)
15. Using the Oracle VM Server for SPARC Management Information Base Software
16. Logical Domains Manager Discovery
17. Using the XML Interface With the Logical Domains Manager
The Oracle Solaris 11 OS introduced many new networking features, which are described in the Oracle Solaris 11 networking documentation at Oracle Solaris 11 Documentation.
The following Oracle Solaris 11 networking features are important to understand when you use the Oracle VM Server for SPARC software:
All network configuration is performed by the ipadm and dladm commands.
The “vanity name by default” feature generates generic link names, such as net0, for all physical network adapters. This feature also generates generic names for virtual switches (vswn) and virtual network devices (vnetn), which appear like physical network adapters to the OS. To identify the generic link name that is associated with a physical network device, use the dladm show-phys command.
By default in Oracle Solaris 11, physical network device names use generic “vanity” names. Generic names, such as net0, are used instead of device driver names, such as nxge0, which were used in Oracle Solaris 10.
To determine which network device to use as the back-end device for the virtual switch, search for vsw in the dladm show-phys output.
The following command creates a virtual switch for the primary domain by specifying the generic name, net0, instead of a driver name, such as nxge0:
primary# ldm add-vsw net-dev=net0 primary-vsw0 primary
The Oracle Solaris 11 OS uses virtual network interface cards (VNICs) to create internal virtual networks.
A VNIC is a virtual instantiation of a physical network device that can be created from the physical network device and assigned to a zone.
Note - The creation of VNICs on virtual switches (vswn) or virtual network devices (vnetn) are not supported. See Oracle Solaris 11: Zones Configured With an Automatic Network Interface Might Fail to Start in Oracle VM Server for SPARC 2.2 Release Notes.
Use the Oracle Solaris 11 DefaultFixed network configuration profile (NCP) when configuring the Oracle VM Server for SPARC software.
Note - In this release, it is best use the DefaultFixed NCP to configure datalinks and network interfaces on Oracle Solaris 11 systems.
The Oracle Solaris 11 OS includes the following NCPs:
DefaultFixed. Enables you to use the dladm or ipadm command to manage networking.
Automatic. Enables you to use the netcfg or netadm command to manage networking.
Ensure that the DefaultFixed NCP is enabled by using the netadm list command. See Chapter 7, Using Datalink and Interface Configuration Commands on Profiles, in Oracle Solaris Administration: Network Interfaces and Network Virtualization.
For Oracle Solaris 11 domains, use the DefaultFixed NCP. You can enable this profile during or after installation. During an Oracle Solaris 11 installation, select the Manual networking configuration.
Do not replace the primary network interface with the virtual switch (vsw) interface. The control domain can use the existing primary network interface to communicate with the guest domains that have virtual network devices connected to the same virtual switch.
Do not use the physical network adapter's MAC address for the virtual switch because using the physical adapter's MAC address for the virtual switch conflicts with the primary network interface.
The following diagram shows that a guest domain that runs the Oracle Solaris 10 OS is fully compatible with an Oracle Solaris 11 service domain. The only differences are features added or enhanced in the Oracle Solaris 11 OS.
Figure 8-2 Oracle VM Server for SPARC Network Overview for the Oracle Solaris 11 OS
Following is an explanation for the previous diagram, which shows that network device names, such as nxge0 and vnet0, can be represented by generic link names, such as netn in Oracle Solaris 11 domains.
The virtual switch in the service domain is connected to the guest domains. This enables guest domains to communicate with each other.
The virtual switch is also connected to the physical network device nxge0. This enables guest domains to communicate with the physical network.
The virtual switch also enables guest domains to communicate with the service domain network interface net0 and with VNICs on the same physical network device as nxge0. Therefore, you do not need to configure vsw as a network interface in an Oracle Solaris 11 service domain because of the networking enhancements in the Oracle Solaris 11 MAC layer.
The virtual network device vnet0 in an Oracle Solaris 10 guest domain can be configured as a network interface by using the ifconfig command.
The virtual network device vnet0 in an Oracle Solaris 11 guest domain might appear with a generic link name, such as net0. It can be configured as a network interface by using the ipadm command.
A virtual switch behaves like a regular physical network switch and switches network packets between the different systems to which it is connected. A system can be a guest domain, a service domain, or a physical network.