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

Robert Cragie <robert.cragie@gridmerge.com> Thu, 15 November 2012 15:08 UTC

Return-Path: <robert.cragie@gridmerge.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 C38A621F88D4 for <roll@ietfa.amsl.com>; Thu, 15 Nov 2012 07:08:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 WCI89t80MLxJ for <roll@ietfa.amsl.com>; Thu, 15 Nov 2012 07:08:06 -0800 (PST)
Received: from mail41.extendcp.co.uk (mail41.extendcp.co.uk [79.170.44.41]) by ietfa.amsl.com (Postfix) with ESMTP id 714C021F88E0 for <roll@ietf.org>; Thu, 15 Nov 2012 07:08:05 -0800 (PST)
Received: from client-86-9-227-213.oxfd-bam-1.adsl.virginmedia.com ([86.9.227.213] helo=[192.168.0.2]) by mail41.extendcp.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77) id 1TZ12v-0000H6-SQ; Thu, 15 Nov 2012 15:08:02 +0000
Message-ID: <50A505AC.2000200@gridmerge.com>
Date: Thu, 15 Nov 2012 15:09:32 +0000
From: Robert Cragie <robert.cragie@gridmerge.com>
Organization: Gridmerge Ltd.
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: Michael Richardson <mcr+ietf@sandelman.ca>
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> <B50D0F163D52B74DA572DD345D5044AF0F714CBF@xmb-rcd-x04.cisco.com> <509C5F00.2050204@exegin.com> <509D5AF5.4040304@exegin.com> <509DAFEF.5020504@exegin.com> <9143.1352758442@sandelman.ca> <50A382DA.9030706@gridmerge.com> <2150.1352927633@obiwan.sandelman.ca>
In-Reply-To: <2150.1352927633@obiwan.sandelman.ca>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms030004090400050807090403"
X-Authenticated-As: robert.cragie@gridmerge.com
Cc: roll@ietf.org
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
Reply-To: robert.cragie@gridmerge.com
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, 15 Nov 2012 15:08:06 -0000

On 14/11/2012 9:13 PM, Michael Richardson wrote:
> Robert, has written 3 rules about when to encapsulate, and how to
> recognize the MPL domain.  With two options #3 and #4.
>
> the difference is  (#3):
>
>>     2. Outer header will have subnet-local mc address (e.g.
>>        FF03-based). This can be used to control propagation in
>>        conjunction with the MPL option.
> vs (#4)
>
> <    2. Outer header will have link-local mc address (e.g. FF02-based).
> <       This cannot be used to control propagation as it only goes one
> <       hop; the MPL option is used alone
>
> and as far as I can understand in both cases MPL forwarders will
> decapsulate and re-encapsulate, thus decrementing the inner TTL each
> time.   Or did I misunderstand here?
<RCC>
Almost there. In the case of forwarding using MPL domain (subnet-local) 
mc address, the inner packet is strictly tunnelled, i.e. there will be 
no hop count decrementing per hop. I discussed this offline with 
Jonathan Hui and he thought that was acceptable. In the case of 
link-local mc address, the inner packet would have its hop count 
decremented.

Why the difference? Consider the two cases more closely:

  * In the MPL domain multicast case, the encapsulated packet traverses
    throughout the scope dictated by the MPL domain multicast address.
    On receipt, the inner packet is decapsulated for processing. Once it
    has been processed it is effectively discarded. The outer packet,
    complete with MPL option is then passed to the MPL forwarder, which,
    if it decides to forward, manipulates the MPL option only and sends
    the outer packet as it came in
  * In the link-local case, the encapsulated packet only goes one hop.
    On receipt, the inner packer is decapsulated for processing. The
    outer header is discarded and the MPL option retained. As the inner
    packet is no longer encapsulated, it can be manipulated. The MPL
    forwarder is then passed the MPL option and the inner packet, which,
    if it decides to forward, manipulates the MPL option and
    recapsulates the inner packet

See attached diagrams for pictorial explanation.
</RCC>
>
> I think that we are very closing to closing issue #105, and I think that
> issue #106 would be resolved as "no" by this choice.
>