# How to know IP assigned to VM from external DHCP

**URL:** <https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716>\
**Category:** Product Support\
**Created:** [August 4, 2016, 6:59pm UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716 "2016-08-04T18:59:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedrog](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pedrog](https://forum.opennebula.io/u/pedrog)\
**Post date:** [August 4, 2016, 6:59pm UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716/1 "2016-08-04T18:59:43Z")

</div>

Hello,

Could someone demonstrate/explain how to use onevm (or the 4.14 web admin) to list a VM’s IP address when the VM’s IP are assigned from external DHCP server?

---

<div class="post-metadata">

**Author:** ![zllovesuki](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/zllovesuki/32/4729_2.png) [@zllovesuki](https://forum.opennebula.io/u/zllovesuki)\
**Post date:** [August 5, 2016, 3:00am UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716/2 "2016-08-05T03:00:31Z")

</div>

The resource is by definition _not managed by OpenNebula_, if they are assigned/acquired from outside of OpenNebula, unless OpenNebula supports it specifically (e.g. vOneCloud, EC2, etc). Therefore, OpenNebula will not be able to list VM’s IP addresses if they are assigned from an external DHCP server.

---

<div class="post-metadata">

**Author:** ![pedrog](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pedrog](https://forum.opennebula.io/u/pedrog)\
**Post date:** [August 5, 2016, 7:43pm UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716/3 "2016-08-05T19:43:41Z")

</div>

Thanks for the quick reply.  
Yes, OpenNebula does not manage this resource (IP).  
My hope was that there is someway that OpenNebula could interrogate the VM to get its IP, or the hypervisor to get the private side IP of the bridge connecting said VM. Any suggestions on how to use OpenNebula as a single point of info to get info even on resources that it does not manage direction (i.e. IPs)?

Gracias

---

<div class="post-metadata">

**Author:** ![zllovesuki](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/zllovesuki/32/4729_2.png) [@zllovesuki](https://forum.opennebula.io/u/zllovesuki)\
**Post date:** [August 5, 2016, 8:21pm UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716/4 "2016-08-05T20:21:10Z")

</div>

Maybe take a look at OneGate. You can let the VM sends information back to OpenNebula.

---

<div class="post-metadata">

**Author:** ![pedrog](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pedrog](https://forum.opennebula.io/u/pedrog)\
**Post date:** [August 9, 2016, 11:56am UTC](https://forum.opennebula.io/t/how-to-know-ip-assigned-to-vm-from-external-dhcp/2716/5 "2016-08-09T11:56:23Z")

</div>

thanks for this guidance. I will investigate. Gracias Pedro
