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

Robert Cragie <robert.cragie@gridmerge.com> Wed, 14 November 2012 11:37 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 B6B0A21F8546 for <roll@ietfa.amsl.com>; Wed, 14 Nov 2012 03:37:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.332
X-Spam-Level:
X-Spam-Status: No, score=-2.332 tagged_above=-999 required=5 tests=[AWL=0.266, 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 VRvDrNdoF5ci for <roll@ietfa.amsl.com>; Wed, 14 Nov 2012 03:37:38 -0800 (PST)
Received: from mail41.extendcp.co.uk (mail41.extendcp.co.uk [79.170.44.41]) by ietfa.amsl.com (Postfix) with ESMTP id C0CE521F84E8 for <roll@ietf.org>; Wed, 14 Nov 2012 03:37:37 -0800 (PST)
Received: from client-86-29-206-117.glfd-bam-2.adsl.virginmedia.com ([86.29.206.117] helo=[192.168.0.2]) by mail41.extendcp.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77) id 1TYbHj-0002Vw-Oo for roll@ietf.org; Wed, 14 Nov 2012 11:37:36 +0000
Message-ID: <50A382DA.9030706@gridmerge.com>
Date: Wed, 14 Nov 2012 11:39:06 +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: roll@ietf.org
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>
In-Reply-To: <9143.1352758442@sandelman.ca>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms070101080703020002050400"
X-Authenticated-As: robert.cragie@gridmerge.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
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: Wed, 14 Nov 2012 11:37:38 -0000

On 12/11/2012 10:14 PM, Michael Richardson wrote:
> see inline
>
>>>>>> "Dario" == Dario Tedeschi<dat@exegin.com>  writes:
>      Dario> Non-link-local would be fine with the following caveats:
>
>      Dario> 1. A non-link-local mc address that *uniquely* identifies the MPL
>      Dario> domain must exist, whether it be IANA assigned or determined at
>      Dario> run-time.
>
>      Dario> 2. A packet injected into an MPL domain that has a mc address that does
>      Dario> not match the MPL domain address must be tunneled.
>
> okay...
> a packet with a link-local mc address does not need tunnelling, because,
> by definition, it can not leave the MPL domain, so it never needs
> tunnelling?

It's not quite as simple as that:

 1. A packet with a link-local mc address doesn't need tunnelling and
    doesn't need trickle multicast as it is intended to go only one hop
    and is therefore sent using link-layer broadcast without any MPL option.
 2. We have generally used the term "subnet-local" in the case of where
    the MPL domain covers the multi-link subnet exactly. If the
    originator is in the MPL domain, and all the intended recipients are
    in the MPL domain, then any packet forwarded by a MPL forwarder will be:
     1. Unencapsulated
     2. Have subnet-local mc address (e.g. FF03-based)
     3. Have a MPL option
 3. There is the other case where if the originator is not in the MPL
    domain or at least one of the intended recipients is not in the MPL
    domain (scope rules), then any packet forwarded by a MPL forwarder
    will be:
     1. Encapsulated
     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.
     3. Outer header will have a MPL option
     4. Inner header will have site local mc address (e.g. FF05-based).
        This will be tunnelled to multicast exit points
     5. Inner header will not have a MPL option
 4. The alternative to (3) is to use link-local mc address in
    conjunction with a MPL option:
     1. Encapsulated
     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
     3. Outer header will have a MPL option
     4. Inner header will have site local mc address (e.g. FF05-based).
        This will not be tunnelled as it is recapsulated every hop
     5. Inner header will not have a MPL option