Re: [v6ops] Practical question about MLD join for LL multicast
Hermin Anggawijaya <hermin.anggawijaya@gmail.com> Thu, 17 March 2016 21:36 UTC
Return-Path: <hermin.anggawijaya@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2EFE12D7D0 for <v6ops@ietfa.amsl.com>; Thu, 17 Mar 2016 14:36:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7d_RQpzpv0zY for <v6ops@ietfa.amsl.com>; Thu, 17 Mar 2016 14:36:07 -0700 (PDT)
Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5CA7C12D705 for <v6ops@ietf.org>; Thu, 17 Mar 2016 14:36:02 -0700 (PDT)
Received: by mail-lf0-x22a.google.com with SMTP id v130so24925704lfd.2 for <v6ops@ietf.org>; Thu, 17 Mar 2016 14:36:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc; bh=TrOJrqYyZfNNziPhnMt85wXlnSVFcMfQDOVLtwUehP4=; b=uG27QxVqleQj8nCQgBu8ctlwiMgB5YHCsXDI7tgueghiYeKkjf6GnFxMiMJXS9DjdN 8MPz44XuS4PSsuyBKJAlWcu1fwng7555RCvVKxlud+kHlI4/KLpKl3aNwFvOuiyapGTS aYhN/nNw81PGrqUNzSXt5HoZ5odQ/83y/ZD6JuKq5nKDTm7BvR0lEFlWsvwmHmHJkx9E 6uoWosYi/3pVcV48XBKwthb2fnvBBMs4FDq32ySYJSdA3wQwD5nIRpoq+VmtlzMlFC1d 1QT7qftaSxsoWu26qBkHRSASj7IuGr9nPpfpzqME+qCto0/msIF8rXZHla9Ky83Jsjla SSFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=TrOJrqYyZfNNziPhnMt85wXlnSVFcMfQDOVLtwUehP4=; b=U2AYbyNl4JPZKjJrjdfE74EkH9NtfrEXjHTKXGPzJGKvGNwbzMruKySWTbVXz8OJ+u K+mNVRPSmt/aAk/WwxtNWIE8ZfZdtLVEk5hBTE5bvSsLndd/ql2ouFX8imXdWFqkweCc uvOsQDsnaLv4DNFEZ+gjVn+cRpwMnfcOosomBM2vS4bgd9OlSTrQYk/6Cb90LPxNteE8 9SCcGzhfYV9Kzz4TJg0WAequtlaoyJUasyeG5PlxSh03o53HWN77ZYivFEuDFxjRICGb LZTGFy5h720wEg3AfpudgCektefswl/tQMA5isDtYAAtsgMwd4UJTM95Sy1lnAoAgrBR ZW/g==
X-Gm-Message-State: AD7BkJIyjmfzZYj4xPUTQKR8f76h2zgC9M7xd5FGKsV9K8uJYT8gWJXKhilJaDgM6N9+QxKgYR2KYBTxEqjMnw==
MIME-Version: 1.0
X-Received: by 10.25.33.140 with SMTP id h134mr4752105lfh.159.1458250560509; Thu, 17 Mar 2016 14:36:00 -0700 (PDT)
Received: by 10.25.19.152 with HTTP; Thu, 17 Mar 2016 14:36:00 -0700 (PDT)
Date: Fri, 18 Mar 2016 10:36:00 +1300
Message-ID: <CAJgsEzVGPMrja=hvgm1GAX_C3H8T6KkVfTwj1Y4qaf4_D-uP=g@mail.gmail.com>
From: Hermin Anggawijaya <hermin.anggawijaya@gmail.com>
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Content-Type: multipart/alternative; boundary="001a114102c0a71ce0052e456aa8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/naMENMQiMIxT52zfFjQqoU6G0ZA>
Cc: "v6ops@ietf.org WG" <v6ops@ietf.org>
Subject: Re: [v6ops] Practical question about MLD join for LL multicast
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Mar 2016 21:36:09 -0000
Hi, On Tue, Mar 15, 2016 at 5:30 AM, Alexandre Petrescu < alexandre.petrescu@gmail.com> wrote: > Hi, > > Let me take advantage of this discussion to discuss the necessity of this > join. > > Le 03/03/2016 03:29, Hermin Anggawijaya a écrit : > >> >> On Linux, the IPv6 stack will generate MLD report (both unsolicited >> report and as reply to queries) if a socket is set with >> IPV6_ADD_MEMBERSHIP or IPV6_JOIN_GROUP for the given IPv6 multicast >> address. >> > > I think linux does REPORT even though the user does not specifically > open a socket with these parameters. Wireshark on a vanilla linux will > expose those MLD messages on LL scope. > Linux only automatically generates MLD reports on multicast capable interfaces for 'all-nodes' and 'all-routers' groups (if it's forwarding), with interface, link-local, site-local scopes. For other groups, ADD_MEMBERSHIP or JOIN_GROUP needs to be set on the socket before report is generated. Kind regards Angga > > A question that could be raised is on the necessity of this message. > > On one hand, it is good for a desktop PC to inform the office switch > that it needs to be part of that group. It helps channelling messages. > > But when there are only Hosts on that link, the message is still issued > even though all Hosts must be subscribed to the LL group anyways, by > definition of the LL scope. > > This may have some significance in particular mobility settings where > the medium must be free as much as possible of what could be considered > noise. In vehicular networks the 802.11-OCB (aka 802.11p) is stripped > off of all link-layer messages like 802.11 beacons/assn/auth in order to > keep the medium as silent as possible, yet the IP MLD LL messages are > there. These could be considered to be superfluous. But of course the > MLD REPORTS for wider than LL scope are still needed in vehicular networks. > > Alex > > And looks like the Python script should do the job. >> >> Having seen an MLD report from a host running the Python script, I >> would have thought that the LAN switch would make the host (or the >> switch port the host is connected to) to become a member of the >> multicast group, and the switch should forward all multicast packets >> for ff02::114. >> >> *If the corresponding multicast packets (ff02::114) are indeed >> filtered by MLD snooping switch* - despite seeing the membership >> report sent by the host running the script, then on some switches >> you could try either (depends on availability of features): >> >> 1. disable snooping - but this could make the LAN 'chatty' 2. set >> the default behaviour for unknown multicast address to flood, then >> apply a filter on the MLDSnooping module so that it never 'learns' >> ff02::114, thus keeping ff02::114 as unknown multicast 3. add static >> MLD snooping entry for ff02::114 and make all the ports in the vlan >> as a member. 4. add ff02::114 as a 'protocol' address to MLD >> Snooping so that it is flooded properly to 'router ports' like >> ff02::6, ff02:6, ff02::9 etc. >> >> >> Kind regards >> >> Angga >> >
- Re: [v6ops] Practical question about MLD join for… Hermin Anggawijaya
- Re: [v6ops] Practical question about MLD join for… Stig Venaas
- Re: [v6ops] Practical question about MLD join for… Brian E Carpenter
- Re: [v6ops] Practical question about MLD join for… Sonum Mathur
- Re: [v6ops] Practical question about MLD join for… otroan
- Re: [v6ops] Practical question about MLD join for… Brian E Carpenter
- Re: [v6ops] Practical question about MLD join for… Mark Smith
- Re: [v6ops] Practical question about MLD join for… otroan
- Re: [v6ops] Practical question about MLD join for… Mark Smith
- Re: [v6ops] Practical question about MLD join for… Alexandre Petrescu
- Re: [v6ops] Practical question about MLD join for… Sonum Mathur
- Re: [v6ops] Practical question about MLD join for… otroan
- Re: [v6ops] Practical question about MLD join for… Hermin Anggawijaya
- Re: [v6ops] Practical question about MLD join for… Ray Hunter (v6ops)
- Re: [v6ops] Practical question about MLD join for… Alexandre Petrescu
- Re: [v6ops] Practical question about MLD join for… Enno Rey
- Re: [v6ops] Practical question about MLD join for… otroan
- Re: [v6ops] Practical question about MLD join for… Brian E Carpenter
- Re: [v6ops] Practical question about MLD join for… Mark Smith
- Re: [v6ops] Practical question about MLD join for… Enno Rey
- Re: [v6ops] Practical question about MLD join for… Enno Rey