virsh domifaddr domain does not show static IP

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Sep 9 18:11:48 UTC 2021


Hi,

I have assigned static IP for all the below KVM Guest VM's. Is there a way
to find out the IP of the below VM's from virsh utility or any
other utility? virsh domifaddr testdobssbahrainms does not show the static
IP.

# virsh list --all
 Id   Name                      State
-----------------------------------------
 1    testdobssbahrainms         running
 2    testdosstomcatpibms       running
 3    testdobsstomcatkineticms   running
 4    testdobsstomcatmsbms       running
 5    testdobsstomcatfdms        running
 6    testdobsstomcathsbcnetms   running
 7    testdobsstomcatdbbms       running
 8    testdobssapigeedev         running

#
# virt-install --version
2.2.1
# cat /etc/redhat-release
CentOS Stream release 8

#virsh domifaddr testdobssbahrainms
#Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------

Please guide. Thanks in advance.

Best Regards,

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20210909/c76f7914/attachment.htm>


More information about the virt-tools-list mailing list