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 determine DHCP address assigned to client?

To: "Mike O'Brien" <obrien@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] How to determine DHCP address assigned to client?
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2009 09:23:21 +1100
Delivery-date: Mon, 02 Feb 2009 14:24:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7B5C3686-1507-4D52-9447-71B01F12F85D@xxxxxxxx>
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: <7B5C3686-1507-4D52-9447-71B01F12F85D@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmFc6Q4ruw5dXoTRgeswEAO/NnJtwAEMlaw
Thread-topic: [Xen-users] How to determine DHCP address assigned to client?
>       Is there any way to interrogate a client to determine what DHCP
> address was assigned to it?  The client, a Fedora 9 domU running on a
> CentOS 5.2 dom0, has no serial console, so there's no way to connect
> to it till I can find its address.

A few options...
. You could get the machine to publish it's IP in xentstore
. use something like arpwatch in the logs of Dom0 and then grep for the
IP address
. examine the DHCP lease database
. use tcpdump with an 'ether src <mac of client>' filter
. nmap -sP <subnet> and then examine the arp cache


Xen-users mailing list