Using Link Aggregation With a Virtual Switch

A virtual switch can be configured to use a link aggregation. A link aggregation is used as the virtual switch's network device to connect to the physical network. This configuration enables the virtual switch to leverage the features provided by the IEEE 802.3ad Link Aggregation Standard. Such features include increased bandwidth, load balancing, and failover. For information about how to configure link aggregation, see Creating a Link Aggregation in Managing Network Datalinks in Oracle Solaris 11.4.

After you create a link aggregation, you can assign it to the virtual switch. Making this assignment is similar to assigning a physical network device to a virtual switch. Use the ldm add-vswitch or ldm set-vswitch command to set the net-dev property.

When the link aggregation is assigned to the virtual switch, traffic to and from the physical network flows through the aggregation. Any necessary load balancing or failover is handled transparently by the underlying aggregation framework. Link aggregation is completely transparent to the virtual network (vnet) devices that are on the guest domains and that are bound to a virtual switch that uses an aggregation.

Note:

You cannot group the virtual network devices (vnet and vsw) into a link aggregation.

The figure titled Configuring a Virtual Switch to Use a Link Aggregation (Oracle Solaris 11) shows a virtual switch configured to use an aggregation, aggr1, over physical interfaces net0 and net1, and nxge0 and nxge1, respectively.

Configuring a Virtual Switch to Use a Link Aggregation (Oracle Solaris 11)


Shows how to set up a virtual switch to use a link aggregation as described in the text.