# Suggestion: IP address via DHCP and still shown in Sunstone

**URL:** <https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647>\
**Category:** Product Support\
**Created:** [June 21, 2021, 12:04pm UTC](https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647 "2021-06-21T12:04:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tosaraja](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tosaraja/32/6686_2.png) [@tosaraja](https://forum.opennebula.io/u/tosaraja)\
**Post date:** [June 21, 2021, 12:04pm UTC](https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647/1 "2021-06-21T12:04:07Z")

</div>

Suggestion: Modify the VM monitoring part of the code so that it queries the operating system for the IP address and returns it to OpenNebula. That way you can show the IP address of the VM in Sunstone even when it’s not delivered via the contextualization i.e. virtual DVD image.

Our VMs get their IP address via our DHCP pool and not from OpenNebula, and we managed to do this modification successfully.

---

<div class="post-metadata">

**Author:** ![rdiaz](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rdiaz/32/6416_2.png) [@rdiaz](https://forum.opennebula.io/u/rdiaz)\
**Post date:** [June 23, 2021, 7:37am UTC](https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647/2 "2021-06-23T07:37:21Z")

</div>

Hi @tosaraja,

Thanks for the suggestion. It’s an interesting use case. We’ll study it and keep you informed if there is any progress in this regard.

Cheers.

---

<div class="post-metadata">

**Author:** ![Max\_Rybas](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Max\_Rybas](https://forum.opennebula.io/u/Max_Rybas)\
**Post date:** [August 21, 2023, 10:56am UTC](https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647/3 "2023-08-21T10:56:49Z")

</div>

are there any updates on this?

---

<div class="post-metadata">

**Author:** ![vpalma](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vpalma/32/8065_2.png) [@vpalma](https://forum.opennebula.io/u/vpalma)\
**Post date:** [August 22, 2023, 11:17am UTC](https://forum.opennebula.io/t/suggestion-ip-address-via-dhcp-and-still-shown-in-sunstone/9647/4 "2023-08-22T11:17:12Z")

</div>

Hi @Max_Rybas

Currently external IPs not managed by OpenNebula are monitored, but these IPs are hidden in the VM datatable for performance reasons.

However, you can enable the attribute `get_extended_vm_monitoring` in [sunstone-server.conf](https://docs.opennebula.io/6.6/installation_and_configuration/opennebula_services/sunstone.html) to display it.

Don’t forget to restart Sunstone service after this change.

Best,  
Victor.
