Support for VM IP pools

Same as #35 but rebased against changes in 78e129a.