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] How to fetch Ip address from dom0 of domU?

To: "Arun Sharma" <arunain@xxxxxxxxx>
Subject: Re: [Xen-users] How to fetch Ip address from dom0 of domU?
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 21 Dec 2007 12:58:51 +0530
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 Dec 2007 23:29:44 -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:cc:in-reply-to:mime-version:content-type:references; bh=nA91yHXmPwZqI+210DSvZFIbenx17q/tXg2o6BmRink=; b=FQrAtN2fnSyYApeSxmvp8Pyd7GfJPebOuQercKF0oq3r4pyxy6gwHqySZvpULBQRNNnehdLDAap/+mnzui4k4UoLKYPo02IPYBHYQog2HQn99OasXGGzi/GcEOaGf7IKE59GkbjIl6i0VliKYg1zFryyWFW1hjySPlalT3rw6Zg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=JqlvzmIKZJeQURmiFjgu1cyAqO10Xsk9sDae45acENXN9KmoqjQivFT7evVcCtEBgtCaRJjAj0i/ae/ueOUgB6q+vn3jZramhOxUgzbocO7av2NH5Zzze4JuBz6b/qPvo4HbCgxXozcHhQBSfeT2jmiBgJgyVlROhfSH7EGSKjU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5ce3e56d0711270314y808a4b5y681ff46620d973e7@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have one solution. Attach a storage to each domain.

1 ) attach a storage of 1G to each domain.
2 ) mount this file to dom0.
3) put dom0 ip into this.

4) In Domu create a init.d script. that ping the dom0 at startup using the dom0 ip at storage location.
5) In dom0  "arp cache u can get the ip of the domU ....u can identify this using the domu mac address.

# arp -a | grep -i <domU mac>

Try this looks fine. IF domU reboot then if IP chnages still at bootup init.d script will run and in dom0 aro cache u will get the new ip address.


On Nov 27, 2007 4:44 PM, Arun Sharma < arunain@xxxxxxxxx> wrote:

Hello All

How to know the ip of domU , being present in dom0 console.?

Present i am having dom0 and one domU up and running. domU is getting ip address from dhcp.

But my question stays , Is there any way to know the ipaddress of domU without logging into domU.
it will be good if i get any api or command which i can kick in dom0 and get the ip of domU.

Arun Sharma

Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] How to fetch Ip address from dom0 of domU?, trilok nuwal <=