# Network Bridged confguration and DHCP

**URL:** <https://forum.opennebula.io/t/network-bridged-confguration-and-dhcp/4704>\
**Category:** Product Support\
**Created:** [July 31, 2017, 2:31pm UTC](https://forum.opennebula.io/t/network-bridged-confguration-and-dhcp/4704 "2017-07-31T14:31:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomhalo](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@tomhalo](https://forum.opennebula.io/u/tomhalo)\
**Post date:** [July 31, 2017, 2:31pm UTC](https://forum.opennebula.io/t/network-bridged-confguration-and-dhcp/4704/1 "2017-07-31T14:31:03Z")

</div>

Hi,

I’m testing Openneubula under VMware (ESXi).  
Iv’e manged to initiate successfully a VM. but couldn’t get the network to work and access the internet.  
these are the hypervisor coniguration:  
/etc/sysconfig/network-scripts/ifcfg-br1  
DEVICE=br1  
TYPE=Bridge  
ONBOOT=yes  
BOOTPROTO=none  
NM\_CONTROLLED=no  
DELAY=0

DEVICE=ens192  
TYPE=Ethernet  
BOOTPROTO=none  
ONBOOT=yes  
NM\_CONTROLLED=no  
BRIDGE=br1

So basically, ens192 is bridged to br1.

I have created a virtual network in Opennebula (192.168.1.0/24) without a vlan id since it’s under vmware with briged configured as br1.

when I’m launching a vm (with cirros for example), it does not discover the IP while the dhcp service is starting. and I have no networking to that VM.

In the “Lease” tab it does assign IP to that VM.

What am I configured wrong?

Thanks in advance,  
Tom

---

<div class="post-metadata">

**Author:** ![tomhalo](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@tomhalo](https://forum.opennebula.io/u/tomhalo)\
**Post date:** [August 2, 2017, 8:12am UTC](https://forum.opennebula.io/t/network-bridged-confguration-and-dhcp/4704/2 "2017-08-02T08:12:05Z")

</div>

well, dhcp is not in used in opennebula, using contextualization…

solved with this doc  
[http://docs.opennebula.org/5.4/operation/vm\_setup/kvm.html#kvm-contextualization](http://docs.opennebula.org/5.4/operation/vm_setup/kvm.html#kvm-contextualization)
