Configuring Link-Based IPMP

The following example shows how to configure two virtual network devices on a domain to use link-based IPMP. Each virtual network device is connected to a separate virtual switch device on the service domain.

Note:

Test addresses are not configured on these virtual network devices. Also, you do not need to perform additional configuration when you use the ldm add-vnet command to create these virtual network devices.

The following commands add the virtual network devices to the domain. If the virtual switch has a physical network device assigned, physical link state updates are enabled automatically. Otherwise, only the link to the virtual switch is monitored for state changes.

primary# ldm add-vnet ldom1_vnet0 primary-vsw0 ldom1
primary# ldm add-vnet ldom1_vnet1 primary-vsw1 ldom1

The following commands configure the virtual network devices on the guest domain and assign them to an IPMP group. Note that test addresses are not configured on these virtual network devices because link-based failure detection is being used.

  • Oracle Solaris 10 OS: Use the ifconfig command.

    # ifconfig vnet0 plumb 192.168.1.1 netmask + broadcast + group ipmp0 up
    # ifconfig vnet1 plumb group ipmp0
  • Oracle Solaris 11 OS: Use the ipadm command.

    Note that net0 and net1 are the Oracle Solaris 11 vanity names for ldom1_vnet0 and ldom1_vnet1, respectively.

    # ipadm create-ip net0
    # ipadm create-ip net1
    # ipadm create-ipmp ipmp0
    # ipadm add-ipmp -i net0 -i net1 ipmp0
    # ipadm create-addr -T static -a 192.168.1.1/24 ipmp0/v4addr1