Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753094AbaBLRRw (ORCPT ); Wed, 12 Feb 2014 12:17:52 -0500 Received: from elasmtp-galgo.atl.sa.earthlink.net ([209.86.89.61]:34197 "EHLO elasmtp-galgo.atl.sa.earthlink.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbaBLRRt (ORCPT ); Wed, 12 Feb 2014 12:17:49 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=QLmvyvwbnY8OK2hpbP2BROkRlpRDB/AxdI/aMKSkupS9l04lHuzPBMxebQj4EyFd; h=Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Date: Wed, 12 Feb 2014 12:17:39 -0500 From: Bill Fink To: Ian Campbell Cc: "Luis R. Rodriguez" , "netdev@vger.kernel.org" , , Paul Durrant , "Wei Liu" , , "linux-kernel@vger.kernel.org" Subject: Re: [RFC 2/2] xen-netback: disable multicast and use a random hw MAC address Message-Id: <20140212121739.ecb2f222.billfink@mindspring.com> In-Reply-To: <1392203708.13563.50.camel@kazak.uk.xensource.com> References: <1392071391-13215-1-git-send-email-mcgrof@do-not-panic.com> <1392071391-13215-3-git-send-email-mcgrof@do-not-panic.com> <1392108205.22033.16.camel@dagon.hellion.org.uk> <1392203708.13563.50.camel@kazak.uk.xensource.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ELNK-Trace: c598f748b88b6fd49c7f779228e2f6aeda0071232e20db4dea14c196f66adca47a54a544fb5bbc79350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.179.3.200 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Feb 2014, Ian Campbell wrote: > On Tue, 2014-02-11 at 13:53 -0800, Luis R. Rodriguez wrote: > > Cc'ing kvm folks as they may have a shared interest on the shared > > physical case with the bridge (non NAT). > > > > On Tue, Feb 11, 2014 at 12:43 AM, Ian Campbell wrote: > > > On Mon, 2014-02-10 at 14:29 -0800, Luis R. Rodriguez wrote: > > >> From: "Luis R. Rodriguez" > > >> > > >> Although the xen-netback interfaces do not participate in the > > >> link as a typical Ethernet device interfaces for them are > > >> still required under the current archtitecture. IPv6 addresses > > >> do not need to be created or assigned on the xen-netback interfaces > > >> however, even if the frontend devices do need them, so clear the > > >> multicast flag to ensure the net core does not initiate IPv6 > > >> Stateless Address Autoconfiguration. > > > > > > How does disabling SAA flow from the absence of multicast? > > > > See patch 1 in this series [0], but I explain the issue I see with > > this on the cover letter [1]. > > Oop, I felt like I'd missed some context. Thanks for pointing out that > it was right under my nose. > > > In summary the RFCs on IPv6 make it > > clear you need multicast for Stateless address autoconfiguration > > (SLAAC is the preferred acronym) and DAD, > > That seems reasonable, but I think is the opposite to what I was trying > to get at. > > Why is it not possible to disable SLAAC and/or DAD even if multicast is > present? > > IOW -- enabling/disabling multicast seems to me to be an odd proxy for > disabling SLAAC or DAD and AIUI your patch fixes the opposite case, > which is to avoid SLAAC and DAD on interfaces which don't do multicast > (which makes sense since those protocols involve multicast). Forgive me if this doesn't make sense in this context since I'm not a kernel developer, but I was just wondering if any of the sysctls: /proc/sys/net/ipv6/conf//disable_ipv6 /proc/sys/net/ipv6/conf//accept_dad /proc/sys/net/ipv6/conf//accept_ra /proc/sys/net/ipv6/conf//autoconf would be apropos for the requirement being discussed. -Bill -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/