From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: Ian Campbell <Ian.Campbell@citrix.com>, xen-devel@lists.xen.org
Subject: Re: Best way to get IP addresses from VMs without logging in to them?
Date: Wed, 11 Jun 2014 19:02:32 +0100 [thread overview]
Message-ID: <539899B8.7030804@citrix.com> (raw)
In-Reply-To: <CAHehzX2Mbw-y9qw8NpQ1i9h7dzG=UoR9Vdtp5Mro3RxxtVL4iA@mail.gmail.com>
On 11/06/14 18:47, Russ Pavlicek wrote:
> Ian,
>
> The tcpdump route is probably in line with the process in the Wiki.
> Still seems like a really awkward solution to me.
>
> Andrew,
>
> Using ARP or the DHCP logs on a machine which runs the DHCP server is
> definitely simpler, but it doesn't apply in my case unfortunately.
> I've used solutions like the daemon you describe in the past, but I
> was hoping not to have to go that way.
ARP and DHCP sniffing is done in dom0.
>
> There isn't any way to execute a command over the Xen console
> interface is there?
No - Xen has no knowledge of networking. I assume you actually mean dom0.
> Or query some table from the bridge without
> sniffing packets? I was hoping there would be some way to query for
> the value, instead of sniffing for one, especially when the virtual
> network wire has to know what IPs are assigned where.
Without cooperation from the guest, something somewhere needs to sniff
for the information.
While the simple case is easy, the general case is not. The network
setup on the other end of the vif can be arbitrarily complicated with
multiple IP addresses, vlans or bonds. There are also setups with
multiple vifs.
~Andrew
next prev parent reply other threads:[~2014-06-11 18:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-11 16:32 Best way to get IP addresses from VMs without logging in to them? Russ Pavlicek
2014-06-11 16:38 ` Ian Campbell
2014-06-11 16:49 ` Andrew Cooper
2014-06-11 17:47 ` Russ Pavlicek
2014-06-11 18:02 ` Andrew Cooper [this message]
2014-06-11 18:14 ` Ian Campbell
2014-06-11 18:36 ` Russ Pavlicek
2014-06-11 18:44 ` Andrew Cooper
2014-06-11 22:10 ` Don Slutz
2014-06-12 7:26 ` Ian Campbell
2014-06-12 8:19 ` Tamas Lengyel
2014-06-11 16:40 ` Andy Smith
2014-06-11 16:49 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=539899B8.7030804@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=russell.pavlicek@xenproject.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.