Re: [Roll] 6LoRH type in useofRPLinfo

Ines Robles <mariainesrobles@googlemail.com> Thu, 04 July 2019 13:17 UTC

Return-Path: <mariainesrobles@googlemail.com>
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 3C3DD12038B for <roll@ietfa.amsl.com>; Thu, 4 Jul 2019 06:17:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=googlemail.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 4rlqsDrrpbTu for <roll@ietfa.amsl.com>; Thu, 4 Jul 2019 06:17:44 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 1CE2D12001A for <roll@ietf.org>; Thu, 4 Jul 2019 06:17:44 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id m24so3300641ioo.2 for <roll@ietf.org>; Thu, 04 Jul 2019 06:17:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LThisrUBY4UC3uVRRBMGdzbSyvtshcI6a2D0F23bhoo=; b=TJ+n+NKBozDem6jnsnG2fwe0LyizDfvxoPB/0U3qRrHwYaQ6j6jd8K4RvE+lZYlUoM fvK5xhnem0mCVbNOwqH1bb/9HPpn2jajnp+s3YdMtXMw1mjrwWRsqjFDVfGN3rJu/UMy DEgQ+BhGnVybUciSFM0pvDFN18UAFhYz9mBkRdK+HwUNorJQ5eN0tgsPnskVuJDwAYU+ HcECDICJvAE/eeQK8Fw7TmqcbhDHrw/MAv2e6Y550XKPvCkuRDJdHpTACMkklqZuxa+k 3LBrGA1S2tFcWn7PMDdrg6Ctj1dJIJXKc6AaBsUIXur8YTrFVX007M29aB53rOEq/ey5 OmnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LThisrUBY4UC3uVRRBMGdzbSyvtshcI6a2D0F23bhoo=; b=E5jgrinEhhWdZyZSwgs9DNZ35+1FUDVeuZMHQrdcKWNne00d9uoUiGA2fwnua3ydGH 5LPBNyZWFiP1ZPG1eJjz3FGkDpCeNFFtKGAGqrzlmrCQxx/GVbFcWDb/fWNx8ZlcjuAI we8C0nf/UjhwbjyeHGMeqZgkHavVsFA2/a6V9gGaunjmoRhhMdi6nj9IucvT0V1oUoec /TrJ4DUXY+JXwnbBEGSShFXAbuWITiNUJ1/fAB9wlE/r/SMwEEbCZeIKrn21Pzb5dEo4 mgUc+cHo+9HzopW4u/wNnuK7mPCU2tAOolnAKWOogun4fOBVxveJtNRXWj/HsKmdY39M 58Ow==
X-Gm-Message-State: APjAAAWlTgLrXorvmOTxAuzDJkYV4v9RR/q4YhkNrbliSSRr08CbocBA CUyAnNQ61sUaxKNXEFkJxAn+W5CH8TZxKkNhtNPFgw==
X-Google-Smtp-Source: APXvYqynK/wlwriXEZ96PxTMwWZjyfaZim6nQpL12Inga/SNuR5RSS2QQAqBBL0+36fbjrXk1WplEyllcn1+65NEG6o=
X-Received: by 2002:a02:a810:: with SMTP id f16mr7978957jaj.73.1562246262642; Thu, 04 Jul 2019 06:17:42 -0700 (PDT)
MIME-Version: 1.0
References: <MN2PR11MB35652590F29701C0F9097C1FD8F80@MN2PR11MB3565.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB35652590F29701C0F9097C1FD8F80@MN2PR11MB3565.namprd11.prod.outlook.com>
From: Ines Robles <mariainesrobles@googlemail.com>
Date: Thu, 04 Jul 2019 16:17:30 +0300
Message-ID: <CAP+sJUdkzT31mJinzmNhN9=BY=X1+9-t6oKWfnYjYqX-85sWXA@mail.gmail.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000895c41058cdacd0d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/wuiy-Ew6XtQ47NuJyNO9E9Y4kQM>
Subject: Re: [Roll] 6LoRH type in useofRPLinfo
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
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, 04 Jul 2019 13:17:46 -0000

Dear all,

Version 31 adds more clarification on this item.

Thank you very much Pascal for improving the document.

Best regards,

Ines.

On Tue, Jul 2, 2019 at 5:07 PM Pascal Thubert (pthubert) <pthubert@cisco.com>
wrote:

> Dear all
>
>
>
> Reviewing again
> https://tools.ietf.org/html/draft-ietf-roll-useofrplinfo-25 I think we
> made a mistake in Fig 3:
>
>
>
> The format of RFC 8138 compressed packet is presented as:
>
>
>
>    +--+-----+---+--------------+-----------+-----------+-----------+
>
>    |1 | 0|0 |TSE| 6LoRH Type 6 | Hop Limit | RPI-6LoRH |LOWPAN IPHC|
>
>    +--+-----+---+--------------+-----------+-----------+-----------+
>
>
>
> But it should really be as fig 20 in RFC 8138, meaning the RPI is before
> the IP-in-IP:
>
>
>
>
>
> +-+ ... -+-+ ... +-+- ... -+-+- ... +-+-+-+ ... +-+-+ ... -+ ... +-...
>
>  |11110001|SRH-6LoRH| RPI-  | IP-in-IP | NH=1      |11110CPP| UDP | UDP
>
>  |Page 1  |Type1 S=2| 6LoRH |  6LoRH   |LOWPAN_IPHC| UDP    | hdr |Payld
>
>  +-+ ... -+-+ ... +-+- ... -+-+-- ... -+-+-+ ... +-+-+ ... -+ ... +-...
>
>             <-8bytes->                  <-        RFC 6282 <https://tools.ietf.org/html/rfc6282>      ->
>
>                                                 No RPL artifact
>
>
>
>                Figure 20: Example Compressed Packet with SRH
>
>
>
> Data is removed from the left as consumed. Removing the IP-in-IP removes
> everything left of it including RPI.
>
> What gets forwarded to the unaware leaf starts at the LOWPAN_IPHC.
>
> What’s worth noting is that in Storing Mode the SRH contains the address
> of the 6LR that decapsulates.
>
> IOW the SRH encodes the destination of IP-in-IP, whereas the root is the
> source so the encapsulator in the IP-in-IP 6LoRH is elided…
>
>
>
> All the best,
>
>
>
> Pascal
>
>
>
>
>
>
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll
>