Re: Question about virsh domifaddr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 11, 2017 at 06:48:05AM -0700, Vinod Chegu wrote:
> Hi,
> 
> In one of our test env. the virsh domifaddr <domain-name> --full doesn't
> provide any info about the interfaces of a live VM when the interfaces were
> configured on linux bridges (DHCP is being used to IPs).  This command does
> return information when interfaces were using NAT.

domifaddr has two ways to get the answer. First it can ask the libvirt
managed dnsmasq instance what it assigned for DHCP. Second it can ask
the QEMU guest agent to report what the guest OS has.

The former won't work for you if you're relying on DHCP server on the
LAN, instead of libvirt's local NAT based network. The latter obviously
requires you to install the guest agent.



Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux