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: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Mon, 2 Feb 2009 15:40:01 -0500
Delivery-date: Mon, 02 Feb 2009 12:40:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a06240807c5ad08d5a8ae@xxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: PRD, Inc.
References: <7B5C3686-1507-4D52-9447-71B01F12F85D@xxxxxxxx> <a06240807c5ad08d5a8ae@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmFdbAqYW1KNQUVSuy3f/8AfoNqPQAAFh8A
        Also, doesn't your DHCP server have a record of the lease?  Or do
you not have access to your DHCP server?  Regarding the Wireshark
suggestion, tcpdump should cut it for what you need.  Either of these would
likely have to be run on the dom0 due to the fact that the bridge is a
virtual switch wherein other domUs wouldn't see the packets destined for the
one in question (just as other machines wouldn't see the packets headed for
the dom0 and it's domUs assuming it is connected to a switch as well).

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Simon Hobson
Sent: Monday, February 02, 2009 15:34
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to determine DHCP address assigned to client?

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 

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

Xen-users mailing list