Re: [Roll] [roll] #105: trickle-mcast: how to determine scope of MPL domain

"Jonathan Hui (johui)" <johui@cisco.com> Thu, 08 November 2012 21:02 UTC

Return-Path: <johui@cisco.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A11FF21F889E for <roll@ietfa.amsl.com>; Thu, 8 Nov 2012 13:02:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.389
X-Spam-Level:
X-Spam-Status: No, score=-10.389 tagged_above=-999 required=5 tests=[AWL=0.210, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FWmL1UfDYBfy for <roll@ietfa.amsl.com>; Thu, 8 Nov 2012 13:02:19 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id 8EB3C21F85BA for <roll@ietf.org>; Thu, 8 Nov 2012 13:02:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7323; q=dns/txt; s=iport; t=1352408539; x=1353618139; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=46uMqetK3o3+Wx4pSMOg9IhBEcOU/tCb81xM4FSeCxk=; b=RpZjlA1K+HyUyNIwvkHz9eodYB7XsvB1XMRIRIamAX3dNatZRGLK3YvQ xZ9AERxbM/uy9EKjEO+NqDJ4xK2+cIptxCpkTc45suz43hIY9zN/hpH17 4TFwha3TKo24lX5EM6nqcFmnyDjjWjHnQtjJX587h47AVhSTsbFGXHhQX Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAPIcnFCtJXG8/2dsb2JhbAA6CsNCgQiCHgEBAQMBEgFfBwULAgEIDgoKAiIyJQIEDgUIGodiBpwloDGMEhAFhVFhA6RTgWuCb4FcHx4
X-IronPort-AV: E=Sophos;i="4.80,740,1344211200"; d="scan'208";a="140301572"
Received: from rcdn-core2-1.cisco.com ([173.37.113.188]) by rcdn-iport-8.cisco.com with ESMTP; 08 Nov 2012 21:02:19 +0000
Received: from xhc-aln-x05.cisco.com (xhc-aln-x05.cisco.com [173.36.12.79]) by rcdn-core2-1.cisco.com (8.14.5/8.14.5) with ESMTP id qA8L2IbN007887 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 8 Nov 2012 21:02:18 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-aln-x05.cisco.com ([173.36.12.79]) with mapi id 14.02.0318.001; Thu, 8 Nov 2012 15:02:17 -0600
From: "Jonathan Hui (johui)" <johui@cisco.com>
To: Dario Tedeschi <dat@exegin.com>
Thread-Topic: [Roll] [roll] #105: trickle-mcast: how to determine scope of MPL domain
Thread-Index: AQHNuEl+VKkUNGCnjEqLpghV1euTUw==
Date: Thu, 08 Nov 2012 21:02:16 +0000
Message-ID: <B50D0F163D52B74DA572DD345D5044AF0F714CBF@xmb-rcd-x04.cisco.com>
References: <058.e817419e990e1afb26be9aa25d5cfc21@trac.tools.ietf.org> <B50D0F163D52B74DA572DD345D5044AF0F6EFA99@xmb-rcd-x04.cisco.com> <50932647.3050509@exegin.com> <B50D0F163D52B74DA572DD345D5044AF0F6F2837@xmb-rcd-x04.cisco.com> <5094202F.4010805@exegin.com> <B50D0F163D52B74DA572DD345D5044AF0F6F874A@xmb-rcd-x04.cisco.com> <509C03C2.50809@exegin.com>
In-Reply-To: <509C03C2.50809@exegin.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.107.155.2]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19348.005
x-tm-as-result: No--44.872500-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <19D9765F55820D4D9E56F71EB550B4E6@cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "<roll@ietf.org>" <roll@ietf.org>, "<draft-ietf-roll-trickle-mcast@tools.ietf.org>" <draft-ietf-roll-trickle-mcast@tools.ietf.org>, "<mcr@sandelman.ca>" <mcr@sandelman.ca>, "Jonathan Hui (johui)" <johui@cisco.com>
Subject: Re: [Roll] [roll] #105: trickle-mcast: how to determine scope of MPL domain
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Nov 2012 21:02:20 -0000

Hi Dario,

On Nov 8, 2012, at 11:10 AM, Dario Tedeschi <dat@exegin.com> wrote:

> On 02/11/2012 10:18 PM, Jonathan Hui (johui) wrote:
>> 
>> With your approach (require link-local in the outer header), the IPv6 multicast address identifies the application endpoints *and* the MPL domain.  For that reason, your approach really only needs a single identifier to both limit the flooding scope and determine the application endpoints.
> It depends on what you mean by MPL domain. In my view,  FF02::MPL identifies the MPL domain, while the inner IPv6 destination address identifies the application endpoint.

