[Roll] Updates of AODV-RPL since IETF101

"Liubing (Remy)" <remy.liubing@huawei.com> Tue, 10 April 2018 01:35 UTC

Return-Path: <remy.liubing@huawei.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 5A62812D86E for <roll@ietfa.amsl.com>; Mon, 9 Apr 2018 18:35:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 6WHwB07_Y97f for <roll@ietfa.amsl.com>; Mon, 9 Apr 2018 18:35:11 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6B41126B72 for <roll@ietf.org>; Mon, 9 Apr 2018 18:35:11 -0700 (PDT)
Received: from lhreml702-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 62B5022CB50C8 for <roll@ietf.org>; Tue, 10 Apr 2018 02:35:07 +0100 (IST)
Received: from DGGEMM402-HUB.china.huawei.com (10.3.20.210) by lhreml702-cah.china.huawei.com (10.201.108.43) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 10 Apr 2018 02:35:08 +0100
Received: from DGGEMM506-MBS.china.huawei.com ([169.254.4.14]) by DGGEMM402-HUB.china.huawei.com ([10.3.20.210]) with mapi id 14.03.0361.001; Tue, 10 Apr 2018 09:34:59 +0800
From: "Liubing (Remy)" <remy.liubing@huawei.com>
To: "roll@ietf.org" <roll@ietf.org>
Thread-Topic: Updates of AODV-RPL since IETF101
Thread-Index: AdPP5WICQ1DxaeWwQkaiOu+P/Y37Aw==
Date: Tue, 10 Apr 2018 01:34:59 +0000
Message-ID: <BB09947B5326FE42BA3918FA28765C2EDDF2DD@DGGEMM506-MBS.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.130.180.83]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/EYLP5dTWTF-Ceg6lNpQvuKIK6l4>
Subject: [Roll] Updates of AODV-RPL since IETF101
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 10 Apr 2018 01:35:13 -0000

Hello ROLL,

We are working on the revision of AODV-RPL. Hopefully, we will submit the next version very soon.

In the current draft, a 'T' bit is used in the RREP-DIO, when it is clear, the Target Option encapsulating the OrigNode's address can be elided. Recently, we discovered that if local InstanceID is used for the RREQ and RREP instances, in RREP-DIO the Target Option MUST be present.

This is due to the following two reasons:

1. The first reason is related to the route entries built in hop-by-hop mode. We think one route entry should have at least the following items: the route's source and destination addresses, InstanceID, next-hop, lifetime. Because the Instance ID is locally assigned, so it should be used with the source address, which is the DODAGID. For the a upward route entry, all the items can be learnt by related fields in the RREQ-DIO. For an intermediate node not on the upward route, it won't get the source address for the downward route entry if the Target Option (including the OrigNode's address) is elided in the RREP-DIO, even though the InstanceID is well paired without any conflict.

2. The second reason is to solve the corner case when two router happen to use the same local instanceID to do RD to the same TargNode. For example, Node A and B are trying to find routes to C, coincidentally, they use the same InstanceID. They both are not aware of this situation when they send out the RREQs, because the InstanceID is assigned locally.  When A's RREQ arrives at C earlier than B' RREQ, C will send out the RREP-DIO to build route to A. The InstanceID of RREP-DIO is paired to A's RREQ-DIO, and A's address is elided ('T'=0). When receive B's RREQ, C will use another number shifted from the original one as the instanceID is already used by the RREP for A. (But B is not aware of this.) When the RREP-DIO dedicated for A arrives at B, B thinks this RREP-DIO is for itself by identify the paired InstanceID and the DODAGID (which is C's address). In this case, B will build route to C, but the routes follows A's requirements not B's. And B will not forward the RREP-DIO to A. Probably, A will never get its RREP.

Therefore, if local instanceID is used, the RREP-DIO for asymmetric route MUST have exactly one target option, and the 'T' bit in RREP option is no longer needed in this case. For symmetric route, the RREP-DIO is unicast to the OrigNode, the Target Option can be elided, because the addresses can be learnt from the IPv6 header of RREP-DIO.

Another solution to solve this problem is to use global InsanceID, which is 128 in total. Is this a feasible solution?

Looking forward to your comments.

Best regards,
Remy