Re: [Roll] [Anima] ACP RPL profile and dynamics

Hendrik Mahrt <hendrik.mahrt@kit.edu> Mon, 12 September 2022 08:51 UTC

Return-Path: <hendrik.mahrt@kit.edu>
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 42083C14CF00; Mon, 12 Sep 2022 01:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.408
X-Spam-Level:
X-Spam-Status: No, score=-4.408 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kit.edu
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYHiYNkeGzBM; Mon, 12 Sep 2022 01:51:06 -0700 (PDT)
Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [IPv6:2a00:1398:9:f712::810d:e752]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54818C14F72C; Mon, 12 Sep 2022 01:51:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kit.edu; s=20220408; h=Content-Type:In-Reply-To:References:CC:To:Subject:From: MIME-Version:Date:Message-ID:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=G1SPohOKS8MGz3u+AXz1PXHb5HGSctGL4jDcrP7+Uys=; b=d63XSQhdGjwAky2RtcgQYHon+7 DIzQkcIcHaEAwF2Y9grBPO6980PpORD5R4DIBvYUqRsgWH8YaD1rmk80h+QzzyLgh5xNZzXfXcw2E RGPJroRX/cKq2lixzaLP2oxlpFxhioNzJOmKBgNxNoHTZgPPSJfKpYOfONu7Vk/j1dodV4hNMdfX0 U1ATn+fPyNl3H6KiSkYA3YgVFkwNWKXmzm0c5WcdG+7EJuYj5If+LSF+Mf0k5XESkKIJ4BSmitY/l g3szwRKatWWxYSnhdi9JZPiVntH6+Jl3TbikbtUtTQp7w5wPlpPkkmje+hy/oELVk0UxWeEU/2Xi6 GH1LKi8w==;
Received: from kit-msx-47.kit.edu ([2a00:1398:9:f612::147]) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_SECP384R1__RSA_SHA256__AES_256_GCM:256) (envelope-from <hendrik.mahrt@kit.edu>) id 1oXf9g-009SDy-Eb; Mon, 12 Sep 2022 10:51:00 +0200
Received: from [IPV6:2a02:8109:10bf:c6c8:f5f4:4c28:1670:306c] (2a02:8109:10bf:c6c8:f5f4:4c28:1670:306c) by smtp.kit.edu (2a00:1398:9:f612::106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Mon, 12 Sep 2022 10:50:57 +0200
Message-ID: <1f1cb631-0426-c4bd-66a9-920b9592f5d6@kit.edu>
Date: Mon, 12 Sep 2022 10:50:56 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0
From: Hendrik Mahrt <hendrik.mahrt@kit.edu>
To: Toerless Eckert <tte@cs.fau.de>
CC: Michael Richardson <mcr@sandelman.ca>, anima@ietf.org, roll@ietf.org
References: <861c74d7-4fe0-9b27-6075-faa94bd6ee7a@kit.edu> <43629.1662541964@dooku> <5245fb29-8e3a-79f3-9b64-727e0a12bc66@kit.edu> <Yxp7vCb2z29mL11h@faui48e.informatik.uni-erlangen.de>
Content-Language: en-US
Organization: TM
In-Reply-To: <Yxp7vCb2z29mL11h@faui48e.informatik.uni-erlangen.de>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms000304050003070109010504"
X-Originating-IP: [2a02:8109:10bf:c6c8:f5f4:4c28:1670:306c]
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/jm-67eecb6R4XzJyDNuOwSln2es>
Subject: Re: [Roll] [Anima] ACP RPL profile and dynamics
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 12 Sep 2022 08:51:10 -0000


On 9/9/22 01:33, Toerless Eckert wrote:
> On Thu, Sep 08, 2022 at 12:44:05PM +0200, Hendrik Mahrt wrote:
>>> On the other hand, a more typical ISP situation is there is a router with
>>> three or four WAN links, each of which is a p2p ethernet.  In that case,
>>> there is really only one peer on each link, and it makes no sense not to have
>>> a tunnel up on every interface.
>>>
>>
>> I'm not quite sure how the type of media or its capability to broadcast
>> interacts with RPL parent selection. The way I understand ACP, IPSec
>> tunnels are established with all link neighbors of the same ACP domain.
>> This is done prior to RPL coming into action.
> 
> Right. Just like any L2 security would happen before RPL exchanges messages.
> 
>> It is also necessary to
>> exchange RPL ranks with all neighbors. How else would a node determine
>> its parent(s)? I guess afterwards tunnels to neighbors that are neither
>> parent nor child of a node could be closed again, yes.
> 
> Which IMHO would raise the problem of then being unable to discover all
> RPL changes from a (closed) RPL neighbor, unless there are clear RPL procedures
> that indicate whenever a RPL neighbor needs to actively reach out to another
> RPL neighbor again (hence being able to have signals to re-create the ACP
> tunnel).

yes that is how I understand it as well. So, tunnels must be established
between all nodes for RPL signaling. They may be closed but must be 
re-established if RPL requires to reach that neighbor.

> 
>> The wording in ACP Section 6.12.1.7 is "The DODAG version is only
>> incremented under catastrophic events", therefore I was under the
>> impression global repair would only be done in extreme circumstances,
>> and not periodically.
> 
> So my "Root dies" could be seen as a catastrophic event. What then would
> be the least-catastrophic event that could only be handled with periodic
> version increase ?
> 

They way I understand RPL, any form of mobility in the DODAG could lead
to this problem if no periodic global repair is performed. Mobility
either in form of extensive physical mobility of a node or as movement
in the DODAG caused by link failures, where the rank increase is too
high. For example, after a link failure a subtree may only be attached
to the rest of the tree by a link further down below. But I may be
entirely wrong and have missed some other mechanism in the RPL standard,
that allows a node to change its rank beyond the maximum rank increase
in the same DODAG and same version.

I would really appreciate if someone with RPL experience would come to
the rescue here. Also for my other original question about the
greediness of nodes when selecting multiple parents in this special RPL 
profile used in ACP.
I will also read the RPL standard front to back again to see if I missed 
something.

> Cheers
>      Toerless
> 
>>   Hendrik

  Hendrik