qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Document mcast+ipv6 (Was: Re: socket, mcast looping


From: Samuel Thibault
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
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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 <address@hidden>

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 @address@hidden
 @url{http://user-mode-linux.sf.net}.
 @item
 Use @option{fd=h} to specify an already opened UDP multicast socket.
address@hidden
+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 via email to

[Prev in Thread] Current Thread [Next in Thread]