Re: [lp-wan] Fw: re-order header field request

"Carles Gomez Montenegro" <carlesgo@entel.upc.edu> Wed, 28 June 2017 15:31 UTC

Return-Path: <carlesgo@entel.upc.edu>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45738129B4B for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 08:31:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 57jYjjpMcJms for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 08:31:07 -0700 (PDT)
Received: from dash.upc.es (dash.upc.es [147.83.2.50]) (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 4F155129B4C for <lp-wan@ietf.org>; Wed, 28 Jun 2017 08:31:07 -0700 (PDT)
Received: from entelserver.upc.edu (entelserver.upc.es [147.83.39.4]) by dash.upc.es (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v5SFUwdi044762; Wed, 28 Jun 2017 17:30:59 +0200
Received: from webmail.entel.upc.edu (webmail.entel.upc.edu [147.83.39.6]) by entelserver.upc.edu (Postfix) with ESMTP id 0D8661D53C1; Wed, 28 Jun 2017 17:30:58 +0200 (CEST)
Received: from 79.158.9.53 by webmail.entel.upc.edu with HTTP; Wed, 28 Jun 2017 17:30:26 +0200
Message-ID: <02bc809a35d6057df366de2cf9d6d5ce.squirrel@webmail.entel.upc.edu>
In-Reply-To: <63E493F830B247189870EB052E737878@WeiGengyuPC>
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <912c2aab-a69f-355a-f7c5-730bac5eaafa@ackl.io> <F5C7D3EBA1DD42858C339E13F435F7AC@WeiGengyuPC> <CAEW-XCC6WWU5Y0cG22c7OQriF3_2i2+MZe2j6xgpP4Rs5mnupw@mail.gmail.com> <341C683FEB8548B4924400501958BEAF@WeiGengyuPC> <42e03b91c6a5e748a0c9d7d81966eef0.squirrel@webmail.entel.upc.edu> <3EE9A684758B44CE9FF891EFDBBF45BA@WeiGengyuPC> <0b52c5cefcbf45b9b3de78d35ae516ad@XCH-RCD-001.cisco.com> <EE6304FA8F854718909CE5544B3F4D50@WeiGengyuPC> <23622a341606ebed36588747e92607b2.squirrel@webmail.entel.upc.edu> <63E493F830B247189870EB052E737878@WeiGengyuPC>
Date: Wed, 28 Jun 2017 17:30:26 +0200
From: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
To: weigengyu <weigengyu@vip.sina.com>
Cc: lp-wan@ietf.org, arun@ackl.io, "Pascal Thubert (pthubert)" <pthubert@cisco.com>
User-Agent: SquirrelMail/1.4.21-1.fc14
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: clamav-milter 0.99.2 at dash
X-Virus-Status: Clean
X-Greylist: Delayed for 25:08:32 by milter-greylist-4.3.9 (dash.upc.es [147.83.2.50]); Wed, 28 Jun 2017 17:31:00 +0200 (CEST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/yqbqwdLwXiVBIMYeF-CI9b6uzBw>
Subject: Re: [lp-wan] Fw: re-order header field request
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jun 2017 15:31:10 -0000

Hi Gengyu,

Please find inline responses to your questions below:

> Hi Carles,
>
>> In the context of the SCHC specification, an L2 LPWAN frame may carry an
>> unfragmented IPv6 datagram with a compressed header (see Fig. 4).
>
> This doc is just a draft.
> The format in Fig.4 can be re-organized to get the suppression optimized.
>
>> The Rule ID is the first field of the compressed IPv6 datagram.
> Defining the first two bits are defined as an indications, these problems
> ara solved.
>
> If it is 00, the fragment is the first and contains a Rule ID.
>         If the Rule ID says this is an unfragment datagram, let it go;
>         If the Rule ID says this is an fragmented one, you then get the
> Dtag.
> If it is not 00, you need to get the Dtag for the fragment,
>         and get the Rule ID by the Dtag.
>
>> When a compressed IPv6 datagram needs to be fragmented, then some Rule
>> ID
>> space (of size R bits) is 'stolen' and used for fragmentation
>> functionality. So a requirement here is that whatever is defined for
>> fragmentation needs to be consistent with the format used for header
>> compression. Some special Rule ID (or set of Rule IDs in terms of R-bit
>> patterns) needs to be used to signal that a data unit being carried is a
>> fragment.
>
> It has been clarified that only one Rule ID is required for an IPv6
> packets
> if it is framennted.
> Or fragments belonged to one IPv6 packet just needs one Rule ID.
> The Rule ID can be carried in the frist fragment to the receiver.
> Only one is enough for conveying this information.
>
>> Note that we cannot risk communication failure due to e.g. loss of a
>> first
>> fragment (which in your proposal carries a Rule ID) followed by other
>> fragments (which in your proposal do not carry a Rule ID) that are
>> actually received. In such case, a receiver may process the received
>> data
>> units as e.g. unfragmented (compressed) IPv6 datagrams.
>
> Could you explain how the receiver precesses fragments without getting the
> first fragment of an fragmented IPv6 packet?
> No, it cannot by the current draft either.

The point is that with the current draft, if the first fragment is lost,
subsequent fragments cannot be confused with unfragmented IPv6 datagrams,
since all fragments have a Rule ID field that is set to a value that
indicates that the data unit being carried is a fragment.

> Can you explain how the the current draft avoids the risk of communication
> failure due to e.g. loss of a first fragment?
> It is not available to have each fragment processed independently by the
> current draft.

Please see the response above.

>> In such case, a receiver may process the received data units as e.g.
>> unfragmented (compressed) IPv6 datagrams.
> What is an unfragmented (compressed) IPv6 datagram?
> If it is an unfragmented, it is the first, it contain the Rule ID.  Do you
> suppose it lost?

An unfragmented (compressed) IPv6 datagram is an IPv6 datagram which,
after SCHC header compression, has a size that does not exceed the maximum
L2 data unit payload size currently allowed. Therefore, it does not need
fragmentation.

Greetings,

Carles


> Regards,
>
> Gengyu WEI
> Network Technology Center
> School of Computer
> Beijing University of Posts and Telecommunications