Re: [6lo] SCHC over 6lo: Pointer-based Route-Over (PRO)
Carles Gomez Montenegro <carles.gomez@upc.edu> Mon, 18 December 2023 14:01 UTC
Return-Path: <carles.gomez@upc.edu>
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 A3143C14F684 for <6lo@ietfa.amsl.com>; Mon, 18 Dec 2023 06:01:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=upc-edu.20230601.gappssmtp.com
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 WYgZi1--440r for <6lo@ietfa.amsl.com>; Mon, 18 Dec 2023 06:01:05 -0800 (PST)
Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99F93C14F60E for <6lo@ietf.org>; Mon, 18 Dec 2023 06:01:05 -0800 (PST)
Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-336695c4317so705523f8f.3 for <6lo@ietf.org>; Mon, 18 Dec 2023 06:01:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20230601.gappssmtp.com; s=20230601; t=1702908063; x=1703512863; darn=ietf.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9Yguw5D+pMvM0kq9OLd6ZAfk6SeCRDSMfaweTA+IVNM=; b=ley/AydIbZqPi8DXaqv7nUgkpAAP57vtziQ2CCkhAu53c+71o0XC/NefKRcie11Y5Y wHys9IIgab6hJCcNm50y+5AIJS391JXThT4igoL7a5DTmVUgAcvOTzxnOhLTl3gqIy/P 2DfQyANNim3LA9JKhhriHC0voER2x+uD7hCY9d3bJqjt0pfA/foMVLQdFi9ah7vyCp1/ gyy8iXPMCkXwO17dBTgb8eutwty/RqgkAGd4zQPkdVFIvQUIXrbPI+T2r7dg+wiYDxsD RswpZhHaFoba6smYrIW5laolDWMVI7poVqVx/ojTwnohaMxjLAbI9tMm168bDFBZFnkD 0wPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702908063; x=1703512863; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9Yguw5D+pMvM0kq9OLd6ZAfk6SeCRDSMfaweTA+IVNM=; b=NnsCOZtWWp/xUjjM2+eTrWpohE3Wonj5wnDPcJhkFtN7OFhGTkbKfReqXe3NWdp61u 0MOBKrqrAKjZHseuUcC1d+szFXwvGropIKEuexsSJN/Sj1y2wisjqIGE5dl1aOf8SlGP y0S9IKc5fdANwBWRjim/38w2Sv25sMG86KTMneKSJul+zgOpCrl66Q+iE61OoqB9ALZX ExES+vKU3uuuPuxC2V8rEXUpwnEg2s482X3JXl0VTUXSuobywlLH60VL4FsknykOFNvZ dj30Kfpz/tZ6aZyySgVFjUAB7YEExYBAPlokUKTuTEEsbb9sl/dcwvdwGgAkscRQbQJH oeHQ==
X-Gm-Message-State: AOJu0YxR6GtzwDysZ+aLIE9i00fR1aGGxZ94K0Tzm5eA/NVXTIWhtSMR cbxvJgF2ZDvyyNJ/1dlr3JDzXKLX8G1NlxXBdFfAmQ==
X-Google-Smtp-Source: AGHT+IGOGCBUM9Ce8egGHuMw5MuQl/5GTdtLaM79ZkPn75AYozbv6F6nludR7046pcfgE3h7N3GHH1bzwM5ENG3Uq5c=
X-Received: by 2002:a05:6000:543:b0:333:381d:6a26 with SMTP id b3-20020a056000054300b00333381d6a26mr8984373wrf.135.1702908059370; Mon, 18 Dec 2023 06:00:59 -0800 (PST)
MIME-Version: 1.0
References: <E19C30F8-0731-426D-A065-9FAAB50C7C58@gmail.com>
In-Reply-To: <E19C30F8-0731-426D-A065-9FAAB50C7C58@gmail.com>
Reply-To: carles.gomez@upc.edu
From: Carles Gomez Montenegro <carles.gomez@upc.edu>
Date: Mon, 18 Dec 2023 15:00:48 +0100
Message-ID: <CAAUO2xwb1JJ+vWX1L8oYYXf=9giwsKcoVfcRMO6HrtD7SKS6Hw@mail.gmail.com>
To: Georgios PAPADOPOULOS <gpapadopoulos.ietf@gmail.com>
Cc: 6lo@ietf.org, anaminaburo@gmail.com
Content-Type: multipart/alternative; boundary="000000000000f6e18d060cc92df1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/2rdoJHER5lWGY1djluT76FArCIA>
Subject: Re: [6lo] SCHC over 6lo: Pointer-based Route-Over (PRO)
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 18 Dec 2023 14:01:07 -0000
Dear Georgios, Many thanks for your comments and proposals! Please find below my inline comments/responses (as a co-author): On Fri, 15 Dec 2023 at 14:04, Georgios PAPADOPOULOS < gpapadopoulos.ietf@gmail.com> wrote: > Dear 6lo, > > Below you will find some thoughts and propositions on the PRO approach in > SCHC over 6lo draft, i.e., draft-ietf-6lo-schc-15dot4-04. > > Many thanks in advance, > Georgios > > — — > > 1. *PRO approach in a network beyond a single prefix*: > If the nodes operate in a network beyond a single prefix and are based PRO > approach, for the intermediate nodes (i.e., 6LR nodes) that *store no > Rules*, based on the current state of the draft, PRO does not provide > much of compression benefit, since in each packet both IPv6 Prefix and IID > should be explicitly indicated. In other words, the whole 16 Bytes (128 > bits) of the IPv6 destination address will have to be “residue" in the SCHC > Header. > > One might consider then TRO as an alternative approach, then what if we > are in a typical Smart Metering application where there are more than a few > hops, i.e., 10 or even 20 hops, from the source to the Root in a multi-hop > mesh network? > > Therefore, I was wondering why not to consider to employ the benefits of > the RFC 6282 *while the 6LRs will not store any Rule*, and more > specifically the notion of the Contexts. > RFC 6282 comes with CID flag, if this flag is active, then after the IPHC > header (after the DAM field), an additional 8-bit CID field immediately > follows, which allows up to 16 source and destination prefixes. > For the case of PRO, I was thinking to keep only the 4 bits, since PRO > considers only the destination IPv6 address. > > Therefore, adding contexts as in RFC 6282 would allow to deal with the > problem of supporting multiple possible destination prefixes in PRO. As > previously presented, the additional overhead would still appear to be low > which will probably make it worth. Furthermore, CID could be equal to "0" > by default in a scenario where there is one single prefix, for better > compression performance, and thus, no need to carry the extra 4 bits of the > CID field. > > Leveraging on your analysis, I understand that there are the following pros and cons: - Pros: your proposal allows to support multiple destination prefixes (with no additional overhead in single-prefix scenarios) in a way significantly more efficient than the current one. - Cons: the destination prefix context (i.e., not SCHC C/D Rules) has to be distributed to the 6LRs, and possibly, maintained. (There are also the 4 additional bits of packet header overhead.) I personally like that the cons above only exist when multiple destination prefixes need to be handled. What does the WG think regarding Georgios' proposal? Any comments? > Now, the question is where to locate the CID flag and the CID field of 4 > bits. Below, I have a naive approach, I am sure a better one may come up, > i.e., extension of the SCHC Pointer size in order to have a second pointer > to indicate the CID, see Figure 1. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - > | SCHC Ptr Dsptch | Extended SCHC Pointer | Cmprd Header: IID + Optional > CID field | Payload | Padding | > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - > Figure 1: Frame format for SCHC-compressed packets in PRO. > > > The current SCHC Pointer format is as follows: 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 +-+-------------+-+-------------+ |R| Bit |0| Address | | | pointer | | length | +-+-------------+-+-------------+ There are two currently unused bits (the 'R' bit and the '0' bit). Perhaps one of them could be defined as CID. > 2. *IPv6 Header* > Next, in the current state of PRO, the 6LRs can read only the IPv6 > destination address, and nothing else. > However, as it is stated in the draft “PRO is compatible with RPL storing > mode, as well as with other routing protocols.”, if other fields from the > IPv6 header field is required by a 6LR that runs on a XYZ routing protocol, > then these devices are not capable to read these fields. > > For example, Hop Limit field, it is an essential information for a packet > to be dropped in case it ended up in a loop. > Therefore, as an option, we could consider for the Hop Limit field to be > followed in the “residue” after the IPv6 destination address. > > Yes, this is a current limitation of PRO. There may be different alternatives to expose the Hop Limit field to a 6LR in this case, including compressed ones. Let's think about it... > > 3. *SCHC Pointer Format* > Next, considering that in PRO approach the 6LR nodes do not store Rules, > then, the Matching Operators of SCHC can not be applied. For instance, the > Match-mapping can not be applied as the 6LR needs to have all the potential > addresses in order to apply the C/D Action properly. > > Therefore, based on the current state of the draft, do we agree that 6LR > devices with PRO approach enabled, they do not proceed with any SCHC C/D > and any Matching Operation, except reading the *destination* IPv6 address > which is the “residue” in the SCHC Header? > > Agreed! In my opinion, we need to state this in the document. Once again, many thanks! Cheers, Carles
- [6lo] SCHC over 6lo: Pointer-based Route-Over (PR… Georgios PAPADOPOULOS
- Re: [6lo] SCHC over 6lo: Pointer-based Route-Over… Carles Gomez Montenegro