You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Cristian Ciobanu <cr...@istream.today> on 2015/09/07 13:31:29 UTC

DHCP NIC instead of STATIC

Hello,

     I have a question regarding network connection, how can i change the NIC to Static IP allocation, because right now the IP are allocated on DHCP for VM's ( Cloudstack KVM )

My network card configuration look like this : 

[root@test network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT=1

Thanks !

Regards,
Cristian


Re: DHCP NIC instead of STATIC

Posted by Vadim Kimlaychuk <va...@kickcloud.net>.
Hello Cristian,

         I don't remember exactly which option I have turned on, but some 
of my networks allow IP configuration upon VM instance startup. Wizard 
shows extra field for manual IP definition in Network tab. May be more 
experienced people point what should you use if this is a case you are 
looking for.

Regards,

Vadim.

On 2015-09-08 10:11, Abhinandan Prateek wrote:

> A dhcp server runs in VR that allocates ip address to VM as per 
> configurations made by management server.
> 
>> On 07-Sep-2015, at 5:14 pm, Cristian Ciobanu 
>> <cr...@istream.today> wrote:
>> 
>> Hello,
>> 
>> Yes, i know this, but i expected the IP to be allocated in this way by 
>> the System ( cloudstack )
>> 
>> My question: is possible ? or not ? for example if you choose to add 3 
>> IP's to the VM from the management interface, do i have to configure 
>> manually the IP's ? ( i don't think this is the right procedure )
>> 
>> Regards,
>> Cristian
>> 
>> On 9/7/2015 2:39:03 PM, Jayapal Reddy Uradi 
>> <ja...@citrix.com> wrote:
>> 
>> Update the below fields in you config.
>> 
>> BOOTPROTO=static
>> IPADDR=192.168.1.10
>> NETMASK=255.255.255.0
>> 
>> -Jayapal
>> 
>> On 07-Sep-2015, at 5:01 pm, Cristian Ciobanu <>> wrote:
>> 
>> Hello,
>> 
>> I have a question regarding network connection, how can i change the 
>> NIC to Static IP allocation, because right now the IP are allocated on 
>> DHCP for VM's ( Cloudstack KVM )
>> 
>> My network card configuration look like this :
>> 
>> [root@test network-scripts]# cat ifcfg-eth0
>> DEVICE="eth0"
>> BOOTPROTO="dhcp"
>> IPV6INIT="yes"
>> NM_CONTROLLED="yes"
>> ONBOOT="yes"
>> TYPE="Ethernet"
>> PERSISTENT_DHCLIENT=1
>> 
>> Thanks !
>> 
>> Regards,
>> Cristian
> 
> Find out more about ShapeBlue and our range of CloudStack related 
> services
> 
> IaaS Cloud Design & 
> Build<http://shapeblue.com/iaas-cloud-design-and-build// [1]>
> CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/ 
> [2]>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/ [3]>
> CloudStack Software 
> Engineering<http://shapeblue.com/cloudstack-software-engineering/ [4]>
> CloudStack Infrastructure 
> Support<http://shapeblue.com/cloudstack-infrastructure-support/ [5]>
> CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/ [6]>
> 
> 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.



Links:
------
[1] http://shapeblue.com/iaas-cloud-design-and-build//
[2] http://shapeblue.com/csforge/
[3] http://shapeblue.com/cloudstack-consultancy/
[4] http://shapeblue.com/cloudstack-software-engineering/
[5] http://shapeblue.com/cloudstack-infrastructure-support/
[6] http://shapeblue.com/cloudstack-training/

Re: DHCP NIC instead of STATIC

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
A dhcp server runs in VR that allocates ip address to VM as per configurations made by management server.

> On 07-Sep-2015, at 5:14 pm, Cristian Ciobanu <cr...@istream.today> wrote:
>
> Hello,
>
>      Yes, i know this, but i expected the IP to be allocated in this way by the System ( cloudstack )
>
>       My question: is possible ? or not ? for example if you choose to add 3 IP's to the VM from the management interface, do i have to configure manually the IP's ?  ( i don't think this is the right procedure )
>
> Regards,
> Cristian
>
>
> On 9/7/2015 2:39:03 PM, Jayapal Reddy Uradi <ja...@citrix.com> wrote:
>
> Update the below fields in you config.
>
>
>
>
> BOOTPROTO=static
> IPADDR=192.168.1.10
> NETMASK=255.255.255.0
>
>
> -Jayapal
>
> On 07-Sep-2015, at 5:01 pm, Cristian Ciobanu <>> wrote:
>
> Hello,
>
> I have a question regarding network connection, how can i change the NIC to Static IP allocation, because right now the IP are allocated on DHCP for VM's ( Cloudstack KVM )
>
> My network card configuration look like this :
>
> [root@test network-scripts]# cat ifcfg-eth0
> DEVICE="eth0"
> BOOTPROTO="dhcp"
> IPV6INIT="yes"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> TYPE="Ethernet"
> PERSISTENT_DHCLIENT=1
>
> Thanks !
>
> Regards,
> Cristian
>
>

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 NIC instead of STATIC

Posted by Cristian Ciobanu <cr...@istream.today>.
Hello,

     Yes, i know this, but i expected the IP to be allocated in this way by the System ( cloudstack )

      My question: is possible ? or not ? for example if you choose to add 3 IP's to the VM from the management interface, do i have to configure manually the IP's ?  ( i don't think this is the right procedure )

Regards,
Cristian

 
On 9/7/2015 2:39:03 PM, Jayapal Reddy Uradi <ja...@citrix.com> wrote:

Update the below fields in you config.




BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0


-Jayapal

On 07-Sep-2015, at 5:01 pm, Cristian Ciobanu <>> wrote:

Hello,

I have a question regarding network connection, how can i change the NIC to Static IP allocation, because right now the IP are allocated on DHCP for VM's ( Cloudstack KVM )

My network card configuration look like this :

[root@test network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT=1

Thanks !

Regards,
Cristian



Re: DHCP NIC instead of STATIC

Posted by Jayapal Reddy Uradi <ja...@citrix.com>.
Update the below fields in you config.




BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0


-Jayapal

On 07-Sep-2015, at 5:01 pm, Cristian Ciobanu <cr...@istream.today>> wrote:

Hello,

     I have a question regarding network connection, how can i change the NIC to Static IP allocation, because right now the IP are allocated on DHCP for VM's ( Cloudstack KVM )

My network card configuration look like this :

[root@test network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT=1

Thanks !

Regards,
Cristian