# How to set specific IP address to VM

**URL:** <https://forum.opennebula.io/t/how-to-set-specific-ip-address-to-vm/9092>\
**Category:** Installation & Configuration\
**Created:** [December 29, 2020, 5:24pm UTC](https://forum.opennebula.io/t/how-to-set-specific-ip-address-to-vm/9092 "2020-12-29T17:24:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsgahm](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@hsgahm](https://forum.opennebula.io/u/hsgahm)\
**Post date:** [December 29, 2020, 5:24pm UTC](https://forum.opennebula.io/t/how-to-set-specific-ip-address-to-vm/9092/1 "2020-12-29T17:24:21Z")

</div>

## Question

My Goal is use specific IP set to my new VM. such as 10.10.10.100  
I have made vnet and template.  
if I make VM without Force IPv4 then some ip properly set to NIC inside VM  
.  
But When I make VM by instantiate from template, change value in Network → Force IPv4 as “10.10.10.100”. the NIC has not set the Force IPv4 and set by VNET automatically issued.

When I check vm’s Configuration, the ETH0\_CONTEXT\_FORCE\_IPV4 is empty.  
Doew anybody know how to please kindly advice.

## env

Opennebula version: 5.12  
VNet Address Range is correct  
One-Context has been installed inside VM