Let me introduce a new term to help move the discussion forward:  Dissemination Region - a connected set of MPL devices that attempt to forward the packet so that all devices receive the packet at least once.  Another definition may be: a region within which the SeedID must be unique.

>>  I can see how that would work (as you demonstrated) if we make the restriction that the IPv6 multicast addresses used within an MPL domain have the same prefix that identifies the MPL domain itself.  The trouble comes when you want to support the full generality that IPv6 multicast addresses used by application endpoints can be arbitrary.
> 
> The "generality", you talk of, is why protocols like MLD exist. MLD informs routers of mc addresses other devices are interested in. Essentially it provides routing information. How could we support the "full generality" of mc addresses without this information (whether implied or from something like MLD).  With this in mind, I don't understand the need for non-link-local scope in the outer header, because the "generality" you seek would be determined by the mc address of the original packet (i.e. the mc address of the inner header). All my approach is really saying is that only the original/inner mc address determines how far a packet will propagate, regardless of routing domain. MPL could just be one of many routing domains a mc packet must traverse before reaching its furthermost boundary. Or MPL may be the only routing domain, where the mc packet only reaches a sub-set of devices within the domain (i.e. a multicast group or a set based on unicast-prefix-based mc).

The original intent of MPL was to avoid any routing information within the Dissemination Region.  A router then only maintains state about what multicast addresses are of interest to devices within the Dissemination Region.

>> For example, how does MPL support an application that subscribes to a well-known non-link-local IPv6 multicast address?  I guess one approach is to say that if the IPv6 multicast address is not a unicast-prefix-based multicast address, then it disseminates across the entire region of connected MPL forwarders.
> 
> Granted one could have a situation where all routers hear an mc packet that is only intended for a subset of devices, but that does not mean all routers need to forward that packet or pass it to a higher layer. Again, this would depend on the inner mc address and the routing information available to routers. The routers without the appropriate routing information would not forward. Similarly, routers without mc membership information from an app would not pass the packet to the next higher layer.

We have different thoughts on how a device determines whether or not to forward the packet.  You take a routing perspective, where a device determines whether or not to forward based on the identifier for the application endpoints.  In contrast, I view it as a device determines whether or not to forward based on the Dissemination Region it is in.  Note that in my view, the Dissemination Region does not have to have any relationship with the identifier for application endpoints.  In other words, you can configure the Dissemination Region without any knowledge of the multicast addresses that devices are interested in.

>> One minor point with your approach is that the delivery requires processing the MPL Option of the outer header and the inner IPv6 header.  That isn't so nice from an architectural perspective, but that is what we did with RFC 6553.
> 
> Using non-link-local in the outer header does not mitigate that. The forwarder still needs to look at the inner header to determine if the inner mc address is one an app is listening on. In fact implementing this is a bit messy compared to my approach, because the forwarder has to look ahead into the packet before decapsulating. My approach always requires decapsulation before making any decision about where the packet must go next. It's simpler and more consistent. I've actually had the fortune/misfortune of implementing both and I can safely say the link-local approach was cleaner.

I'd argue that using non-link-local in the outer header helps to preserve the layering.
1) Processing the outer header allows a device to determine whether it is a part of the Dissemination Region and the packet was received before.
2) Processing the inner header allows a device to determine whether it should process the payload.

Can you explain why a device needs to "look ahead" into the packet before decapsulating when using a non-link-local outer header?

>> In my approach (allow non-link-local in the outer header), I tried to separate out the identifiers for the application endpoints and the MPL domain.  That is why I used the outer header's destination address to identify the MPL domain and the inner header's destination address to identify the application endpoints.  With this approach, it actually becomes feasible to address situations where the devices within an MPL domain subscribe to arbitrary IPv6 multicast addresses - not just ones that are based on the unicast prefix.
> 
> Firstly, yes I agree the inner destination address should determine the application endpoint. What I'm not clear on is why we need an MPL domain to cover more than the LLN or why we need to support multiple MPL domains in one LLN. Tf the latter case is required to allow for different sets of MPL propagation parameters, then I'd imagine that should rather be handled by the HbH option.

Peter's use case involves having multiple Dissemination Regions within a single IEEE 802.15.4 PAN.  I agree, one could argue whether the devices should all be within the same PAN or different PANs based on the nearest border router.

During the WG meeting, people made a good argument that we actually don't know the answer - either because all the use cases are not obvious or because we don't understand all the consequences of each approach.  One proposal was to have the draft specify well-defined forwarding behavior that supports both situations.  For example:
1) If the outer header has an IPv6 Destination Address matching the link-local all-MPL-forwarders address, do …
2) Otherwise, do …

Then leave it up to those who are using this spec to determine what subset they want to use.  Not sure if this is a reasonable approach and would like to get feedback from the WG.

--
Jonathan Hui