Re: [Roll] P2P-RPL: RIO/PIO in P2P-DIO

Mukul Goyal <> Fri, 25 May 2012 21:40 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 7383521F87F1 for <>; Fri, 25 May 2012 14:40:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -5.995
X-Spam-Status: No, score=-5.995 tagged_above=-999 required=5 tests=[AWL=0.603, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id YQ6QCRK2Zjg4 for <>; Fri, 25 May 2012 14:40:24 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id D4CC621F87E9 for <>; Fri, 25 May 2012 14:40:23 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEADT7v09/AAAB/2dsb2JhbABEhTazBSNEEhsODAINBBUCWQaIIKYUiT6JBIEki3qCEIESA4g/jFmPcIJ+gTgg
Received: from localhost (localhost.localdomain []) by (Postfix) with ESMTP id 29A3812E3BA; Fri, 25 May 2012 16:40:23 -0500 (CDT)
X-Virus-Scanned: amavisd-new at
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id JXnvnTJePZWN; Fri, 25 May 2012 16:40:22 -0500 (CDT)
Received: from ( []) by (Postfix) with ESMTP id E830412E3AE; Fri, 25 May 2012 16:40:22 -0500 (CDT)
Date: Fri, 25 May 2012 16:40:22 -0500
From: Mukul Goyal <>
To: Joseph Reddy <>
Message-ID: <>
In-Reply-To: <>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: []
X-Mailer: Zimbra 6.0.15_GA_2995 (ZimbraWebClient - IE8 (Win)/6.0.15_GA_2995)
Subject: Re: [Roll] P2P-RPL: RIO/PIO in P2P-DIO
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 25 May 2012 21:40:24 -0000

Hi Joseph

Please see inline.


Section 6.1:
"...A P2P-DIO MAY carry one or more RIO and PIO options..."
I am not sure how these options should be used by the DAG members. Later on, in 9.1, it says that "..the temporary DAG must not be used to route packets....". So what is the purpose of RIO and also PIO ?

The RIO would advertize to the target(s) the origin's connectivity to the specified prefix. Regarding PIO, I would very much like to allow P2P mode DIOs to carry PIOs to propagate prefixes for address selfconfiguration (i.e. have A flag set). I think we could forbid setting the R flag to one in a PIO carried in a P2P mode DIOs. Regarding the L flag, I think we could allow a P2P mode DIO to carry a PIO with L flag set subject to the following rules in RFC 6550:

The RIO/PIO information is sent by the Origin to propagate its connectivity and prefix information. However, the route is established towards the Target. So I don’t understand why the Origin information is relevant ..


Here is some relevant text from Section 9.3:

"A router SHOULD discard a received P2P mode DIO with no further
   processing if it does not have bidirectional reachability with the
   neighbor that generated the received DIO.  Note that bidirectional
   reachability does not mean that the link must have the same values
   for a routing metric in both directions.  A router SHOULD calculate
   the values of the link-level routing metrics included in the received
   DIO taking in account the metric's value in both forward and Backward
   directions.  Bidirectional reachability along a discovered route
   allows the Target to use this route to reach the Origin.  In
   particular, the DRO messages travel from the Target to the Origin
   along a discovered route.

So, the target can certainly use a discovered route as a source route to reach the origin. The backward direction route may not meet desired routing constraints but does provide a way to reach the origin. So, it may be useful for the target to know what destination prefixes can be reached via the origin. In fact, it makes sense to allow the target to include one or more  RIOs in its DRO to let origin know what destination prefixes could be reached via the target.

Regarding the PIO, I think the most critical need is to allow the propagation of address self-configuration prefixes via P2P mode DIOs. These prefixes can be used not only by the target but also the other nodes that join the temporary DAG. I am not too sure about allowing PIOs with L flag set inside the P2P mode DIOs. Would certainly like to hear your views on this.