This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] IP of a running VM in XEN

To: Pallab Chakrabarty <pchakrabarty@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] IP of a running VM in XEN
From: Bhasker C V <bcv@xxxxxxxxx>
Date: Thu, 30 Apr 2009 08:45:12 +0100 (BST)
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Apr 2009 23:44:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EMEWEMEW2_DELIMl3Y1aY95478fea1c064724e8ced2, pchakrabarty@xxxxxxxxxxxxxxx, DDBB90D12B1A4DD4AF>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <EMEWEMEW2_DELIMl3Y1aY95478fea1c064724e8ced2, pchakrabarty@xxxxxxxxxxxxxxx, DDBB90D12B1A4DD4AF>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 1.10 (DEB 962 2008-03-14)
Classic question.

The DomUs are like machines in the network and it is not
easy to find the IP of the domU machines.

Most of the times, the DomUs are connected to physical ethernet
of Dom0 via bridge. So arp on the bridge must show the ip
addresses in that machine.

I usually do a

ping -b
which will make all the machines to reply. Once this is done, within a short period if we try to do a arp information

arp -n

you will get a list of ip addresses. The only problem is to sort out
which IPs belong to the DomUs and which are from the other machines
in the network. This is easily done by doing a grep for
the MAC prefix of the xen MAC addresses (if you have used automatic
allocation of MAC addresses to the network cards of domUs )

On Thu, 30 Apr 2009, Pallab Chakrabarty wrote:




I want to know the IP of a running VM in XEN.. Is there any way to have
this without login to that VM..

Any XEN tools ?

- regards


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>