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

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


  • To: "Christian Horn" <chorn@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Arun Sharma" <arunain@xxxxxxxxx>
  • Date: Wed, 28 Nov 2007 19:04:53 +0530
  • Delivery-date: Wed, 28 Nov 2007 05:35:37 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.