# dladm show-ib
Output similar to the following appears:
LINK HCAGUID PORTGUID PORT STATE PKEYS net24 21280001FCBEBC 21280001FCBEBE 2 up FFFF net22 21280001FCC0EC 21280001FCC0EE 2 up 8503,8504,FFFF net23 21280001FCBEBC 21280001FCBEBD 1 up 8503,8504,FFFF net21 21280001FCC0EC 21280001FCC0ED 1 up FFFF
In the example output shown in the previous step, the lines that show the network links associated with the 8503 PKEY are shown in bold. The network links are shown in the LINK column (net22 and net23 in the example output).
# zonecfg -z zone_management_hostname zonecfg:zone_management_hostname> add anet zonecfg:zone_management_hostname:anet> set linkname=first_net_link zonecfg:zone_management_hostname:anet> set lower-link=first_net_link zonecfg:zone_management_hostname:anet> set pkey=8503 zonecfg:zone_management_hostname:anet> end zonecfg:zone_management_hostname> add anet zonecfg:zone_management_hostname:anet> set linkname=second_net_link zonecfg:zone_management_hostname:anet> set lower-link=second_net_link zonecfg:zone_management_hostname:anet> set pkey=8503 zonecfg:zone_management_hostname:anet> end zonecfg:zone_management_hostname> exit
where:
zone_management_hostname is the management host name (or Admin Name that was shown in Oracle Exadata Deployment Assistant) for this zone
first_net_link is the first network link shown in the output from Step 2
second_net_link is the second network link shown in the output from Step 2
For example:
# zonecfg -z zone_management_hostname zonecfg:zone_management_hostname> add anet zonecfg:zone_management_hostname:anet> set linkname=net22 zonecfg:zone_management_hostname:anet> set lower-link=net22 zonecfg:zone_management_hostname:anet> set pkey=8503 zonecfg:zone_management_hostname:anet> end zonecfg:zone_management_hostname> add anet zonecfg:zone_management_hostname:anet> set linkname=net23 zonecfg:zone_management_hostname:anet> set lower-link=net23 zonecfg:zone_management_hostname:anet> set pkey=8503 zonecfg:zone_management_hostname:anet> end zonecfg:zone_management_hostname> exit
# zoneadm -z zone_management_hostname reboot
For example:
# zoneadm -z osc01zdbadm02 reboot
# zlogin zone_management_hostname
For example:
# zlogin osc01zdbadm02
# ipadm create-ip first_net_link # ipadm create-ip second_net_link
where:
first_net_link is the first network link shown in the output from Step 2
second_net_link is the second network link shown in the output from Step 2
For example:
# ipadm create-ip net22 # ipadm create-ip net23
# ipadm show-addr
Output similar to the following appears:
ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net13/v4 static ok 169.254.182.77/24 stor_ipmp0/v4 static ok 192.168.28.2/22 bondeth0/v4 static ok 10.129.119.1/20 bondib0/v4 static ok 192.168.10.1/22 bondib1/v4 static ok 192.168.10.2/22 bondmgt0/v4 static ok 10.129.104.1/20 lo0/v6 static ok ::1/128
In the ADDR column for this line, the subnet is shown as 192.168.28.2, with a subnet mask of 22.
# ipadm create-ipmp -i first_net_link,second_net_link ipmp_group # ipadm create-addr -T static -a ip_address/22 ipmp_group/v4
where:
first_net_link is the first network link shown in the output from Step 2
second_net_link is the second network link shown in the output from Step 2
ipmp_group is the name of the IPMP group that you are creating
ip_address is an unused IP address from the same subnet as the stor_ipmp0 interface that you picked in Step 8
For example:
# ipadm create-ipmp -i net22,net23 stor_ipmp0 # ipadm create-addr -T static -a 192.168.28.101/22 stor_ipmp0/v4
# ipadm set-ifprop -p standby=on -m ip second_net_link
where second_net_link is the second network link shown in the output from Step 2.
For example:
# ipadm set-ifprop -p standby=on -m ip net23
# ipmpstat -g
The second network interface should appear in parenthesis in the output. For example:
# ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES stor_ipmp0 stor_ipmp0 ok -- net22 (net23)