[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] How to determine DHCP address assigned to client?


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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).
        Dustin

-----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 
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.