[et-mgmt-tools] How to get the IP address of Virtual Machines

Cole Robinson crobinso at redhat.com
Thu Feb 12 19:00:11 UTC 2009


Mackell, Thomas O wrote:
> We have several virtual guests running. Is there a way to get the guests virtual machines ip addresses ?
> We build the virtual machine using virt-install.  We are using DHCP for the temporary ip addresses.
> After the machines is built,  we currently use the virt-manager to open a console, do an ifconfig eth0 to get the machines ip address, is there an easier way to do this. Hopefully from the Dom 0 logon session.
> Currently running RHEL 5.3 os, the virtual machines are various version of Redhat and Fedora, Centos etc.
> 

You can try checking out the virt-mem suite:

http://et.redhat.com/~rjones/virt-mem/

There's a tool 'virt-ifconfig' that can be run on the host, and can show
a VM's net config. This stuff doesn't come in RHEL, so you'll have to
build it yourself.

- Cole




More information about the et-mgmt-tools mailing list