KVM guest VM IP address

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

 



Hi,

I am trying to find out the IP address of the KVM guest virtual machine. 

#virsh dumpxml newsoftlinedrupalpoc | grep "mac address" | awk -F\' '{ print $2}'
52:54:00:2c:7e:ff
[root@baseserver1 ~]# arp -an | grep 52:54:00:2c:7e:ff

[root@baseserver1 ~]# virsh domifaddr newsoftlinedrupalpoc
 Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------

[root@baseserver1 ~]#

It is not showing anything. I manually configure the IP using /etc/sysconfig/network-scripts/ifcfg-eth0

_ONBOOT_=yes
IPADDR=192.168.0.189
PREFIX=24
GATEWAY=192.168.0.10
DNS1=8.8.8.8
DNS2=8.8.4.4

CentOS Linux release 7.6.1810 (Core)
virt-install --version
1.5.0
virsh version
Compiled against library: libvirt 4.5.0
Using library: libvirt 4.5.0
Using API: QEMU 4.5.0
Running hypervisor: QEMU 1.5.3

Am I missing something? Thanks in advance and I look forward to hearing from you. 

Best Regards,

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux