made IpAddressAllocationMode more flexible to support POOL