On 21 Aug 2015 at 04:44:13, Abhinandan Prateek 
(abhinandan.prat...@shapeblue.com) wrote:
If you are manually assigning the ips better use the ips that are outside the 
cidr that cloudstack manages. 
The ips assigned by cloudstack dhcp are as per cloudstack assignments anything 
that happen outside VR’s dhcp is unknown to cloudstack. 


That’s not really true: This is from the “nics” table in the Database:



+-------+-------------+----------+--------------+------------+--------------+

| id    | instance_id | state    | ip4_address  | network_id | secondary_ip |

+-------+-------------+----------+--------------+------------+--------------+

|    72 |          58 | Reserved | x.y.x.92     |        204 |            1 |

| 19092 |        4929 | Reserved | x.y.z.92     |        204 |            0 |

+-------+-------------+----------+--------------+------------+———————+







> On 20-Aug-2015, at 11:29 pm, Frank Louwers <fr...@openminds.be> wrote: 
> 
> Hi, 
> 
> In a zone with Basic Networking, I’ve assigned a certain netblock x.y.z.0/24 
> to the Guest network in CloudStack. 
> 
> I have a VM-A that has primary ip address x.y.z.92 and secondary address on 
> the same nic x.y.z.52. 
> 
> For various reasons, *both* ips were configured manually, so not using the 
> VR’s dhcp. 
> 
> A while back, the x.y.z.92 was (manually) deconfigured on VM-A (so VM-A only 
> used x.y.x.52, but both ips are still configured to belong to VM-A in 
> Cloudstack). 
> 
> A few days ago, a new instance (VM-B) was spun up, and CS assigned ip 
> x.y.z.92 to that VM. Why would it do that? 
> Today, a new instance was spun up (VM-C), but CS assigned x.y.z.52 to VM-C… 
> 
> How and why does this happen?! Is this because VM-A does not use dhcp? That 
> might explain the .92 re-assignement, but certainly not the .52 reassignment, 
> as secondary ips don’t use dhcp anyhow… 
> 
> Can anyone tell me what’s going on, and what can be done to prevent his? 
> Running CS 4.4.2 at the moment, considering upgrading to 4.5.1 (or 4.5.2) 
> 
> Regards, 
> Frank 
> 

Find out more about ShapeBlue and our range of CloudStack related services 

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> 
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> 
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> 
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/> 
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> 
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> 

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark. 

Reply via email to