Re: [Roll] Review of draft-ietf-roll-aodv-rpl-13
Charles Perkins <charliep@lupinlodge.com> Sat, 09 July 2022 21:44 UTC
Return-Path: <charliep@lupinlodge.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 E3D43C157B33; Sat, 9 Jul 2022 14:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.982
X-Spam-Level:
X-Spam-Status: No, score=-8.982 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-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, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=lupinlodge.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 ASa-aSpPEdvD; Sat, 9 Jul 2022 14:44:50 -0700 (PDT)
Received: from delivery26.mailspamprotection.com (delivery26.mailspamprotection.com [185.56.84.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 C7D18C14CF0E; Sat, 9 Jul 2022 14:44:49 -0700 (PDT)
Received: from 246.206.208.35.bc.googleusercontent.com ([35.208.206.246] helo=giowm1055.siteground.biz) by se26.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <charliep@lupinlodge.com>) id 1oAIFq-000Gj2-Ia; Sat, 09 Jul 2022 16:44:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lupinlodge.com; s=default; h=In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZDreCdQAk/hSiOblk22yzCWf/4jf6rospIX2i0om33A=; b=m5PX3Xv/eFE5CjbiF0dVuJnTWL 89Cp/F2LlUok1+/3ktzpUwCQvv+WYTJnclen71jl1Yw7d5tHZ3qnVC350O4lPUbLxJ7UyrbnpBgPb iOP5QowXM4LKFmmWVhNMtSI6XNuA6ORzuekocXitvmSxdwRXXevIb6i6oNF5U9YKsbCw=;
Received: from [99.51.72.196] (port=59981 helo=[192.168.1.72]) by giowm1055.siteground.biz with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90-.1) (envelope-from <charliep@lupinlodge.com>) id 1oAIFo-0009rW-9d; Sat, 09 Jul 2022 21:44:44 +0000
Content-Type: multipart/alternative; boundary="------------y6ZIP3kpdi7yYz5ir6TZVHnE"
Message-ID: <5617c115-6a24-c3f8-1e4d-61916379591f@lupinlodge.com>
Date: Sat, 09 Jul 2022 14:44:43 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "draft-ietf-roll-aodv-rpl.all@ietf.org" <draft-ietf-roll-aodv-rpl.all@ietf.org>
Cc: "ROLL WG (roll@ietf.org)" <roll@ietf.org>
References: <SJ0PR11MB48963BFC38F11AFDE015E3DBD8BB9@SJ0PR11MB4896.namprd11.prod.outlook.com>
From: Charles Perkins <charliep@lupinlodge.com>
In-Reply-To: <SJ0PR11MB48963BFC38F11AFDE015E3DBD8BB9@SJ0PR11MB4896.namprd11.prod.outlook.com>
X-Originating-IP: 35.208.206.246
X-SpamExperts-Domain: giowm1055.siteground.biz
X-SpamExperts-Username: 35.208.206.246
Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.208.206.246@giowm1055.siteground.biz
X-SpamExperts-Outgoing-Class: ham
X-SpamExperts-Outgoing-Evidence: Combined (0.29)
X-Recommended-Action: accept
X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+s5m+MFZYgVcRGmCJM+ltFPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wi2P7rM+bnxLRdXM4f2tUCTnZkA60/Ru4y0xh0sL7kN5Ih Xh0R8XYe6XePxZk+nVF2BkWxkzxsdtSjc2BMHco3UoiAmxluw9FKD+HRs9n9FL4hKsV7vZ7I7qfm 2H1RjeqqiXdgJn0ZyCnwgM1PKva71/BgStvhQrzEV/3sSgXiDOe5mU9XfV8PQElgXMB4n5HLBvgI HqEhHzuBvRZH3aO18czLgh67ZafsYRQGrlgYnfYXO4eyqXgeieXdk3IhJgayDsc+jHOZ5tHuu6LB TyoYRpFd0ZUI6sQyKDULpQHi+3R6bJocHA7ByjIj4Jpc4H8g/I+A7Hn4WMcXzuMZ40YnJYN6Crh9 DXUDEtWWsjsNUc1wjgXcz6UzhMgwsBB55giiRTgUHf/t0yaywwdSYIsagHfbF3Yjh8kHOY2+VLFw T7SDI3NB76wqCEocfRII/uXcr6tXf3xuHLcBEpip2vSnmgjCa8Q0z411CtB1U74Ub4SbE1l0jCSq wqiEbnL4lT7rUCDDJ3N1oYsOo90CHcNji3YVF5T9EFaXKOU5GgR8yVpdVjRHzTdnz3Xm0z5QCuv0 rPJtdXKhkIUdbjJccbATbEI0+1qiZCID5pC0mn1iDbtmJap+xYcdg3rDYqYndipnrqWGHcz5u2H0 Q2lCzlNpUYpRqWK2C4lzOarKOdorHljPO4ZaDM/JDKxhmvDuxF/59bs5/1EOx0z18SxvMSZaaIfV aCHpEB6cFH6WJxE4Zr7ISE+2J9y9J1blvpi5Bxc4g3fQifUTGcJFXIt5RLwrpycr1q+nTwfIWTIB F2KSvN7/1jrVIKJn5/IzEWxyke2WRJL1tF4h6MUe66YpP7/495HKVRVu5e2pFDY2BA69/57h+6WG dIozr5wlI+42MBS8purYeePWOB75zHgqSWX3awFp42EM1hFMMXPj0AlFGrL/4hKxDW7hpV+usyO2 m5OK65NnMbVbhuMUYbvw8gHTEeE48MaV+LX0O/hX2pAs4l3BDm4AHl4dGnO9CaDXurhBmDBABD01 +yROhbyVpDpNBb49MdftFWtSMAR8vdjN8pNLECN8hnTorv08bcM53XnWnmdCcboDxEp8IYYS4xKo OQ8tJCJ9UvsROnRGuCE0jvjCAsrrOxzCZKtaYv7cqWQXKu1VbgppFJRGoXLED7mHKIIGqsHi8yYe mObHrBMMHMaF8UJ83Uw0YLz/swrVJ9LaooLvyucy6s6s9b2Azrcp
X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/aKYkjF78IlI9gmhHwSs9rYZkMoE>
Subject: Re: [Roll] Review of draft-ietf-roll-aodv-rpl-13
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 09 Jul 2022 21:44:54 -0000
Hello Pascal, I have made some follow-up comments inline below. Thanks again for making the time to help us improve the result. Naturally Yours, Charlie P. On 6/28/2022 11:52 PM, Pascal Thubert (pthubert) wrote: > Hello Charlie > > >> ............... >> On demand is better when routes are needed but aren't yet established. >> Peer-to-peer routing is better when shorter routes are desired and >> especially >> when it is desired to avoid heavier traffic through a root or gateway >> node of >> the network. This seems natural to me. However, some peer-to-peer >> routing >> should be done proactively, and so the sentence needs work. Thanks for >> pointing this out. > I'm sure you saw that I did not mention it for the sake of a chat but > with the hope that you'd place such text as this exchange in the > document 😊 > This would certainly help a rpl-junior reader. O.K. We can add some similar text. > >>> ------------------------------------------------------------------------ >>> >>> " AODV-RPL can be operated whether or not P2P-RPL or native >>> RPL is >> running otherwise." >> >> In order to remove the possible ambiguity when other protocols are >> using the >> same MOP, and as you suggest below, I agree that AODV-RPL should use >> a new >> multicast group. > And that we MUST a specific instance ID so it operates as ship in the > night. Each node makes sure that its local instance IDs are not duplicated, right? What more do you think is needed? >>> ------------------------------------------------------------------------ >>> >>> " For many networks AODV-RPL could be a >>> replacement for RPL, since it can find better routes at very >>> moderate >>> extra cost. Consequently, it is unlikely that RPL would be >>> needed in >>> a network that is running AODV-RPL, even though it would be >>> possible >>> to run both protocols at the same time." >>> => "better" is unsubstanciated. >> Better because shorter paths, etc. > Yes. It's hard to qualify shortest or best in radios. Depends on what > you care for, and things keep changing anyway. > When the "shortest" paths are busy and dropping packets (including > RR), it might be that a reactive protocol finds a "longer path". > This is the sort of things that the reader should understand to > position the usability of the protocol. It is distributed, autonomic, > but provides no optimality guarantees. The best option for a demanding > application is probably to max out the Rank Diameter that the RR probe > can reach, to avoid using a path that is not usable by the application. This is the point of having various OFs, right? > > In contrast, a real optimization requires a global view of all flows. > This is what a PCE does in TE space, and this is why we have DAO > projection in RPL. But, getting the global view can impose a huge performance penalty -- i.e., destroy optimality. >>> I suggest to remove that text altogether. I believe that it suffices >> to say what I pointed above, that RPL and AODV RPL must be operated in >> different instances, which is unavoidablme since they are running with >> different MOPs, so they just cannot interfere. Which one is used is a >> policy decision, out of scope. >> >> Do you think there are times when RPL discovers better routes than >> AODV-RPL? > When DAO projection is implemented. Applications like industrial > automation require full control and visibility, e.g., which path is > used by which flow. They'll want to dispatch the flows to optimize > globally the latency and reliability. They'll do DetNet PREOF / RAW > PAREO things. The cost is significant - a controller -, but for them > the routes that can guarantee no link or node congruence, time and > space diversity, max latency, global load balancing, etc... are indeed > "better". That isn't RFC 6550. I don't deny that other routing protocols might discover better routes than AODV-RPL, but it will be a tough race. There have been many many papers about how to improve AODV (robustness, decreased signaling, multicast discovery, etc.). They always involve a lot of additional signaling and state management. > >>> ------------------------------------------------------------------------ >>> >>> " >>> Figure 5: >>> " >>> => The propagation of both DIOs appears to be along a sequence of >> nodes though it is really flooded in a Rank Diameter around O. I believe >> it is worth explaining. Also, what happens when the S flag arrives at T >> with both flavors? >> >> The evaluation of the rank seems preferable for picking among several >> possible routes, not the setting of the S bit. > Good to clarify that I the text. O.K. We'll try to do that. > > >>> ------------------------------------------------------------------------ >>> >>> Section 6.2.1 is pseudo code with no indentation. >> This is the first time I can remember having such a paragraph described >> as pseudo code. > OK I was unclear. I mean that the text has a lot of logical steps, but > is unclear what and otherwise is for there are multiple steps and > conditions before. > In the end it looks like a python code that would not have been > indented and it could be misunderstood. I'm asking to ensure that it > can be read and coded without ambiguity. The form is yours to choose. That is definitely our goal, and a lot of the text has been reorganized with that goal in mind. > >>> ------------------------------------------------------------------------ >>> >>> Section 6.2.2 : >>> " >>> After determining that a received RREQ provides a usable route >>> " >>> Does that determination impact the operation of this section? What if >> S=0? >> >> If S=0, the determination of Target Node status and determination of a >> usable route to OrigNode is still the same. > Better safe than sorry. Please add the words. O.K. Thanks for the suggestion. >>> ------------------------------------------------------------------------ >>> >>> Section 6.2.3 : >>> " >>> then the router MUST build or update its upward route >>> entry towards OrigNode, >>> " >>> Even if S=0 ? Even if not the newest sequence? Even if RREQ not from >> preferred parent to orig? >>> Suggest to list all the checks first and then if OK the action. Here >> the last sentence is only one of the checks and appears too late to >> follow the logic. >> >> That would seem to duplicate specification text in previous sections. >> Usually >> such duplication is a bad idea, because duplication of text leads to >> errors >> when one of the duplicated texts is edited but the other is not. > the position of the reader, I need to find the full story at one and > not scattered. I agree that the normative text must not be duplicated. > You're better at this game than I am. Our goal is to put the steps in the order that would *probably* suggest a workable organization for the code to implement the specification. > >> Even for S=0, the RREQ advertises a route to OrigNode. If the RREQ is >> not from a preferred parent, it should not be propagated. If the RREQ >> is not the newest sequence it should not be propagated. These are all >> specified earlier. >> >> There are too many things in the preceding sections of the document to >> repeat >> them here. > Maybe think of it as a function. Detail the common steps above in a > section and then refer to it everywhere you need. As is, I, as a > reader, was confused. Here, there is a close relationship between functional thinking and modular thinking. For instance, it's a good idea to define things locally that are needed locally, and define things globally that are needed globally. >>> ------------------------------------------------------------------------ >>> >>> Section 6.2.5 : >>> What if the interface up is not the interface down, and the >>> addresses are >>> different? The result is that the address list is not reversible. In >>> particular, in the case where S = 1? >> In this case, the route is not symmetric and S = 0. >> >> Each radio interface/link and the associated address should be >> treated s an >> independent intermediate router. The two routers have different >> links and >> the rules for the link symmetry apply independently for each of these. > Please add clarifying text in the spec. That discussion about radio interfaces could go into the Introduction but it's definitely NOT something being specified by AODV-RPL. In fact, for practical purposes, your point about link symmetry boils down to physics. >>> ------------------------------------------------------------------------ >>> >>> Section 6.2.5 : >>> " >>> If the router is a TargNode and was already associated with >>> the RREQ- >>> Instance, it takes no further action and does not send an >>> RREP-DIO >>> " >>> In 6.3.1 it says >>> " >>> For a symmetric route, the RREP-DIO message is unicast to the >>> next >>> hop according to the Address Vector (H=0) or the route entry >>> (H=1); >>> " >>> This means that if an RREP-DIO was sent on a bad path received fast, >> it will not be updated when a better path shows? >> >> The RREP advertises a route to TargNode. If the TargNode already sent >> an RREP, and then receives a better RREQ, it does not have to re-send >> the RREP. > Which means that a "bad path" will be used if the RREQ was received > first? > Note that latency might not be the criteria to optimize for. > E.g., a more reliable path may be slower / more hops. That is definitely the case. On the other hand, waiting for the better path *could* take an arbitrarily long amount of time, and so it does not make sense to expect perfection. My understanding was that the OF should be tuned to get the best possible results. > >>> ------------------------------------------------------------------------ >>> >>> Section 6.3.3 : >>> This all idea of delta is complicated. Why not just place in that >> field the RPL instance ID of the RREQ instance? It's also 6 bits since >> it is a local RPL Instance ID. >> >> Delta is needed to associate the RREQ_InstanceID to the >> RREP_InstanceID. It >> is possible that TargNode might have used OrigNode's choice of >> RPLInstanceID for >> some other unrelated route discovery. It is even possible that >> OrigNode's >> choice of RPLInstanceID was previously used by TargNode for a route >> discovery >> for OrigNode with a different OF. Using Delta to effect the >> association is >> a good technique which is very simple to manage. > I did not challenge the idea, just the use of a new field In order for OrigNode to know when the route discovery operation has completed, it has to be able to tell whether an incoming RREP corresponds to a particular RREQ. Nothing prevents two route discoveries (with different OFs) between OrigNode and TargNode. >>> ------------------------------------------------------------------------ >>> >>> Section 6.4.1 : >>> " >>> The router that >>> transmitted the received RREP-DIO is selected as the preferred >>> parent. Afterwards, other RREP-DIO messages can be received. >>> " >>> What if more than one RREP-DIO are received? >> This just means that the receiving node is getting multiple >> advertisements for >> routes to TargNode. In such a case the router might already be in the >> DODAG. >> AODV-RPL does not specify any action to be taken in such cases. >> > But then, what is the developer to do? Select the best one? Ignore ? > keep some, or them all, for NECMP? do what he likes? It seems to me that all of the alternatives you listed could make sense in various scenarios. > >>> ------------------------------------------------------------------------ >>> >>> Section 6.4.4 : >>> " >>> If H=0, the >>> intermediate router MUST include the address of the interface >>> receiving the RREP-DIO into the address vector. >>> " >>> Same as the other direction. The address on the receive interface of >> the RREQ-DIO may not be visible on the interface from which traffic to >> target is received. It would make sense to place the address of the >> previous hop from which the RREP-DIO is received. >> >> If a node transmits a RREQ over an interface which is different than the >> interface from which it was received, both interface addresses should >> be in >> the address vector. >> > I did not read that in the spec. Did I miss it? > Optimization question: Is that useful, e.g., in non-symmetrical paths? > In traditional RPL, the (source) route only indicates to the previous > hop the address of the next hop that it can see. This was added to revision 14 in response to your observations in previous comments. I don't know why it is O.K. for RPL to disregard this. >>> ------------------------------------------------------------------------ >>> >>> Section 7 >>> " >>> an Intermediate router that receives a RREQ-DIO >>> message MAY transmit a "Gratuitous" RREP-DIO message >>> " >>> How does it select the RPL Instance ID? I believe only the target can >> do that so only the target should send the RREP-DIO >> >> Regardless of TargNode's choice of RREP_InstanceID and Delta, an >> intermediate >> node can unambiguously identify the DODAG by using RREQ_InstanceID in >> the >> returned Gratuitous unicast RREP to OrigNode. Then, when the >> intermediate >> node later receives TargNode's unicast RREP, the intermediate node >> will be >> able to make the association between RREQ_InstanceID and >> RREP_InstanceID. >> > This is assuming that there is a RREP Instance ID, meaning that the > RREQ reaches the Target. > > I guess that my confusion is that I thought that the Intermediate > routers absorbs the RREQ, so we do not look for the rest of the path. > Apparently, the Intermediate router that does the gratuitous thingy > still must pass the RREQ on. If it does, then the gratuitous thing is > useless till the RREP from Target comes in. But then if so, what's the > use of the gratuitous? When the Gratuitous RREP reaches OrigNode, OrigNode can start transmitting to TargNode. So, it's really mainly a time optimization. Naturally Yours, Charlie P.
- [Roll] Review of draft-ietf-roll-aodv-rpl-13 Pascal Thubert (pthubert)
- Re: [Roll] Review of draft-ietf-roll-aodv-rpl-13 Charles Perkins
- Re: [Roll] Review of draft-ietf-roll-aodv-rpl-13 Pascal Thubert (pthubert)
- Re: [Roll] Review of draft-ietf-roll-aodv-rpl-13 Charles Perkins