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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to determine DHCP address assigned to client?
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Mon, 2 Feb 2009 20:33:57 +0000
Delivery-date: Mon, 02 Feb 2009 12:34:43 -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
Mike O'Brien wrote:
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.

Use a tool like Wireshark and watch the packets ? If you know the MAC address of the client*, then you can simply look for packets with that MAC address.

My preference is to fix this in the guest config file - that way the client doesn't keep thinking it's got a new interface each time it boots.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list