You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Deepak Sihag <De...@infosys.com> on 2014/03/15 09:26:46 UTC

How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Hi all,

In my network I have one physical (external to cloudstack) DHCP server and in the same network I have configured the CloudStack. As all CloudStack VM's MAC address starts with 06 so I configured the external DHCP not to allocate IP to VM but cloudstack DHCP still can allocate the IP to other physical machines in my network. So I want help on this, What can be done so that my cloudstack DHCP vm does not allocate IPs to other machines in network.

Regards,
Deepak Sihag



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by 刘彬 <he...@gmail.com>.
Thanks very much,Recently, I will communicate with the company's technology
consultant Ctrix














云计算基础架构师
Github:https://github.com/heidsoft
Weibo: http://weibo.com/liuganbin
研究方向:云计算(云安全)、大数据(数据处理分析)
主要学习: Linux / C / C++ / JAVA
Email:heidsoftg@gmail.com
Tell:18601706743


2014-03-16 18:10 GMT+08:00 Saksham Srivastava <saksham.srivastava@citrix.com
>:

> If you use isolated guest network or vpc, this could be of help:
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/reserved-ip-addresses-non-csvms.html
>
> Thanks,
> Saksham
> ________________________________________
> From: Deepak Sihag [Deepak_Sihag@infosys.com]
> Sent: Saturday, March 15, 2014 1:56 PM
> To: users@cloudstack.apache.org
> Subject: How to stop cloudstack DHCP server to allocate IP to another
> physical machines in network
>
> Hi all,
>
> In my network I have one physical (external to cloudstack) DHCP server and
> in the same network I have configured the CloudStack. As all CloudStack
> VM's MAC address starts with 06 so I configured the external DHCP not to
> allocate IP to VM but cloudstack DHCP still can allocate the IP to other
> physical machines in my network. So I want help on this, What can be done
> so that my cloudstack DHCP vm does not allocate IPs to other machines in
> network.
>
> Regards,
> Deepak Sihag
>
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>

RE: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by Saksham Srivastava <sa...@citrix.com>.
If you use isolated guest network or vpc, this could be of help:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/reserved-ip-addresses-non-csvms.html

Thanks,
Saksham
________________________________________
From: Deepak Sihag [Deepak_Sihag@infosys.com]
Sent: Saturday, March 15, 2014 1:56 PM
To: users@cloudstack.apache.org
Subject: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Hi all,

In my network I have one physical (external to cloudstack) DHCP server and in the same network I have configured the CloudStack. As all CloudStack VM's MAC address starts with 06 so I configured the external DHCP not to allocate IP to VM but cloudstack DHCP still can allocate the IP to other physical machines in my network. So I want help on this, What can be done so that my cloudstack DHCP vm does not allocate IPs to other machines in network.

Regards,
Deepak Sihag



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by Thehyperadvisor <th...@gmail.com>.
Your ip shouldn't change once it's assigned but if you truly need to have it static in the nic settings of the guest you can create a post process using the cloudstack api, if you want to use the ip giving by cloudstack, for the template and OS that needs to deploy and set static ips. Im not sure how others do it but I'm sure it's roughly the same type of process. 

This post should help http://thehyperadvisor.com/2013/10/28/cloudstack-api-and-template-building-tip-1/


Antone
@thehyperadvisor
http://thehyperadvisor.com

Sent from mobile device.

> On Mar 15, 2014, at 9:59 AM, 刘彬 <he...@gmail.com> wrote:
> 
> I don't know,but,I have a problem the same to you , how to set vm a static
> ip?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 云计算基础架构师
> Github:https://github.com/heidsoft
> Weibo: http://weibo.com/liuganbin
> 研究方向:云计算(云安全)、大数据(数据处理分析)
> 主要学习: Linux / C / C++ / JAVA
> Email:heidsoftg@gmail.com
> Tell:18601706743
> 
> 
> 2014-03-15 21:39 GMT+08:00 Deepak Sihag <De...@infosys.com>:
> 
>> Thanks for your input.
>> 
>> Regards,
>> Deepak Sihag
>> 
>> 
>> 
>> -----Original Message-----
>> From: Thehyperadvisor [mailto:thehyperadvisor@gmail.com]
>> Sent: Saturday, March 15, 2014 6:32 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: How to stop cloudstack DHCP server to allocate IP to another
>> physical machines in network
>> 
>> I'm not sure if it's possible in your case but the easiest would be to
>> separate the cloudstack and physical servers on different vlans or
>> broadcast domain.
>> 
>> Sent from mobile device.
>> 
>>>> On Mar 15, 2014, at 4:26 AM, Deepak Sihag <De...@infosys.com>
>>> wrote:
>>> 
>>> Hi all,
>>> 
>>> In my network I have one physical (external to cloudstack) DHCP server
>> and in the same network I have configured the CloudStack. As all CloudStack
>> VM's MAC address starts with 06 so I configured the external DHCP not to
>> allocate IP to VM but cloudstack DHCP still can allocate the IP to other
>> physical machines in my network. So I want help on this, What can be done
>> so that my cloudstack DHCP vm does not allocate IPs to other machines in
>> network.
>>> 
>>> Regards,
>>> Deepak Sihag
>>> 
>>> 
>>> 
>>> **************** CAUTION - Disclaimer ***************** This e-mail
>>> contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for
>>> the use of the addressee(s). If you are not the intended recipient,
>>> please notify the sender by e-mail and delete the original message.
>>> Further, you are not to copy, disclose, or distribute this e-mail or
>>> its contents to any other person and any such actions are unlawful.
>>> This e-mail may contain viruses. Infosys has taken every reasonable
>>> precaution to minimize this risk, but is not liable for any damage you
>>> may sustain as a result of any virus in this e-mail. You should carry
>>> out your own virus checks before opening the e-mail or attachment.
>>> Infosys reserves the right to monitor and review the content of all
>>> messages sent to or from this e-mail address. Messages sent to or from
>> this e-mail address may be stored on the Infosys e-mail system.
>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>> 

