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

Dario Tedeschi <dat@exegin.com> Wed, 06 October 2021 19:49 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 F00AE3A083F for <roll@ietfa.amsl.com>; Wed, 6 Oct 2021 12:49:53 -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 KVHkJHbEDJJi for <roll@ietfa.amsl.com>; Wed, 6 Oct 2021 12:49:47 -0700 (PDT)
Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 B9FAB3A0846 for <roll@ietf.org>; Wed, 6 Oct 2021 12:49:47 -0700 (PDT)
Received: by mail-pj1-x1036.google.com with SMTP id np13so3021154pjb.4 for <roll@ietf.org>; Wed, 06 Oct 2021 12:49:47 -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=MR5BST4xSOqGMSWwetWdcwmOHlLGAG+FivIoplJYXog=; b=rAI73AYtwgSMG1bp2TdwHVyd53DJWCAOeo0kfwYTb0YxBnM2KTIq5ot8TJ3mFMxRS6 5MrrnBUvLOnuzLrVLZuxcjwROTmSejY/swYENtDPUs+wZ2v9N25mrwGA6Jof8KBMkp9k YfZA0P2Wazyjs7/HiUQBdFXfV30yqPEg+K2JpSNCdGtT3hu81frL+H5pjjVw5D+VcLDV IDAes3EReJOdEFQyN/CaPdRs2eObH+sUHxAy6O7Yy3+oJXlP13RxXvD7srdJAkKQ+V5V o4Jo4MVF1KK32danIrHEBVGXSHlQ7hsmCZNVMTgcW9ISfQ2tYVRYCmd9URm2V8W/UQWK o4Dw==
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=MR5BST4xSOqGMSWwetWdcwmOHlLGAG+FivIoplJYXog=; b=lUORWtF3T92rURSd6wfQ3A9e5cZxycmWp5AAzZ0pKc8xwODmwrbpwFPSTCg/30WfjY 4unQk9WzaOIR52IxUNXielv7giZqDuYoaMvpQ5DJZkNBUrPHfrG+5q+wwHTWTv5VYMmb P4mpOkp5bKW3pkkhHDiJpX7HL1l31pUVyagBSudoj1WV8F8ON0xNuiQDIpmtxwlA5kW3 eD4m8Ogx8uvQBW5TwHCM8wLg05HwHUBBY0CdtRgW9oA1uwet2mJ4dxZeXtcpgafsSsx0 CZHjasNGdPYVU+utp9O3ig4LSePr2BFimFZMnqNU5T1B3NkK498/YDNCxPFDZZMNCXlL 8M1w==
X-Gm-Message-State: AOAM533QA8rWqX1+ZrSQol7LIxQNIdgUX23FonyKAkpknN8zjn8k+/Cf CpLuIBM1CZSubyPPbbRxc5O1R6AGClwXRA==
X-Google-Smtp-Source: ABdhPJwAuPBaQgsC6EHhbNU0lauM/ch4RGTvQG+ukTFd1z/q4XCqe4Qqo+O0lpq6WPTgLDNvUWXjKw==
X-Received: by 2002:a17:90b:1294:: with SMTP id fw20mr208985pjb.148.1633549786518; Wed, 06 Oct 2021 12:49:46 -0700 (PDT)
Received: from [172.16.16.194] ([184.71.143.130]) by smtp.gmail.com with ESMTPSA id w15sm10687732pfc.220.2021.10.06.12.49.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 12:49:45 -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>
From: Dario Tedeschi <dat@exegin.com>
Message-ID: <d5f0deef-3a00-0817-6b96-e47820ea4b22@exegin.com>
Date: Wed, 06 Oct 2021 12:49:45 -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: <CO1PR11MB48812820528580673D65D478D8B09@CO1PR11MB4881.namprd11.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------58281B7E7E758124A2032DC0"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/5usSlpdPDhAQJzAEsSFYLV10whg>
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 19:49:54 -0000

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).

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").

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?

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
>