<div>Hi Adrian,</div><div><br></div>afaik, there is no a direct function to get the domain ip address if the address is acquired through DHCP<div><div><br></div><div>regards, </div><div><br></div><div>Camilo Aguilar<br><br>

<div class="gmail_quote">On Tue, Jul 6, 2010 at 3:14 PM, adrian wyssen <span dir="ltr"><<a href="mailto:wyssenadrian@gmail.com">wyssenadrian@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

year, i can find the mac address of the machine with virDomainGetXMLDesc, but not the ip. and since the machine is remote, the ip is not in my arp cache. is there no other way or can i get the ip out of mac (even if this is a "virtual" mac)?<div>


<br></div><div>I must be able to contact the virtual domain via it's IP from within the same network.</div><div><br></div><div>thanks for your help!</div><div>adrian<br><br><div class="gmail_quote">2010/7/6 Camilo Aguilar <span dir="ltr"><<a href="mailto:camilo@cloudescape.com" target="_blank">camilo@cloudescape.com</a>></span><div>

<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should take a look in <a href="http://libvirt.org/formatdomain.html" target="_blank">http://libvirt.org/formatdomain.html</a> and <a href="http://libvirt.org/html/libvirt-libvirt.html#virDomainGetXMLDesc" target="_blank">http://libvirt.org/html/libvirt-libvirt.html#virDomainGetXMLDesc</a><div>




<br></div><div>regards, </div><div>Camilo Aguilar</div><div><br><div class="gmail_quote"><div><div></div><div>On Tue, Jul 6, 2010 at 2:23 PM, adrian wyssen <span dir="ltr"><<a href="mailto:wyssenadrian@gmail.com" target="_blank">wyssenadrian@gmail.com</a>></span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Hi,<div>Sorry bothering you again, but I have another question: I did not find any possibility to get the IP address of a running domain with libvirt. I can get the domain pointer but I did not find any function in the API returning my the IP address of the domain. I just can get other information about the domain with virDomainGetInfo, but no IP. I want to be able to get either a static assigned IP or a dynamically received IP from a DHCP server.</div>





<div><br></div><div>PS: I use the ESX driver.</div><div>Thanks for giving me a hint.</div><div>Adrian</div>
<br></div></div>--<br>
libvir-list mailing list<br>
<a href="mailto:libvir-list@redhat.com" target="_blank">libvir-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div></div>