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

Hendrik Mahrt <hendrik.mahrt@kit.edu> Thu, 08 September 2022 10:44 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 8ACCBC1524B8; Thu, 8 Sep 2022 03:44:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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_HI=-5, 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_DBL_BLOCKED_OPENDNS=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 LyAz7fH0W7pb; Thu, 8 Sep 2022 03:44:12 -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 D7774C14CF04; Thu, 8 Sep 2022 03:44:11 -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:From:References:To:Subject: MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: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=8sWempq4EgGi0WwGrDbsRDRuOUiV9+BKPSf/dUoXnf0=; b=HKbkh0Wykn1tRhsu3+Z2kaNTTB 6DFQeQQn1fEynP/ej+2bdKYB1hc/M7Ue3Aevs5aYCSfXBxNFwDgZGsV2frh4VSwyTr8wWOM1E+GEM NiLM9bgeAGGYQTtg/pXc8/By6fyXNYIrdqzFArcP7vdT+nQK4K4tiCJDnw+uC3b/4igAtNK8BBufX uoxXAXn9h1blRw/CEUOrFjaEbZQuTstk3Ly7CNqCgM+3lfMQkmhqGL/7bSDCJGRhSkjSmcNDSQeea GNE4+7kdWMWjo2ZjjGejvJEHM2YY+mL9UCG1yM6CPt/+1VJlBvu/d2U+mGya19o9VhZsZ157QjC8T PjgPGjgQ==;
Received: from kit-msx-49.kit.edu ([2a00:1398:9:f612::149]) 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 1oWF0x-009VVs-9V; Thu, 08 Sep 2022 12:44:08 +0200
Received: from [IPV6:2a00:1398:2:4006:9f07:56ae:aa28:69fb] (2a00:1398:2:4006:9f07:56ae:aa28:69fb) 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; Thu, 8 Sep 2022 12:44:06 +0200
Message-ID: <5245fb29-8e3a-79f3-9b64-727e0a12bc66@kit.edu>
Date: Thu, 08 Sep 2022 12:44:05 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
To: Michael Richardson <mcr@sandelman.ca>, anima@ietf.org, roll@ietf.org
References: <861c74d7-4fe0-9b27-6075-faa94bd6ee7a@kit.edu> <43629.1662541964@dooku>
From: Hendrik Mahrt <hendrik.mahrt@kit.edu>
Organization: TM
In-Reply-To: <43629.1662541964@dooku>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms090607070700020001080900"
X-Originating-IP: [2a00:1398:2:4006:9f07:56ae:aa28:69fb]
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/ka1vdhtIzKE3aDgCX6LbxukkjTA>
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: Thu, 08 Sep 2022 10:44:17 -0000

Hi Michael,

On 9/7/22 11:12, Michael Richardson wrote:
> 
> Hendrik Mahrt <hendrik.mahrt@kit.edu> wrote:
>      > First question: In the ACP RPL profile it is stated that "Nodes SHOULD
>      > select more than one parent, at least three if possible". But I'm not
>      > sure how multiple parents are selected by OF0 without nodes being
>      > greedy.
>      > The OF0 RFC [RFC 6552] does not contain any information about
>      > multiple parents, except for a 'backup feasible successor' (Section
>      > 4.2.2).
> 
> Remember that each parent is reachable over an IPsec tunnel.
> It's somewhat different than from a typical LLN situation where one could
> hear from multiple parents on a broadcast media.  (Well, in fact the GRASP
> DULL message serves that purpose)
>  > My thinking, which may be entirely wrong, is that the idea is to keep 
at most
> three IPsec tunnels up with potential parents.   DAOs should go down those
> tunnels so that:
> a) each end is aware of each other's rank
> b) were we ever to do p2pRPL, or DAO projection, that we'd have some lateral
>     tunnels to use.
> c) that we somehow learn of the ETX and latency across that link, and derive
>     a metric for that direction.
>     We could do this within the tunnel, using RPL messages, ICMPv6s, or
>     we could do this using the tunnel, using IKEv2 DPD messages.
> 
> On the one had we could have situations where there is some ACP-unaware L2 fabric
> connecting many ACP nodes, and it really would be silly to form all the
> adjacencies.   In this case, initiate at most three, and pick one as parent,
> but keep the other two up (and monitor them)
> 
> 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. 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.

>      > But if I understand correctly this successor is not 'actively'
>      > sought after, i.e., the node does not actively increase its rank to
>      > obtain it, as that would surely violate the rules of RPL on greediness
>      > formulated in RFC 6550 in sections 3.7.1 and 8.2.2.4?! Or am I
>      > mistaken?
> 
> Yes, that's right, the parent is not *selected*, but rather kept in reserve.
> See for instance, some of the recent RPL work
>    https://datatracker.ietf.org/doc/draft-ietf-roll-rnfd/
> 
> which would use these "lateral" relationships to detect if the parent had died.
> 
>      > Second question: The ACP RPL profile, as I understand it, features no
>      > form of global repair or DODAG version increase (except manual
>      > intervention by admin). How would that work with node mobility (which
>      > is mentioned in Appendix A.4)? MaxRankIncrease would limit a node's
> 
> It's a good question, and I assumed that global route repair would occur
> periodically, and whenever the NOC found that it couldn't reach some nodes.
> There is probably a gap in knowledge/experience here.

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.


  Hendrik