Re: [Roll] Updates of AODV-RPL since IETF101

"Liubing (Remy)" <remy.liubing@huawei.com> Wed, 25 April 2018 01:48 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 7098F12DA07 for <roll@ietfa.amsl.com>; Tue, 24 Apr 2018 18:48:24 -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 nhJv_rjFFAQm for <roll@ietfa.amsl.com>; Tue, 24 Apr 2018 18:48:21 -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 5B52E126D85 for <roll@ietf.org>; Tue, 24 Apr 2018 18:48:21 -0700 (PDT)
Received: from lhreml701-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 8EEE0949357AD for <roll@ietf.org>; Wed, 25 Apr 2018 02:48:18 +0100 (IST)
Received: from DGGEMM404-HUB.china.huawei.com (10.3.20.212) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.382.0; Wed, 25 Apr 2018 02:48:19 +0100
Received: from DGGEMM506-MBS.china.huawei.com ([169.254.4.14]) by DGGEMM404-HUB.china.huawei.com ([10.3.20.212]) with mapi id 14.03.0361.001; Wed, 25 Apr 2018 09:48:14 +0800
From: "Liubing (Remy)" <remy.liubing@huawei.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: Updates of AODV-RPL since IETF101
Thread-Index: AdPP5WICQ1DxaeWwQkaiOu+P/Y37AwJOg0JgAHKX5FAAAScCsABRe2eg
Date: Wed, 25 Apr 2018 01:48:14 +0000
Message-ID: <BB09947B5326FE42BA3918FA28765C2EDE54D6@DGGEMM506-MBS.china.huawei.com>
References: <BB09947B5326FE42BA3918FA28765C2EDDF2DD@DGGEMM506-MBS.china.huawei.com> <982B626E107E334DBE601D979F31785C5DBCCA95@BLREML503-MBS.china.huawei.com> <BB09947B5326FE42BA3918FA28765C2EDE4A54@DGGEMM506-MBS.china.huawei.com> <982B626E107E334DBE601D979F31785C5DBCEF31@BLREML503-MBS.china.huawei.com>
In-Reply-To: <982B626E107E334DBE601D979F31785C5DBCEF31@BLREML503-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/wR1P9fJga74GAXmB2z4gm-ZsHWo>
Subject: Re: [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: Wed, 25 Apr 2018 01:48:24 -0000

Hello Rahul,

Yes, the T bit will be removed.

Thanks for raising a good point about the SHIFT field. We will add a section talking about this.

The "shifting of instanceID" is used to distinguish the two RREP-instances at the TargNode, when two OrigNodes happen to use the same local InstanceIDs to the same TargNode. Any intermediate node should rebroadcast the RREP-DIO without changing the (shifted) InstanceID. However, when building routing state in hop-by-hop mode ('H'=1) at an intermediate node, the original InstanceID (shift back) should be used. When receiving the RREP-DIO, the OrigNode will shift back to the original InstanceID. Since the original InstanceID is assigned by the OrigNode, there should be no conflict. There is no need to have another round of RREQ-DIO and RREP-DIO if the routes are found successfully. The states established on 6LRs will timeout eventually if they are not used for packet forwarding.

Best regards,
Remy

> -----Original Message-----
> From: Roll [mailto:roll-bounces@ietf.org] On Behalf Of Rahul Arvind Jadhav
> Sent: Wednesday, April 25, 2018 8:28 AM
> To: Routing Over Low power and Lossy networks <roll@ietf.org>
> Subject: Re: [Roll] Updates of AODV-RPL since IETF101
> 
> Thanks Remy,
> 
> Thus I assume T bit will be removed?
> 
> Another Question: Section 6.3.3. last para talks about handling paired
> instanceID collision on TargNode. The details are insufficient regarding how
> to handle "shifting of instanceID".  RREP option has SHIFT field to indicate the
> shifting, but when it reaches OrigNode and if the resulting shifted instanceID
> is already in use by OrigNode then how should the handling be? How to
> clean-up the states established on 6LRs because of previous RREQ-DIO
> instance? Will shifting result in another round of RREQ-DIO, RREP-DIO ?
> IMO, this warrants a separate section.
> 
> Regards,
> Rahul
> 
> 
> -----Original Message-----
> From: Roll [mailto:roll-bounces@ietf.org] On Behalf Of Liubing (Remy)
> Sent: 23 April 2018 18:07
> To: Routing Over Low power and Lossy networks <roll@ietf.org>
> Subject: Re: [Roll] Updates of AODV-RPL since IETF101
> 
> Hello Rahul,
> 
> Thank you for your comments.
> 
> Yes, the RREP-DIO should be unicast hop-by-hop from the TargNode to the
> OrigNode.
> 
> I just realized that for the second scenario that I've described, even for
> symmetric route, it can also happen. Therefore, the RREP-DIO MUST carry
> exactly one target option for both symmetric and asymmetric routes.
> 
> Best regards,
> Remy
> 
> > -----Original Message-----
> > From: Roll [mailto:roll-bounces@ietf.org] On Behalf Of Rahul Arvind
> > Jadhav
> > Sent: Saturday, April 21, 2018 11:51 AM
> > To: Routing Over Low power and Lossy networks <roll@ietf.org>
> > Subject: Re: [Roll] Updates of AODV-RPL since IETF101
> >
> > Yes I understand that the 'T' bit in RREP-DIO cannot be elided because
> > of the reasons you mentioned. It's fairly reasonable to assume that
> > different nodes might end up choosing the same local instance id
> > (given that it is merely 6 bits) to the same TargNode.
> >
> > Also I don't think using global InstanceID for solving this makes sense at all.
> > One scenario is, some 6LRs choose to be a 6LR only for global
> > instances and avoid been 6LR for local instances, such scenarios will
> > break. I'm sure there will be many more reasons for not using global
> instance ids for such use-case.
> >
> > One more point... You mentioned,  " 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."
> > Unicasting to OrigNode will not work because intermediate 6LRs won't
> > process it anymore. You need unicast hop-by-hop DIO to be used for
> > this so that intermediate 6LRs can process it.
> >
> > Regards,
> > Rahul
> >
> > -----Original Message-----
> > From: Roll [mailto:roll-bounces@ietf.org] On Behalf Of Liubing (Remy)
> > Sent: 10 April 2018 09:35
> > To: roll@ietf.org
> > Subject: [Roll] Updates of AODV-RPL since IETF101
> >
> > 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. P
> >  r  obably, 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
> >
> > _______________________________________________
> > Roll mailing list
> > Roll@ietf.org
> > https://www.ietf.org/mailman/listinfo/roll
> >
> > _______________________________________________
> > Roll mailing list
> > Roll@ietf.org
> > https://www.ietf.org/mailman/listinfo/roll
> 
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll
> 
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll