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] Seeing the IP addresses of domUs from dom0

To: Ralf Schmitt <ibm.tivoli@xxxxxxxx>
Subject: Re: [Xen-users] Seeing the IP addresses of domUs from dom0
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Fri, 10 Feb 2006 20:03:43 +0530
Cc: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Feb 2006 14:45:20 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZsC+xlf7DEaOtU8ugob+QuYSnCtq3XpIkKPQgKVcxYdR3g9b1ToCag1BQHZXeao8BAxiNKaURxYuoVlC8etk50QZbaYO8PCNNmbnY0hAV2CegiVsro1HB8gi40AV/9CIfEp+PIuZB3vNUjrFC3t0NCagoIieHhdJNSoUOi/gU+c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1139585369.3927.27.camel@tivoli>
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: <6AADAFB378B01346A51AAC19A6B5C2B21A8F5E@xxxxxxxxxxxxxxxxxxxxxxxxx> <acb757c00602092110s566513bdw81ed0bf1c17f0e76@xxxxxxxxxxxxxx> <1139585369.3927.27.camel@tivoli>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/10/06, Ralf Schmitt <ibm.tivoli@xxxxxxxx> wrote:
with a MAC address entry in the domU configuration file it would
also be possible to find the IP address in the arp table with the
command:

   arp -n

on dom0 if you don't want to add each domU to the dhcp configuration.

You should also have a look at the tool "arpwatch". It sends you a mail
if a new address appears.

http://rpmseek.com/rpm-pl/arpwatch.html?hl=de&cx=857:A:80

Maybe this works only in a routed xen network ...

This doesn't work on my routed setup

arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.3              ether   00:09:5B:E6:3E:79   C                     eth0
192.168.1.1              ether   00:A0:C5:9B:AE:1D   C                     eth0
192.168.1.240            *       *                   MP                    eth0

The ip 192.168.1.240 is of a domU and the HWaddress has a * in it.


--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users