Richard W.M. Jones wrote:
Katti, Vadiraj (STSD-Openview) wrote:4. Can get the ip address of each of the guests with any of the APIsNo. Guests can send out packets from their interface using any IP address they want. By convention it's normally set up so that guests get an IP address from a DHCP server, but that's only a convention, not required. Imagine rephrasing the question as "Can I get the IP address of each machine on my LAN?".
Actually, if I'd thought about that a bit more, I might have said: look in your local ARP table, and compare the MAC addresses with the ones in the libvirt domain XML.
It's still true to say that there isn't necessarily a fixed 1-1 relationship between guests' network cards and IP addresses.
Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list