cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Logan Barfield <>
Subject Reserved Guest VM CIDR Question
Date Mon, 06 Oct 2014 18:57:11 GMT
We have decided internally to set up a CIDR reservation with all new
accounts to give us the ability to easily attach dedicated hosts to
existing VM networks.

We were thinking it would be easier to set up the reservation before
deploying VMs.  Setting up reservation after the fact can get complicated
if a VM happens to be outside the intended reservation range.

The issue we're having is that reservation is not allowed until the network
is in the "Implemented" state (i.e. after the first VM is deployed).

Why is reservation not allowed upon initial network creation?  If we try to
apply reservation after the first VM is online the command will fail
occasionally because the first VM is deployed outside the CIDR range.


Guest Net:
Reserved CIDR:

- Attempt reservation before deploying a VM: Fails due to network not being
- Attempt reservation after many VMs are deployed: Fails due to VMs being
outside Reserved CIDR (e.g.,, and requires a lot of work to
change the VM's IP
- Attempt reservation after first VM is deployed: Either succeeds, or fails
if the first VMs IP is outside of the reserved CIDR.

How can we fix this without hacking work arounds into the deployment logic?
 (ex: Check network for, if it doesn't exist deploy the VM on
that IP, if it already exists deploy it wherever.)

Thank You,

Logan Barfield
Tranquil Hosting

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message