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 
<[email protected]<mailto:[email protected]>> 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


Reply via email to