Oracle Solaris 11 Networking-Specific Feature Differences
Some of the Oracle VM Server for SPARC networking features work differently when a domain runs the Oracle Solaris 10 OS as compared to the Oracle Solaris 11 OS. The feature differences for the Oracle VM Server for SPARC virtual network device and virtual switch when the Oracle Solaris 11 OS is run in a domain are as follows:
-
Using an Oracle Solaris 11
etherstubdevice as a back-end device to create a private virtual switchIf not connected to a back-end device, a virtual switch provides communication only between guest domains and not between guest domains and the service domain. Using an
etherstubas a back-end device enables a guest domain to communicate with a zone (including the global zone) that is configured in an Oracle Solaris 11 service domain. This configuration is accomplished by using a VNIC connected to thatetherstub. -
Using generic names for the virtual switch and virtual network devices
The Oracle Solaris 11 OS assigns generic names for
vswn andvnetn devices. Ensure that you do not create a virtual switch with the back-end device that is anothervsworvnetdevice. Use thedladm show-physcommand to see the actual physical devices that are associated with generic network device names. -
Using an Oracle Solaris 11 VNIC to create a VLAN on an Ethernet stub
Do not configure VLANs on the virtual switch interface for Oracle Solaris 11 service domains because this configuration is not supported. Instead, create the VLAN on the interface that corresponds to the virtual switch's
net-devproperty value.The following example shows how to create VNICs on an Ethernet stub. The
dladm create-etherstubcommand creates an Ethernet stub,estub100, which is a backing device used by theldm add-vswcommand to create the virtual switch. Theldm add-vswcommand creates the virtual switch. Thedladm create-vniccommand creates a VNIC on top of the etherstub to create the VLAN for that virtual switch.primary# dladm create-etherstub estub100 primary# ldm add-vsw net-dev=estub100 vid=100 inter-vnet-link=off \ primary-vsw100 primary primary# dladm create-vnic -l estub100 -m auto -v 100 vnic100
The following
ldm add-vnetcommands create two VNICs that enable communication between theldg1andldg2domains over VLAN 100.primary# ldm add-vnet vid=100 ldg1-vnet100 primary-vsw100 ldg1 primary# ldm add-vnet vid=100 ldg2-vnet100 primary-vsw100 ldg2
In the following example, the
dladmcommands create VLANs on theldg1andldg2guest domains. Theipadmcommands create IP addresses for the VNICs that you created on theldg1andldg2domains.ldg1# dladm create-vlan -l net1 -v 100 vlan100 ldg1# ipadm create-ip vlan100 ldg1# ipadm create-ipaddr -T static -a 192.168.100.10/24 vlan100/v4 ldg2# dladm create-vlan -l net1 -v 100 vlan100 ldg2# ipadm create-ip vlan100 ldg2# ipadm create-ipaddr -T static -a 192.168.100.20/24 vlan100/v4
-
Using generic names for the virtual switch and virtual network devices
The Oracle Solaris 11 OS assigns generic names for
vswn andvnetn devices. Ensure that you do not create a virtual switch with the back-end device that is anothervsworvnetdevice. Use thedladm show-physcommand to see the actual physical devices that are associated with generic network device names. -
Using VNICs on the virtual switch and virtual network devices
You cannot use VNICs on
vswn devices. An attempt to create a VNIC onvswn fails. -
Using the network observability commands on Oracle Solaris 11 guest domains
You can use the
ldm list-netdevandldm list-netstatcommands to obtain information about Oracle Solaris 11 guest domains.