Skip to contentSkip to conversation

Using libvirt to obtain ip address of virtual domain

libvirt ranjan188 2 participants 2 messages Feb 17, 2010

lore
Share & tools
lore

ranjan188

author
#0 lore raw

I am new to libvirt and am looking for the most efficient way to programmatically obtain the ip address of all the Guest virtual machine from host machine . Libvirt is providing access to xen in my case. A nudge in the right direction would be appreciated!

Signature · 2 lines
View this message in context: http://old.nabble.com/-libvirt--Using-libvirt-to-obtain-ip-address-of-virtual-domain-tp27627745p27627745.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
#1 lore raw
Quoted 4 lines · On 17/02/2010 19:09, "ranjan188" <[email protected]> wrote:

I am new to libvirt and am looking for the most efficient way to programmatically obtain the ip address of all the Guest virtual machine from host machine . Libvirt is providing access to xen in my case. A nudge in the right direction would be appreciated!

There isn't necessarily an easy way to do that on the box, if for example guests are served IP addresses from an external DHCP server. The guests don't communicate their IP address info back to the local host controller (dom0).

-- Keir