You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Makrand <ma...@gmail.com> on 2015/11/23 13:12:00 UTC

DHCP reservations on VR

Hello Cstackers,

I am wondering if is it possible to add HDCP reservations on VR? Lets say
I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained IP to
remain constant. In a real world, I can go to my GW device and set that
feature (MAC Address>>IP address entries and achieve DHCP reservations).
Wondering if that is doable on VR. And I want it to remain this persistent
across reboot of VRs.

-- 
Makrand

Re: DHCP reservations on VR

Posted by Rene Moser <ma...@renemoser.net>.
On 11/23/2015 02:52 PM, Makrand wrote:
> So even if VM is down for long period of time, the ip of that VM don't go
> to any other newly created VM? Right?

Right.

Re: DHCP reservations on VR

Posted by Rafael Weingärtner <ra...@gmail.com>.
That is it

On Mon, Nov 23, 2015 at 11:52 AM, Makrand <ma...@gmail.com> wrote:

> Thanks guys!
>
> So even if VM is down for long period of time, the ip of that VM don't go
> to any other newly created VM? Right?
>
> Thanks agian.
>
> On Mon, Nov 23, 2015 at 6:59 PM, Dag Sonstebo <Da...@shapeblue.com>
> wrote:
>
> > Hi Makrand,
> >
> > if you want to have a look check the /etc/dhcphosts.txt file on your VRs:
> >
> > root@r-207-VM:~# cat /etc/dhcphosts.txt
> > 02:00:21:fd:10:a7,set:10_1_1_162,VM2,infinite
> >
> >
> > Regards,
> >
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> >
> >
> >
> >
> > On 23/11/2015, 12:56, "Rene Moser" <ma...@renemoser.net> wrote:
> >
> > >Hi
> > >
> > >On 11/23/2015 01:12 PM, Makrand wrote:
> > >> Hello Cstackers,
> > >>
> > >> I am wondering if is it possible to add HDCP reservations on VR? Lets
> > say
> > >> I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained
> > IP to
> > >> remain constant. In a real world, I can go to my GW device and set
> that
> > >> feature (MAC Address>>IP address entries and achieve DHCP
> reservations).
> > >> Wondering if that is doable on VR. And I want it to remain this
> > persistent
> > >> across reboot of VRs.
> > >
> > >This is already the case. Any IP to VM DHCP relation is managed as
> > >reserved IP on VR.
> > >
> > >Yours
> > >René
> > 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.
> >
>
>
>
> --
> Makrand
>
> Trust your own instinct. Your mistakes might as well be your own, instead
> of someone else’s.
>



-- 
Rafael Weingärtner

Re: DHCP reservations on VR

Posted by Makrand <ma...@gmail.com>.
Thanks guys!

So even if VM is down for long period of time, the ip of that VM don't go
to any other newly created VM? Right?

Thanks agian.

On Mon, Nov 23, 2015 at 6:59 PM, Dag Sonstebo <Da...@shapeblue.com>
wrote:

> Hi Makrand,
>
> if you want to have a look check the /etc/dhcphosts.txt file on your VRs:
>
> root@r-207-VM:~# cat /etc/dhcphosts.txt
> 02:00:21:fd:10:a7,set:10_1_1_162,VM2,infinite
>
>
> Regards,
>
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
>
>
>
>
> On 23/11/2015, 12:56, "Rene Moser" <ma...@renemoser.net> wrote:
>
> >Hi
> >
> >On 11/23/2015 01:12 PM, Makrand wrote:
> >> Hello Cstackers,
> >>
> >> I am wondering if is it possible to add HDCP reservations on VR? Lets
> say
> >> I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained
> IP to
> >> remain constant. In a real world, I can go to my GW device and set that
> >> feature (MAC Address>>IP address entries and achieve DHCP reservations).
> >> Wondering if that is doable on VR. And I want it to remain this
> persistent
> >> across reboot of VRs.
> >
> >This is already the case. Any IP to VM DHCP relation is managed as
> >reserved IP on VR.
> >
> >Yours
> >René
> 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.
>



-- 
Makrand

Trust your own instinct. Your mistakes might as well be your own, instead
of someone else’s.

Re: DHCP reservations on VR

Posted by Dag Sonstebo <Da...@shapeblue.com>.
Hi Makrand,

if you want to have a look check the /etc/dhcphosts.txt file on your VRs:

root@r-207-VM:~# cat /etc/dhcphosts.txt
02:00:21:fd:10:a7,set:10_1_1_162,VM2,infinite


Regards,

Dag Sonstebo
Cloud Architect
ShapeBlue





On 23/11/2015, 12:56, "Rene Moser" <ma...@renemoser.net> wrote:

>Hi
>
>On 11/23/2015 01:12 PM, Makrand wrote:
>> Hello Cstackers,
>>
>> I am wondering if is it possible to add HDCP reservations on VR? Lets say
>> I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained IP to
>> remain constant. In a real world, I can go to my GW device and set that
>> feature (MAC Address>>IP address entries and achieve DHCP reservations).
>> Wondering if that is doable on VR. And I want it to remain this persistent
>> across reboot of VRs.
>
>This is already the case. Any IP to VM DHCP relation is managed as
>reserved IP on VR.
>
>Yours
>René
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.

Re: DHCP reservations on VR

Posted by Rene Moser <ma...@renemoser.net>.
Hi

On 11/23/2015 01:12 PM, Makrand wrote:
> Hello Cstackers,
> 
> I am wondering if is it possible to add HDCP reservations on VR? Lets say
> I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained IP to
> remain constant. In a real world, I can go to my GW device and set that
> feature (MAC Address>>IP address entries and achieve DHCP reservations).
> Wondering if that is doable on VR. And I want it to remain this persistent
> across reboot of VRs.

This is already the case. Any IP to VM DHCP relation is managed as
reserved IP on VR.

Yours
René

Re: DHCP reservations on VR

Posted by Rafael Weingärtner <ra...@gmail.com>.
Unless I am mistaken, Cs already does that. Once you deploy a VM if you do
not destroy it, its ip address will always be the same.

On Mon, Nov 23, 2015 at 10:12 AM, Makrand <ma...@gmail.com> wrote:

> Hello Cstackers,
>
> I am wondering if is it possible to add HDCP reservations on VR? Lets say
> I've a network with 10 VMs. Out of 10, for 4 VMs I want DHCP obtained IP to
> remain constant. In a real world, I can go to my GW device and set that
> feature (MAC Address>>IP address entries and achieve DHCP reservations).
> Wondering if that is doable on VR. And I want it to remain this persistent
> across reboot of VRs.
>
> --
> Makrand
>



-- 
Rafael Weingärtner