Re: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by 刘彬 <he...@gmail.com>.
I don't know,but,I have a problem the same to you , how to set vm a static
ip?














云计算基础架构师
Github:https://github.com/heidsoft
Weibo: http://weibo.com/liuganbin
研究方向:云计算(云安全)、大数据(数据处理分析)
主要学习: Linux / C / C++ / JAVA
Email:heidsoftg@gmail.com
Tell:18601706743


2014-03-15 21:39 GMT+08:00 Deepak Sihag <De...@infosys.com>:

> Thanks for your input.
>
> Regards,
> Deepak Sihag
>
>
>
> -----Original Message-----
> From: Thehyperadvisor [mailto:thehyperadvisor@gmail.com]
> Sent: Saturday, March 15, 2014 6:32 PM
> To: users@cloudstack.apache.org
> Subject: Re: How to stop cloudstack DHCP server to allocate IP to another
> physical machines in network
>
> I'm not sure if it's possible in your case but the easiest would be to
> separate the cloudstack and physical servers on different vlans or
> broadcast domain.
>
> Sent from mobile device.
>
> > On Mar 15, 2014, at 4:26 AM, Deepak Sihag <De...@infosys.com>
> wrote:
> >
> > Hi all,
> >
> > In my network I have one physical (external to cloudstack) DHCP server
> and in the same network I have configured the CloudStack. As all CloudStack
> VM's MAC address starts with 06 so I configured the external DHCP not to
> allocate IP to VM but cloudstack DHCP still can allocate the IP to other
> physical machines in my network. So I want help on this, What can be done
> so that my cloudstack DHCP vm does not allocate IPs to other machines in
> network.
> >
> > Regards,
> > Deepak Sihag
> >
> >
> >
> > **************** CAUTION - Disclaimer ***************** This e-mail
> > contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for
> > the use of the addressee(s). If you are not the intended recipient,
> > please notify the sender by e-mail and delete the original message.
> > Further, you are not to copy, disclose, or distribute this e-mail or
> > its contents to any other person and any such actions are unlawful.
> > This e-mail may contain viruses. Infosys has taken every reasonable
> > precaution to minimize this risk, but is not liable for any damage you
> > may sustain as a result of any virus in this e-mail. You should carry
> > out your own virus checks before opening the e-mail or attachment.
> > Infosys reserves the right to monitor and review the content of all
> > messages sent to or from this e-mail address. Messages sent to or from
> this e-mail address may be stored on the Infosys e-mail system.
> > ***INFOSYS******** End of Disclaimer ********INFOSYS***
>

RE: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by Deepak Sihag <De...@infosys.com>.
Thanks for your input.

Regards,
Deepak Sihag



-----Original Message-----
From: Thehyperadvisor [mailto:thehyperadvisor@gmail.com] 
Sent: Saturday, March 15, 2014 6:32 PM
To: users@cloudstack.apache.org
Subject: Re: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

I'm not sure if it's possible in your case but the easiest would be to separate the cloudstack and physical servers on different vlans or broadcast domain.

Sent from mobile device.

> On Mar 15, 2014, at 4:26 AM, Deepak Sihag <De...@infosys.com> wrote:
> 
> Hi all,
> 
> In my network I have one physical (external to cloudstack) DHCP server and in the same network I have configured the CloudStack. As all CloudStack VM's MAC address starts with 06 so I configured the external DHCP not to allocate IP to VM but cloudstack DHCP still can allocate the IP to other physical machines in my network. So I want help on this, What can be done so that my cloudstack DHCP vm does not allocate IPs to other machines in network.
> 
> Regards,
> Deepak Sihag
> 
> 
> 
> **************** CAUTION - Disclaimer ***************** This e-mail 
> contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for 
> the use of the addressee(s). If you are not the intended recipient, 
> please notify the sender by e-mail and delete the original message. 
> Further, you are not to copy, disclose, or distribute this e-mail or 
> its contents to any other person and any such actions are unlawful. 
> This e-mail may contain viruses. Infosys has taken every reasonable 
> precaution to minimize this risk, but is not liable for any damage you 
> may sustain as a result of any virus in this e-mail. You should carry 
> out your own virus checks before opening the e-mail or attachment. 
> Infosys reserves the right to monitor and review the content of all 
> messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: How to stop cloudstack DHCP server to allocate IP to another physical machines in network

Posted by Thehyperadvisor <th...@gmail.com>.
I'm not sure if it's possible in your case but the easiest would be to separate the cloudstack and physical servers on different vlans or broadcast domain.

Sent from mobile device.

> On Mar 15, 2014, at 4:26 AM, Deepak Sihag <De...@infosys.com> wrote:
> 
> Hi all,
> 
> In my network I have one physical (external to cloudstack) DHCP server and in the same network I have configured the CloudStack. As all CloudStack VM's MAC address starts with 06 so I configured the external DHCP not to allocate IP to VM but cloudstack DHCP still can allocate the IP to other physical machines in my network. So I want help on this, What can be done so that my cloudstack DHCP vm does not allocate IPs to other machines in network.
> 
> Regards,
> Deepak Sihag
> 
> 
> 
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, please 
> notify the sender by e-mail and delete the original message. Further, you are not 
> to copy, disclose, or distribute this e-mail or its contents to any other person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
> every reasonable precaution to minimize this risk, but is not liable for any damage 
> you may sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves the 
> right to monitor and review the content of all messages sent to or from this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***