How To Get Runnig VM Ip Address in Kvm/Libvirt

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-get-runnig-vm-ip-address-in-kvmlibvirt/
PINTEREST
PINTEREST
INSTAGRAM

There are times when we start virtual machine and want to get ip address quickly without open any gui or connecting virtual machines console. Here is the tip.

The magic is that virtual machines interfaces are listed than mac address is grepped. After grepping mac address we are looking our arp table to find corresponding ip address and put it to the screen. This script will list all interfaces of vm if it has more than one.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-get-runnig-vm-ip-address-in-kvmlibvirt/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  Find My Ip

Leave a Reply

Your email address will not be published.