IPMP configuration and zones - how to?
916232Feb 8 2012 — edited Feb 8 2012Hello all,
So, I've been thrown in at the deep end and have been given a brand new M4000 to get configured to host two zones. I have little zone experience and my last Solaris exposure was 7 !
Anyway, enough of the woe, this M4000 has two quad port NICs, and so, I'm going to configure two ports per subnet using IPMP and on top of the IPMP link, I will configure two v4 addresses and give one to one zone and one to the other.
My question is, how can this be best accomplished with regards to giving each zone a different address on the IPMP link.
IP addresses available = 10.221.91.2 (for zone1) and (10.221.91.3 for zone2)
So far, in the global zone I have
ipadm create-ip net2 <-----port 0 of NIC1
ipadm create-ip net6 <-----port 0 of NIC2
ipadm create-ipmp -i net2,net6 ipmp0
ipadm create-addr -T static -a 10.221.91.2/24 ipmp0/zone1
ipadm create-addr -T static -a 10.221.91.3/24 ipmp0/zone2
the output of ipmpstat -i and ipmpstat -a is all good. I can ping the addresses from external hosts.
So, how now to assign each address to the correct host. I assume I'm using shared-ip?
in the zonecfg, do I simply (as per [this documentation|http://docs.oracle.com/cd/E23824_01/html/821-1460/z.admin.task-54.html#z.admin.task-60] ):
zonecfg:zone1> add net
zonecfg:zone1:net> set address=10.221.91.2
zonecfg:zone1:net> set physical=net2
zonecfg:zone1:net> end
and what if I have many many addresses to configure per interface... for example zone1 and zone2 will also require 6 addresses on another subnet (221.206.29.0)... so how would that look in the zonecfg?
Is IPMP the correct way to be doing this? The client wants resilience above all, but these network connections are coming out of different switches thus LACP/Trunking is probably out of the question.
Many thanks for your thoughts... please let me know if you want more information
Solaris11 is a different beast altogether.
Edited by: 913229 on 08-Feb-2012 08:03
added link to the Solaris IPMP and zones doc