qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@labri.fr>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: ped@listes.subiron.org, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Document mcast+ipv6 (Was: Re: socket, mcast looping back frames -> IPv6 broken)
Date: Mon, 1 Apr 2013 02:12:51 +0200	[thread overview]
Message-ID: <20130401001251.GD17794@type.youpi.perso.aquilenet.fr> (raw)
In-Reply-To: <20130311083614.GA28434@stefanha-thinkpad.redhat.com>

Stefan Hajnoczi, le Mon 11 Mar 2013 09:36:14 +0100, a écrit :
> > Otherwise we may just document that one has to disable Duplicate Address
> > Detection to get IPv6 working :/
> 
> Seems like this might be the only way for now.

Here is a patch

Samuel


Document how to get IPv6 working with mcast socket

Document that IPv6 can not work in mcast mode unless disabling DAD in
the guest.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

diff --git a/qemu-options.hx b/qemu-options.hx
index c40ba55..9074a24 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1683,6 +1683,12 @@ mcast support is compatible with User Mode Linux (argument @option{eth@var{N}=mc
 @url{http://user-mode-linux.sf.net}.
 @item
 Use @option{fd=h} to specify an already opened UDP multicast socket.
+@item
+Since with multicast diffusion the guest will receive its own frames, its IPv6
+Duplicate Address Detection (DAD) will erroneously detect a duplicate, thus
+preventing IPv6 from working.  One has to disable DAD to get IPv6 working, for
+instance on Linux by setting the sysctl @code{net.ipv6.conf.all.accept_dad} to
+0.
 @end enumerate
 
 Example:

  reply	other threads:[~2013-04-01  0:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 16:35 [Qemu-devel] socket,mcast looping back frames -> IPv6 broken Samuel Thibault
2013-03-06 12:29 ` Stefan Hajnoczi
2013-03-06 13:15   ` [Qemu-devel] [PER] Re: socket, mcast " Samuel Thibault
2013-03-07  9:38     ` Stefan Hajnoczi
2013-03-07 17:14       ` Samuel Thibault
2013-03-08  8:43         ` Stefan Hajnoczi
2013-03-08  9:08           ` Samuel Thibault
2013-03-08 12:47             ` Samuel Thibault
2013-04-01  6:35               ` Mike Lovell
2013-04-01  9:32                 ` Samuel Thibault
2013-04-08 11:12                   ` Stefan Hajnoczi
2013-03-10 20:01   ` Samuel Thibault
2013-03-11  8:36     ` Stefan Hajnoczi
2013-04-01  0:12       ` Samuel Thibault [this message]
2013-04-08 11:13         ` [Qemu-devel] [PATCH] Document mcast+ipv6 (Was: Re: socket, mcast looping back frames -> IPv6 broken) Stefan Hajnoczi
2013-04-08 12:11           ` Samuel Thibault

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=20130401001251.GD17794@type.youpi.perso.aquilenet.fr \
    --to=samuel.thibault@labri.fr \
    --cc=ped@listes.subiron.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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).