WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to fetch Ip address from dom0 of domU?

To: "Christian Horn" <chorn@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to fetch Ip address from dom0 of domU?
From: "Arun Sharma" <arunain@xxxxxxxxx>
Date: Wed, 28 Nov 2007 19:04:53 +0530
Delivery-date: Wed, 28 Nov 2007 05:35:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=U9L+gl5aACjYzwMEJpyITg8sIRaT/J7OXjcsQPD46Ik=; b=UQoJhdskBxFD5ISOTSDkzIVMvc3yUBkRQgkPbVLpBk79ZDimUrp46Jbr+AsA2AQSPcMAKtjpDj+CHgyslov4+pNNNNxJrww/rKW1uG7cNrmRCmhA3/+6XozgMyhP2M/C37WfZRZG/l9Ul+x4yj3HUKJWoAHP4ppjjFR2acaKfiw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bVJ/58u+2HaXjT6HBUYK83DX1fWEIXDHKl6u9PVfEr77R1oT3roZOh7GD22aRh0+pZj6k+pRuL66HnnyjxprHwgLGZF1rYFEANyufYjdL27659PTlFoHO2kF+n2YwQxUMblTI0APpFsY+3DMiff7dlotQEDLWa6Ug4fATLXVOkY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071127191617.GA24095@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5ce3e56d0711270314y808a4b5y681ff46620d973e7@xxxxxxxxxxxxxx> <474C1C3E.1000409@xxxxxxxxxx> <20071127191617.GA24095@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello

Is there any way to use XEN API (In Xen 3.1), which provides me function to get IP address of domU.
By providing (domU UUID, ID , or domU name) parameter and get the IP address.. Not sure.

The idea is to be present in dom0 and fetch the information of domU's ipaddress (domU getting the ip address from dhcp) :)

Regards
Arun




On Nov 28, 2007 12:46 AM, Christian Horn <chorn@xxxxxxxxxxxx> wrote:
On Tue, Nov 27, 2007 at 07:01:42PM +0530, Sadique Puthen wrote:
>
> There are ways, snoop the bridge while starting the domu and find out
> the ip. But that is very harder than logging in to the domu and running
> ifconfig.

Also dhcpd can directly log the assignment, and the arp-cache should
also contain the ip/mac.

Christian



--


Regards
Arun Sharma
0-934-829-3810
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users