From: Stefan Weil <weil@mail.berlios.de>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Mike Ryan <mikeryan@isi.edu>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] add a command line option to specify the interface to send multicast packets on
Date: Mon, 15 Nov 2010 22:22:22 +0100 [thread overview]
Message-ID: <4CE1A48E.4070704@mail.berlios.de> (raw)
In-Reply-To: <4CE1A127.5080209@codemonkey.ws>
Am 15.11.2010 22:07, schrieb Anthony Liguori:
> On 11/15/2010 01:52 PM, Mike Ryan wrote:
>> I'll clarify/elaborate a bit:
>>
>> When using a multicast socket, the OS chooses a default physical
>> interface to send packets. The patch I've supplied allows the user to
>> select the interface.
>>
>> Suppose you have a setup like so:
>>
>> BoxA --- BoxB --- BoxC
>>
>> You wish to run virtual machines on BoxB and BoxC and network them using
>> a multicast UDP socket.
>>
>> BoxB has two network interfaces, and the default multicast interface may
>> be the link between BoxA and BoxB. In this situation, BoxC will not
>> receive any multicast packets from BoxB and networking between the boxes
>> is therefore impossible.
>>
>> The utility of a multicast socket is obviously limited in my simplified
>> example. Generalize BoxC to a LAN of physical machines all running
>> virtual machines you wish to network and the use case should become a
>> bit clearer.
>
> Thanks. Second question is how portable is SIOCGIFADDR? I suspect
> that's very Linux-centric..
>
> Regards,
>
> Anthony Liguori
Yes. It is unavailable for mingw32 (windows).
Regards,
Stefan Weil
next prev parent reply other threads:[~2010-11-15 21:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 1:47 [Qemu-devel] [PATCH] add a command line option to specify the interface to send multicast packets on Mike Ryan
2010-11-15 18:54 ` Mike Ryan
2010-11-15 19:36 ` Anthony Liguori
2010-11-15 19:52 ` Mike Ryan
2010-11-15 21:07 ` Anthony Liguori
2010-11-15 21:22 ` Stefan Weil [this message]
2010-11-15 21:34 ` Mike Ryan
2010-11-16 9:26 ` [Qemu-devel] " Paolo Bonzini
2010-11-16 17:54 ` Michael S. Tsirkin
2010-11-16 19:10 ` Mike Ryan
2010-11-18 1:16 ` [Qemu-devel] [PATCH] add a command line option to specify the IP address to send multicast packets from Mike Ryan
2010-11-22 18:48 ` Mike Ryan
2010-11-23 13:05 ` Michael S. Tsirkin
2010-11-23 23:49 ` Mike Ryan
2010-11-24 5:32 ` [Qemu-devel] " Michael S. Tsirkin
2010-11-29 19:12 ` [Qemu-devel] " Mike Ryan
2010-12-01 19:16 ` Mike Ryan
2010-12-02 19:19 ` [Qemu-devel] " Michael S. Tsirkin
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=4CE1A48E.4070704@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=anthony@codemonkey.ws \
--cc=mikeryan@isi.edu \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).