[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150324.212217.1935317955015686620.davem@davemloft.net>
Date: Tue, 24 Mar 2015 21:22:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: michael-dev@...i-braun.de
Cc: netdev@...r.kernel.org, projekt-wlan@....tu-ilmenau.de
Subject: Re: [PATCH] macvlan: transmit multicast as unicast in source mode
From: Michael Braun <michael-dev@...i-braun.de>
Date: Sun, 22 Mar 2015 13:29:49 +0100
> When having multiple remote mac addresses assigned to different macvlan
> source devices created on top of the same other netdev, multicast packets
> send on one interface will be also received by the remote machines
> asssigned to the other macvlan device.
>
> This is because multicast packets are transmitted as layer-2 multicast.
> Thought, not all protocols need their multicast packets to be transmitted
> as layer-2 multicast, esp. ARP, IPv4 and IPv6. Most importantly, IPv6
> router advertisments will be processed even if received as layer-2 unicast.
>
> So this patch adds support for replicating multicast packets and sending
> them out as unicast by changing the destination mac address.
> This fixes IPv6 autoconf addresses and routes on the remote stations
> assigned to different macvlan devices.
>
> There are two new flags: UNICAST and UNICAST_ALL. The first only rewrites
> ARP, IPv4 and IPv6 (and their 802.1Q tagged variant), the latter rewrites
> all multicast packets.
>
> Signed-off-by: Michael Braun <michael-dev@...i-braun.de>
Since noone knowledgable has reviewed this patch, I'm not going to
apply it, sorry.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists