Perform the following configuration tasks:
On the service domain, create and configure a DLMP aggregation.
On the service domain, configure the Oracle VM Server for SPARC virtual switch.
On the service domain, configure the Oracle VM Server for SPARC virtual network devices for use on the guest domains
On each of the guest domains, configure an IP address for each vnet.
The following examples assume that you have already configured your Oracle VM Server for SPARC (formerly called Sun Logical Domains, or LDoms) infrastructure with a control domain and a service domain and that you have created two guest domains to be used as cloud nodes.
For step-by-step instructions on setting up your Oracle VM Server for SPARC infrastructure, see the white papers at https://www.oracle.com/technetwork/server-storage/vm/overview/index.html.
The following example describes the first configuration task in this scenario, which is to create a DLMP aggregation on the Oracle VM Server for SPARC service domain. In this example, you create the DLMP aggregation (aggr0) with probing enabled for the net1 and net2 interfaces.
servicedomain# dladm create-aggr -l net1 -l net2 -m dlmp -p probe-ip=+ aggr0
For additional information, see Example 8, Configuring and Virtualizing DLMP Aggregations With VNICs.Example 15 Creating an Oracle VM Server for SPARC Virtual Switch
One of the basic components that Oracle VM Server for SPARC uses for virtual networking is a virtual switch (vsw). A virtual switch is similar to an Ethernet switch, in that it runs in an I/O or service domain and switches Ethernet packets over Logical Domain Channels (LDCs), as well using the Oracle Solaris 11 built-in virtual switch.
The following example shows how to create a virtual switch on the DLMP link portion of the configuration. You perform this task on the service domain.
servicedomain# ldm add-vsw net-dev=aggr0 primary-vsw0 primaryExample 16 Creating Virtual Network Devices for Oracle VM Server for SPARC Guest Domains
The following example shows the next configuration task in this scenario, which is to create a virtual network device for each guest domains. You also perform this task on the service domain.
servicedomain# ldm add-vnet
You create one virtual network device, per guest domain. For every device that you create, a vnet instance is also created in the corresponding guest domain.
Next, configure an IP address for each vnet on each guest domain as follows:
guestdomain1# ipadm create-ip net0 guestdomain# ipadm create-addr -t -a 192.0.2.1 net0
guestdomain2# ipadm create-ip net0 guestdomain# ipadm create-addr -t -a 192.0.2.2 net0
For more information about configuring virtual switches and creating virtual network devices for Oracle VM Server for SPARC, see the relevant documentation at https://www.oracle.com/technetwork/documentation/vm-sparc-194287.html.