IP Network Multipathing (IPMP) can be configured on an exclusive-IP zone just as it is configured on the global zone.
For background information about IPMP, see Configuring IPMP Groups in Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle Solaris 11.4. On an exclusive-IP type zone, you configure IPMP within the zone. The steps are similar to configuring IPMP on a global zone.
For shared-IP type zones, you can extend IPMP support from the global zone to the non-global zone by performing the following procedure.
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 zonecfg and the Global Zone in Oracle Solaris Zones Configuration Resources and How to Create and Deploy a Non-Global 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.
For more information, see Using Rights Profiles to Install and Manage Zones.
When you configure the net resource, add address 192.0.2.0 and physical interface net0 to the zone zonename:
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 the non-global zone my-zone.
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.