Re: [Roll] [6lo] New Version Notification for draft-thubert-6lo-unicast-lookup-01.txt

Dario Tedeschi <dat@exegin.com> Wed, 06 October 2021 21:33 UTC

Return-Path: <dat@exegin.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 AFA873A0917 for <roll@ietfa.amsl.com>; Wed, 6 Oct 2021 14:33:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=exegin.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 DEOnFb5CPj3y for <roll@ietfa.amsl.com>; Wed, 6 Oct 2021 14:33:29 -0700 (PDT)
Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 4285E3A08FD for <roll@ietf.org>; Wed, 6 Oct 2021 14:33:29 -0700 (PDT)
Received: by mail-pj1-x102a.google.com with SMTP id pi19-20020a17090b1e5300b0019fdd3557d3so3456915pjb.5 for <roll@ietf.org>; Wed, 06 Oct 2021 14:33:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=exegin.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=OIaYhALkMNXsX8n8oTxwM+QBDr1KdO98SjgNZeNv3w0=; b=J8Phh+S5RRpFucY+K4lyMTo3NDmpymfKyj3Z/UbsjVUZcDNGbYIdUjsSa1YY619qIp k+K7I/yzyeVYRRV9Tacr6XvSlVC/sf9gBxwidiTo8oGa29dVSRUBN7J3r72Hv+qUFLZG crTQJFQERYLJlUmG6+XZCa0omXwqlo8dL4gk45E8STaoB4GQBlI/4Lo+Xvl5yc+Yl6xG cZ5XYMZ0xfpgZIcBCPXkknBl6dh+YBQSUOK4ziZf0LQ4ONvhv4T7nLmLMMvGtfeqO9sO MzJl4wDFD5gB44fqKo/HwBPSH+FX0sOK673BsA0ZBBgQYTAt898B5vaa4v2yVrfSuDoG 9+YQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=OIaYhALkMNXsX8n8oTxwM+QBDr1KdO98SjgNZeNv3w0=; b=bDAqeIEx3gyGW+2crPkgXkYlR57L17P/8D88ncWD86Q3j8BqDK8x50OZ64r0ucaSjR cGlzNxFDTXMUDG6tTc9jbWx9Ho+cO+L3Y91vV3H6rzdkEF9OXY1X4j/3NWh0Byf8UqHk g4/ZTjatq5dy8ip9uzoBwzy8l+b+mWb1zQbyV9N0g7PcCkYEBCJfeRqEWvGcUL78RxWR orOgDNChUVd86HsRSjoJo1c1snvXUHQwKyvoX9bejdY5Vdpkcg6DxIAVe1RrLVFs/Lin FErhUDcxqmvcOAQeStzPrqmlohkjITsBMnh8jjmBcNJBdxWYB7IfGOPDbxHcqMMLTUJb PvpQ==
X-Gm-Message-State: AOAM532+JICLlksd/mvpYEtBzwj2t8p4qmtwkSRQr9lq/w8JbT9wHoaj /h7qf7Ty0dUYFZYlNiIIlzltVGyKN/cFMA==
X-Google-Smtp-Source: ABdhPJzmN2WVjHENt/pj2BRJsLDIrhE5cj1+9AaluqHLMDKNh9CCboxYR3KU1BG0kxEBQQKnzAps2A==
X-Received: by 2002:a17:902:9b8d:b0:13e:b693:c23d with SMTP id y13-20020a1709029b8d00b0013eb693c23dmr247417plp.11.1633556008299; Wed, 06 Oct 2021 14:33:28 -0700 (PDT)
Received: from [172.16.16.194] ([184.71.143.130]) by smtp.gmail.com with ESMTPSA id v22sm21913362pff.93.2021.10.06.14.33.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 14:33:27 -0700 (PDT)
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "6lo@ietf.org" <6lo@ietf.org>, "ROLL WG (roll@ietf.org)" <roll@ietf.org>
References: <163274933603.19090.5124997705863958429@ietfa.amsl.com> <SJ0PR11MB4896E985648102B81AF4C295D8A79@SJ0PR11MB4896.namprd11.prod.outlook.com> <21538E00-06DD-4197-B7D5-80F03F63A294@exegin.com> <45C4E6BC-5EB0-44B6-94E6-5B8B28D2478E@cisco.com> <d5413f6d-979d-5f0d-e9c3-03af754575df@exegin.com> <CO1PR11MB48812820528580673D65D478D8B09@CO1PR11MB4881.namprd11.prod.outlook.com> <d5f0deef-3a00-0817-6b96-e47820ea4b22@exegin.com> <6E59CFC3-A1EF-4C23-A97E-2F7545481679@cisco.com>
From: Dario Tedeschi <dat@exegin.com>
Message-ID: <62c09b1d-48f8-153e-37f5-b5404338f705@exegin.com>
Date: Wed, 06 Oct 2021 14:33:26 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <6E59CFC3-A1EF-4C23-A97E-2F7545481679@cisco.com>
Content-Type: multipart/alternative; boundary="------------E88BA2CB98E9CE757A1A97B7"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/CBGHxN0es2YqrH315guCIQohfbY>
Subject: Re: [Roll] [6lo] New Version Notification for draft-thubert-6lo-unicast-lookup-01.txt
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Oct 2021 21:33:36 -0000

