An alternative and possibly easier approach would be as follows:

1. Create Shared Network and allocate the required VLAN (Whilst we are using 
the Shared Network offering, we can still create what is effectively an 
isolated network by assigning to an Account, we are simply using this offering 
as it does not use the VR as the Gateway Device)
2. Use the API to create a VM with the required IP address on the appropriate 
network.  The VR for the network will allocate the IP to the VM via DHCP

This approach ensures CloudStack is aware of the IP the VM should have, and no 
database 'hacking' is required, but it does use DHCP on the VR and not an 
external DHCP Server.  If you still need to run the external DHCP Server, you 
could use MAC Filtering to prevent conflicts etc.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-----Original Message-----
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com]
Sent: 02 February 2015 08:44
To: <users@cloudstack.apache.org>
Subject: Re: How to external IP for Guest Network

Hi Keerthi,

External dhcp server integration to cloudstack is not there currently.

You can try the following:
1. create shared network offering with out dhcp (or with out any service) 2. 
Create shared network using this offering. Give ip range and vlan same as your 
dhcp range while creating network..
3. Configure your external dhcp server .
3. Deploy vm in this network. vm will get the ip from the external dhcp server.
4. Take the ip of the vm ip address from the vm console and update the vm nic 
ip in nics table ip4_address.
5. Also manually update your dns record for the vm.

Thanks,
Jayapal


On 02-Feb-2015, at 12:49 PM, Keerthiraja SJ <sjkeer...@gmail.com>
 wrote:

> Hi All
>
> In CloudStack Advance Networking is it possible to use IP without
> Virtualrouter for guest network. Where my Network team will create
> allocate private IP address that will be in vlan. So whenever I create
> a VM ip address has to allocate via external dhcp server and routing
> should happen via my cisco. If so how to do that.
>
> Thanks,
> Keerthi

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