Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Extend IP Network Multipathing Functionality to Shared-IP Non-Global Zones

Use this procedure to configure IPMP in the global zone and extend the IPMP functionality to non-global zones.

Each address, or logical interface, should be associated with a non-global zone when you configure the zone. See About Using the zonecfg Command in Oracle Solaris Zones Configuration Resources and How to Configure the Zone for instructions.

This procedure accomplishes the following:

  • The cards net0 and net1 are configured together in an IPMP group whose interface is ipmp0.

  • A data address of ipmp0, 192.0.2.0, is associated with the non-global zone my-zone.

  • The net0 card is set as the zone's physical interface.

In a running zone, you can use the ipadm command to make the association. See Shared-IP Network Interfaces and the ipadm(1M) man page for more information.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. In the global zone, configure IPMP groups.

    Follow procedures in Configuring IPMP Groups in Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle Solaris 11.3.

  3. Use the zonecfg command to configure the zone.

    When you configure the net resource, add address 192.0.2.0 and physical interface net0 to the zone my-zone:

    zonecfg:my-zone> add net
    zonecfg:my-zone:net> set address=192.0.2.0
    zonecfg:my-zone:net> set physical=net0
    zonecfg:my-zone:net> end

    Only net0 would be visible in non-global zone my-zone.

If net0 Subsequently Fails

If net0 subsequently fails, because 192.0.2.0 is assigned to ipmp0, then that address continues to be available through net1. The availability of the address also applies to my-zone. However, after net0 has failed, then net1 becomes the visible interface of my-zone.