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

Dario Tedeschi <dat@exegin.com> Tue, 05 October 2021 22:05 UTC

Return-Path: <dat@exegin.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60BAB3A0AE7 for <6lo@ietfa.amsl.com>; Tue, 5 Oct 2021 15:05:24 -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=ham 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 bkMAA5eh-HhU for <6lo@ietfa.amsl.com>; Tue, 5 Oct 2021 15:05:18 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 A980C3A0AE2 for <6lo@ietf.org>; Tue, 5 Oct 2021 15:05:18 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id a73so692645pge.0 for <6lo@ietf.org>; Tue, 05 Oct 2021 15:05:18 -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=FENkHc2zG0gRI7w81JNOu8An3jGAuzBhcFibmfT9dwY=; b=PSTuidfspEbbqVC3AcwR6ViFf+yBM87FTM2fzWlENqw0mfYWWJeO8vK0taeO/pBLIV 3xOpj2f2ZjYciQpMy1r9SpwssefFC7XpNLa2bMCHUguo5/+XjjBsr9eSUmRRh3FO6HUv xxdHuQKTqfnYUe61+gZh/NxvUl0zBUgQU/W7oUf8tVl/cLMt8MS10NQ9VbqgEdryGQYu /cXMcFIZskOqXkcEDs7OI07DPzuv4J85jad8eTIgrEscYSOdRvH5ZplLMkZEcls1Z65+ mXD8kf+z3KQT4u78gyhrQ65Fci6XCvk4WYFBzoSC0ZA9Sck/gk08TDvZzWd+GlgPqjLC HWkg==
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=FENkHc2zG0gRI7w81JNOu8An3jGAuzBhcFibmfT9dwY=; b=vDzWH7V/66DZp+TRlL+WqBi0zaT8XHvYlux3MX7ng1BSJEmapdWyIw4adFxjDxGiwm CD36lSNHivO9S9j8Ls3u7qey6Sxc3wfhuFIxz8WhX5KVQcWXBtRBeHaDLp1zQH/Bo7hi jZoaacBwxYN3sC2Z+jmvNAwSN1/2PYlq/76cgP2Z0bb+o5QNbYbCmVNP53hWSMLbq5mu sfbjm0JiSo2FWgQDasKgo7NxwOqgxY9SMrSrKi31azvHZb1Wdwj4cxAyGKHmPHQw79XL 1hDwuT6Yp+oof/8Fy8ec7PTaS+gDu4iLhzBP55sWd2f8B36MjWGPViRiXWzCmLjBq5dK FGhg==
X-Gm-Message-State: AOAM530wUt+cGdvqMd0EoT+qL43gD9C5ZX2BDku4CYN8UgpskTMHbECm EEP97bqetIYm2aLqxAmKlMT9xB/nfN5bjw==
X-Google-Smtp-Source: ABdhPJz5Jw93saNEi90jgl7YifmPYOl29VLp1HayvC+Ox4VganlKc74m+FUi9gmDhqu6CsAtJqJkZw==
X-Received: by 2002:aa7:96e3:0:b0:44b:e158:584c with SMTP id i3-20020aa796e3000000b0044be158584cmr32705051pfq.43.1633471517447; Tue, 05 Oct 2021 15:05:17 -0700 (PDT)
Received: from [172.16.16.194] ([184.71.143.130]) by smtp.gmail.com with ESMTPSA id l19sm3414079pff.131.2021.10.05.15.05.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 15:05:16 -0700 (PDT)
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "6lo@ietf.org" <6lo@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>
From: Dario Tedeschi <dat@exegin.com>
Message-ID: <d5413f6d-979d-5f0d-e9c3-03af754575df@exegin.com>
Date: Tue, 05 Oct 2021 15:05:15 -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: <45C4E6BC-5EB0-44B6-94E6-5B8B28D2478E@cisco.com>
Content-Type: multipart/alternative; boundary="------------7FBC670096EEFAA5EA94FCD8"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/TrOtPJ18GV7L6P_oVKQ-5to5aVk>
Subject: Re: [6lo] New Version Notification for draft-thubert-6lo-unicast-lookup-01.txt
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2021 22:05:25 -0000

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