Comments in line below:

On 10/6/21 1:09 PM, Pascal Thubert (pthubert) wrote:
> Hello Dario
>
>
>
>
>
>> Le 6 oct. 2021 à 21:50, Dario Tedeschi <dat@exegin.com> a écrit :
>>
>>  Hi Pascal,
>>
>> I think the 2nd and 4th cases can be merged, by allowing a root node 
>> to automatically propagate the following multicast messages, using MPL:
>>
>>   * All scope 3 (Realm-Local) multicast messages it either originates
>>     or receives on an MPL interface.
>>   * All Unicast-Prefix-based IPv6 Multicast Addresses (RFC 3306)
>>     higher than scope 3, where the network prefix (given in the
>>     mulitcast destination address), matches the prefix of the DODAG
>>     ID (the RPL network's subnet).
>>
>
>
> WFM, conforms https://www.rfc-editor.org/rfc/rfc7346.html#section-5
>>
>> Automatic forwarding of the 2nd address type could be optional and 
>> administratively configured.
>>
>> If nodes are interested in other multicasts higher than scope 3, they 
>> must explicitly inform the root by sending DAO messages with 
>> appropriate Target Options.
>>
>> ---------
>>
>> The 3rd case, I think, needs its own mop code (i.e. "Non-storing mode 
>> with source-routed multicast").
>>
>
> Yes, but we have to look at backwards compatibility / brown field and 
> allow though not recommend to use mop 1; same issue as already 
> discussed with mop 3 in the dread
>
[DT]
OK I think I get it. So if mop is 1 and MPL is disabled or not present, 
your 3rd case description applies. Makes sense to me.

It should however be clearly described in the doc. Perhaps something 
like: "In the absence of MPL, multicast datagrams are unicast and 
source-routed".

>> For the 1st and 3rd cases, how do you envision multicasts propagating 
>> up the DODAG (towards the root)? Would a node simply L2 unicast to 
>> its preferred parent?
>>
>
> The 6 LN does. It know about RPL and registers the multicast address. 
> Upon. The first registration The 6LR sends a unicast DAO to the Root 
> as we do for RUL. This time though the address in the target is 
> multicast. The root makes a copy per 6LR that shows as transit and 
> sends along the unicast SR path to the 6 LR as it would for a RUL 
> unicast. Less efficient that mop 3 that builds a real multicast tree, 
> but backward compatible for for nodes on path…
>
> Works?

[DT]
Yes that seems fine, but I was actually more interested in multicast 
*datagrams* that originate from a 6LR node mid-way in the tree. How do 
such datagrams propagate up to the root?. I can see three possible methods:

 1. L2 unicast to the preferred parent at each hop
 2. Encapsulate the mcast datagram in a link-local unicast IPv6 header
    at each hop, where the outer destination is the the link-local
    address of the preferred parent.
 3. Encapsulate the mcast datagram in a route-able unicast IPv6 header,
    where the outer destination is a global address of the root node and
    then allow normal IPv6 unicast forwarding to occur at each hop.


Options 2 and 3 allow for the addition of the RPL HbH option, without 
mutating the original packet and are similar to what existing RPL 
forwarders already do.

Or is this already covered in some other RFC?


>
> Pascal
>
>
>
>> Regards
>> Dario
>>
>>
>> On 10/6/21 6:00 AM, Pascal Thubert (pthubert) wrote:
>>>
>>> OK Dario, so we’d have 4 optional combinations:
>>>
>>> unicast = mop 1 multicast = mop 3 (what the draft does today)
>>>
>>> unicast = mop 1 multicast = MPL (that I believe the draft allows 
>>> today but should clarify); in that mode, not message to the Root, 
>>> the root floods all multicast messages with the idea that there’s 
>>> always a listener somewhere
>>>
>>> unicast = mop 1 multicast = mop 1 (to be added) in that mode the 6LR 
>>> sends a DAO to the root for a multicast target, and the Root sends n 
>>> messages that are unicast source routed to the n 6LR that have 
>>> listeners, only the last address in the SRH is multicast
>>>
>>> unicast = mop 1 multicast = MPL (that I believe the draft allows 
>>> today but should clarify); in that mode, in that mode the 6LR sends 
>>> a DAO to the root for a multicast target, and the root uses MPL only 
>>> when there’s known listeners
>>>
>>> Do we describe them all? Should we consume RPL MOPs?
>>>
>>> I suggested that AODV RPL reuses MOP 4 to leave room…
>>>
>>> Pascal
>>>
>>> *From:* Dario Tedeschi <dat@exegin.com>
>>> *Sent:* mercredi 6 octobre 2021 0:05
>>> *To:* Pascal Thubert (pthubert) <pthubert@cisco.com>
>>> *Cc:* 6lo@ietf.org
>>> *Subject:* Re: [6lo] New Version Notification for 
>>> draft-thubert-6lo-unicast-lookup-01.txt
>>>
>>> Hi Pascal
>>>
>>> See my comment  below.
>>>
>>> On 10/5/21 12:40 PM, Pascal Thubert (pthubert) wrote:
>>>
>>>     Hello Dario
>>>
>>>     Please see below;
>>>
>>>
>>>
>>>         Le 5 oct. 2021 à 20:15, Dario Tedeschi <dat@exegin.com>
>>>         <mailto:dat@exegin.com>a écrit :
>>>
>>>          Hi Pascal,
>>>
>>>         Thank you for new draft. However I do have some
>>>         comments/questions.
>>>
>>>         What benefit does the ‘M’ bit provide over simply detecting
>>>         a multicast address in the Target Address field?
>>>
>>>         The IPv6 multicast address type is clearly defined in RFC
>>>         4291 (section 2.4)
>>>         <https://datatracker.ietf.org/doc/html/rfc4291#section-2.4>,
>>>         and the detection of such an address is trivial. Most (if
>>>         not all) Stacks have a simple function/macro to do that job
>>>         and many existing protocols already use this mechanism to
>>>         distinguish between unicast and multicast addresses.  It
>>>         seems to me that a special bit to indicate multicast
>>>         registration would be redundant and require handling for 4
>>>         different cases, 2 of which would be errors:
>>>
>>>           * M = 1, Target = multicast addr
>>>           * M = 1, Target= unicast addr  — ERROR
>>>           * M = 0, Target = multicast addr — ERROR
>>>           * M = 0, Target= unicast addr
>>>
>>>     True enough. Dario.
>>>
>>>     I’ve been pondering that too. On the one hand it seems cleaner
>>>     to announce the service that the 6LN expects. Otoh as you point
>>>     out it can be inferred from the address.
>>>
>>>     Another way of seeing this is that the error cases that you
>>>     indicate can be detected if we have the bit otherwise they can’t.
>>>
>>> [DT] I take your point about detecting the errors, assuming an 
>>> implementation could do something useful with that knowledge, other 
>>> than just discarding the message.
>>>
>>>
>>>     Then there’s anycast which is missing from both RPL and ND ,
>>>     which cannot be distinguished by the look of the address and
>>>     thus requires a bit.
>>>
>>> [DT] As for the anycast address, I suppose the question to ask is 
>>> what would a router do differently knowing such information? I 
>>> suspect we would have to define some new behavior along with the new 
>>> bit.
>>>
>>>
>>>     Then there’s possibly the need of an IPv4 AF. All in all I
>>>     tended to favor having the bit but that’s really not a strong
>>>     position, happy to be convinced otherwise.
>>>
>>> [DT] I presume you are talking of "IPv4-Compatible" and 
>>> "IPv4-Mapped" IPv6 addresses. If my presumption is correct, aren't 
>>> these still easily identifiable through their unique prefixes (::/96 
>>> and ::ffff/96, respectively)?
>>>
>>>
>>>     What do others think?
>>>
>>> [DT] I have no strong opinion. The M bit just seemed redundant.
>>>
>>>
>>>
>>>
>>>
>>>         I also wonder about the requirement for non-storing RPL
>>>         networks to propagate multicast membership up the DODAG. My
>>>         understanding is that non-storing networks typically use MPL
>>>         (RFC 7731) <https://www.rfc-editor.org/rfc/rfc7731.html>
>>>         which does not need multicast memberships to be propagated
>>>         throughout the DODAG. It uses a flooding mechanism to
>>>         forward multicast datagrams, and does not unicast at L2.
>>>         Could the new document accommodate non-storing networks
>>>         using MPL?
>>>
>>>     Sure;
>>>
>>>     Bottom line here is that for MPL all the multicast packets of
>>>     interest for the LLN are flooded throughout so I suspect that
>>>     there is no need for the 6LR to signal to the root.
>>>
>>> [DT] Yes, that's my understanding as well.
>>>
>>>
>>>
>>>
>>>     If that’s the case then there’s nothing to standardize.  All I
>>>     need to clarify is that the RPL behavior in the spec is the one
>>>     expected in a RPL domain that supports mop 3 otherwise what is
>>>     done is out of scope for this doc.
>>>
>>>
>>>
>>>      Do you see it otherwise?
>>>
>>> [DT] I agree that only RPL mode 3 needs to be defined and other 
>>> modes are left out of scope.
>>>
>>>
>>>
>>>     I mean should the 6LR signal unicast to the root like for
>>>     unicast traffic when serving a RPL unaware leaf?
>>>
>>> [DT] That certainly could be an optimization for non-storing mode so 
>>> that a border-router might know what multicast groups to forward 
>>> from outside the network. Unfortunately though there is no MOP that 
>>> is "Non-storing with multicast", although one could argue semantics 
>>> and simply use MOP 1.
>>>
>>> [DT] If we were to opt for such behavior, 6LR nodes could simply add 
>>> RPL Target options to their DAO's, for the multicast groups they 
>>> were interested in (including those requested by leaf nodes).
>>>
>>>
>>>      If so wouldn’t it be expected that the Root makes n unicast to
>>>     all 6LRs that have listeners?
>>>
>>> [DT] I'm not sure that would make sense when MPL is being used, but 
>>> it makes for an interesting alternative to MPL.
>>>
>>>
>>>
>>>     Should we describe that mode as well?
>>>
>>> [DT] As an alternative to MPL? Sure.
>>>
>>>
>>>
>>>     Pascal
>>>
>>>         Regards
>>>
>>>         Dario
>>>
>>>
>>>
>>>             On Sep 27, 2021, at 6:32 AM, Pascal Thubert (pthubert)
>>>             <pthubert=40cisco.com@dmarc.ietf.org
>>>             <mailto:pthubert=40cisco.com@dmarc.ietf.org>> wrote:
>>>
>>>             Dear all:
>>>
>>>             This draft is a continuation of our work on RFC 8505,
>>>             8928, and 8929.
>>>
>>>             Comments welcome!
>>>
>>>             Pascal
>>>
>>>             -----Original Message-----
>>>             From: internet-drafts@ietf.org
>>>             <mailto:internet-drafts@ietf.org>
>>>             <internet-drafts@ietf.org
>>>             <mailto:internet-drafts@ietf.org>>
>>>             Sent: lundi 27 septembre 2021 15:29
>>>             To: Eric Levy- Abegnoli (elevyabe) <elevyabe@cisco.com
>>>             <mailto:elevyabe@cisco.com>>; Pascal Thubert (pthubert)
>>>             <pthubert@cisco.com <mailto:pthubert@cisco.com>>
>>>             Subject: New Version Notification for
>>>             draft-thubert-6lo-unicast-lookup-01.txt
>>>
>>>
>>>             A new version of I-D,
>>>             draft-thubert-6lo-unicast-lookup-01.txt
>>>             has been successfully submitted by Pascal Thubert and
>>>             posted to the IETF repository.
>>>
>>>             Name:draft-thubert-6lo-unicast-lookup
>>>             Revision:01
>>>             Title:IPv6 Neighbor Discovery Unicast Lookup
>>>             Document date:2021-09-27
>>>             Group:Individual Submission
>>>             Pages:15
>>>             URL:
>>>             https://www.ietf.org/archive/id/draft-thubert-6lo-unicast-lookup-01.txt
>>>             Status:
>>>             https://datatracker.ietf.org/doc/draft-thubert-6lo-unicast-lookup/
>>>             Html:
>>>             https://www.ietf.org/archive/id/draft-thubert-6lo-unicast-lookup-01.html
>>>             Htmlized:
>>>             https://datatracker.ietf.org/doc/html/draft-thubert-6lo-unicast-lookup
>>>             Diff:
>>>             https://www.ietf.org/rfcdiff?url2=draft-thubert-6lo-unicast-lookup-01
>>>
>>>             Abstract:
>>>               This document updates RFC 8505 in order to enable
>>>             unicast address
>>>               lookup from a 6LoWPAN Border Router acting as an
>>>             Address Registrar.
>>>
>>>
>>>
>>>
>>>             The IETF Secretariat
>>>
>>>
>>>             _______________________________________________
>>>             6lo mailing list
>>>             6lo@ietf.org <mailto:6lo@ietf.org>
>>>             https://www.ietf.org/mailman/listinfo/6lo
>>>
>>