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

Dario Tedeschi <dat@exegin.com> Thu, 07 October 2021 23:40 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 343F33A12C7 for <6lo@ietfa.amsl.com>; Thu, 7 Oct 2021 16:40:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, 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 YGdQT756nJ-t for <6lo@ietfa.amsl.com>; Thu, 7 Oct 2021 16:40:49 -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 23D523A12C4 for <6lo@ietf.org>; Thu, 7 Oct 2021 16:40:49 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id r2so1335258pgl.10 for <6lo@ietf.org>; Thu, 07 Oct 2021 16:40:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=exegin.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=4Ny3Egk+P7cEwYLJXMVnPqtpfR038Rk0Fu6G3kRNjSE=; b=e9Q6erLWBIppdFUGNZkRFgTUKtxCqQJjxxBY+TcH4vRp0zzumsyIbQpQEsDcNWCnhN lAs44I2kae9Kep6l7WFO0AoWyjd8nim2kVTc4fkIQGk7J/mhPqFQfBm3esjjypwmOyky dULobBnI1gVgH6eNHxNNycnqnveq2sxL78pLXsbJIZISzMmt527j1s6DvQABF1D3pq6B 1WPvG8gdKrQBmMgchEF2vTw2699LHM+wMWp6t091i62GlXakb96spdFeay1bcmFfve+C wlGSiGxH4FzWqa+ktdb1LWFZ/IaI7F7tcF5aBKPXEWb4ESXnOHfe1Pdt34bROAsjx8wa qMeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=4Ny3Egk+P7cEwYLJXMVnPqtpfR038Rk0Fu6G3kRNjSE=; b=0QeZKOJuzoe262KfINgWvzVZeKJPH7ODZ979nww7NhPYlZWeX/oFhwiTe22b5We63E e8dqV0+E36Bai9fNYrHL9LzwnO50dAxkPUpnHpYc8aRQ/aj5HQUU5aV3BzHA3rn9fSaY K+tnU7zKQRSsY2+Obbkh/cmdmOyi0CV/dCgoG6PJeEFnPGe1MB0yzxhX/6jErAr3CXpY 3sJdN5DGVghGhrgq3ZVm5EW5+pD/Ze+9qVA4wu7KrsMQNqWwboiW/YVzByU+AhGh/mZ3 xYYKFMh659ABpiQvKihXc9TaP4g6GWsovxJP/0h4p1Yp6zuqm/wFwktywro82iB3eQL6 upMA==
X-Gm-Message-State: AOAM530v3pnfsVM87sra4DkPkNCGaLUe+FAz8tjv0Z1Lqqcj/K82uckY hOCl1767S6XHJ0zX4MqMoPuvaSElLJvnSg==
X-Google-Smtp-Source: ABdhPJxIBIVR8T7/j7gTH3zIAky39T69Os7aD58PqWcoe44jePgQtqZKhnnKByzVXJlAi89GIEBl+g==
X-Received: by 2002:a63:ed17:: with SMTP id d23mr1967402pgi.29.1633650048264; Thu, 07 Oct 2021 16:40:48 -0700 (PDT)
Received: from node-1w7jr9qt501rybt4xlv3e1rct.ipv6.telus.net (node-1w7jr9qt501rybt4xlv3e1rct.ipv6.telus.net. [2001:569:7c04:b900:bd29:d1c0:3817:2abd]) by smtp.gmail.com with ESMTPSA id u74sm475128pfc.87.2021.10.07.16.40.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Oct 2021 16:40:47 -0700 (PDT)
From: Dario Tedeschi <dat@exegin.com>
Message-Id: <DAC8B4D9-3CF5-4453-9398-56869861C7D4@exegin.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_89CD43CB-CB0A-414F-899C-21896AD6390F"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Thu, 07 Oct 2021 16:40:46 -0700
In-Reply-To: <d5413f6d-979d-5f0d-e9c3-03af754575df@exegin.com>
Cc: "6lo@ietf.org" <6lo@ietf.org>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
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>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/5fsNy7teLBszh4MPdsB33N7aDSc>
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: Thu, 07 Oct 2021 23:40:54 -0000

I’m OK having the `M` bit, but I would like to see the error cases called out and what actions a node must take. E.g. one of:

discard the packet 
send an ICMP Error ("Parameter Problem") or 
send an NA+EARO with error status.

Regards
Dario


> On Oct 5, 2021, at 3:05 PM, Dario Tedeschi <dat@exegin.com> wrote:
> 
> 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 <https://www.ietf.org/archive/id/draft-thubert-6lo-unicast-lookup-01.txt>
>>>> Status:         https://datatracker.ietf.org/doc/draft-thubert-6lo-unicast-lookup/ <https://datatracker.ietf.org/doc/draft-thubert-6lo-unicast-lookup/>
>>>> Html:           https://www.ietf.org/archive/id/draft-thubert-6lo-unicast-lookup-01.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 <https://datatracker.ietf.org/doc/html/draft-thubert-6lo-unicast-lookup>
>>>> Diff:           https://www.ietf.org/rfcdiff?url2=draft-thubert-6lo-unicast-lookup-01 <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 <https://www.ietf.org/mailman/listinfo/6lo>
>>> 
>