RE: [Manet-dt] Routing loops in proactive protocols, including OLSR

"Justin Dean" <jdean@itd.nrl.navy.mil> Fri, 13 April 2007 19:59 UTC

Return-path: <manet-dt-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HcRvf-00087h-Qi; Fri, 13 Apr 2007 15:59:31 -0400
Received: from manet-dt by megatron.ietf.org with local (Exim 4.43) id 1HcRvd-00086P-3Y for manet-dt-confirm+ok@megatron.ietf.org; Fri, 13 Apr 2007 15:59:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HcRvc-00086H-Q5 for manet-dt@ietf.org; Fri, 13 Apr 2007 15:59:28 -0400
Received: from s2.itd.nrl.navy.mil ([132.250.83.3]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HcRva-0000Lf-Ew for manet-dt@ietf.org; Fri, 13 Apr 2007 15:59:28 -0400
Received: from smtp.itd.nrl.navy.mil (smtp.itd.nrl.navy.mil [132.250.86.3]) by s2.itd.nrl.navy.mil (8.13.6+Sun/8.12.8) with SMTP id l3DJxJlM016521 for <manet-dt@ietf.org>; Fri, 13 Apr 2007 15:59:24 -0400 (EDT)
Message-Id: <200704131959.l3DJxJlM016521@s2.itd.nrl.navy.mil>
Received: (from THEBEBE [132.250.93.60]) by smtp.itd.nrl.navy.mil (SMSSMTP 4.1.12.43) with SMTP id M2007041315592105033 for <manet-dt@ietf.org>; Fri, 13 Apr 2007 15:59:21 -0400
From: Justin Dean <jdean@itd.nrl.navy.mil>
To: manet-dt@ietf.org
Subject: RE: [Manet-dt] Routing loops in proactive protocols, including OLSR
Date: Fri, 13 Apr 2007 16:02:37 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
In-Reply-To: <002d01c77dc3$0ec5b080$0202a8c0@Teco>
Thread-Index: Acd9wwpKzNXpAco1S4G9TC2ybci62QAQbIog
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1a1bf7677bfe77d8af1ebe0e91045c5b
X-BeenThere: manet-dt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: MANET Design Team <manet-dt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/manet-dt>, <mailto:manet-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/manet-dt>
List-Post: <mailto:manet-dt@ietf.org>
List-Help: <mailto:manet-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/manet-dt>, <mailto:manet-dt-request@ietf.org?subject=subscribe>
Errors-To: manet-dt-bounces@ietf.org

I would like to point out proactive protocols need not function in a
completely proactive manor.  NHDP specifically allows for timers to fire on
specific events, such as a link breaking.  In this case a link breaking
between r4 and r5 could cause a HELLO and a TC (in the case of OLSRv2) to be
sent from r4 and r5 informing the network as soon as possible of the no
longer available link.  In fact this behavior is already implimented in many
OLSR implimentations.  This would not eliminate all routing loops but would
provide better routing than just dropping looping packets.  A minimum wait
time variable is given in NHDP to prevent this type of reactive behavior
from causing more harm than good when many changes are taking place. 

Another method to reduce routing loops (although not eliminate them) would
be to forbid unicast packets to be sent to the previous hop.  This method
should prevent most routing loops caused by stale data from multiple
transmissions.  It would also be easier to implement: unicast packets
wouldn't require packet ids; kernels would not be required to keep track of
packets and packet ids once they were resent; previous hop information in
the form of mac addresses are already available to kernels.

Justin Dean


-----Original Message-----
From: Teco Boot [mailto:teco@inf-net.nl] 
Sent: Friday, April 13, 2007 7:58 AM
To: manet-dt@ietf.org
Subject: [Manet-dt] Routing loops in proactive protocols, including OLSR

Once more on routing loops. I suggested DPD for unicast, for reducing impact
of a routing loop. I didn't receive any response on it. Perhaps the problem
is not known or impact is not fully understood. Please react on this problem
and suggest next steps.

Loops in unicast routing takes place when interface state changes. When an
interface goes down, the routing table is adjusted quickly for removing
entries with a next hop via this interface. Alternative routes could be used
quickly also. Other router routing tables are updated after routing protocol
activity; this could take milliseconds up to minutes, depending on protocol
and timer settings. During this convergence, routing loops can occur and
packet starvation is handled by TTL mechanism.

On wireless media, using TTL for starvation could have a high impact on
radio resources and spectrum utilization, and IMHO the behavior is
unacceptable. For this reason I suggested using DPD for unicast also.

Scenario with a routing loop problem in MANET topology:

+----+        +----+        +----+
| R1 |--------| R2 |--------| R3 |
+----+        +----+        +----+
   |                          | 
   |    =+=+= obstacle =+=+   |
   |                          |
+----+                      +----+
| R4 |----------------------| R5 |  R5 moves this way --->
+----+                      +----+

I assume a hop-count based metric (although I reject this approach due to
the WPF syndrome problem) and I focus on the link between R1 and R4, for
traffic from R4 to R5. R4 selects R5 as next-hop. Now the link between R4
and R5 breaks:

+----+        +----+        +----+
| R1 |--------| R2 |--------| R3 |
+----+        +----+        +----+
   |                           \ 
   |    =+=+= obstacle =+=+     \
   |                             \
+----+                         +----+
| R4 |                         | R5 |  R5 moves this way --->
+----+                         +----+

R4 and R5 detect the change due to the hello mechanism or L2 triggers. After
R4 is aware of the failure, it immediately adjusts its routing table. It
uses R1 as next hop for traffic to R5. However, R1 is still not aware of the
topology change and uses R4 as next hop for traffic towards R5. Now the
routing loop occurs:

     +----+        +----+        +----+
     | R1 |--------| R2 |--------| R3 |
     +----+        +----+        +----+
      ^ |                           \ 
Loop: | |    =+=+= obstacle =+=+     \
      | v                             \
     +----+                          +----+
     | R4 |                          | R5 |  R5 moved
     +----+                          +----+

The loop is solved as soon as R1 is aware of the new topology. Delay is
caused by routing protocol packet transfer, timers and processing time.
Protocol timers that slow down packet transfer or introduce jitter in SPF
calculation increase loop duration. So jitter introduced by
draft-clausen-manet-jitter emphasizes the routing loop problem.

Teco


_______________________________________________
Manet-dt mailing list
Manet-dt@ietf.org
https://www1.ietf.org/mailman/listinfo/manet-dt



_______________________________________________
Manet-dt mailing list
Manet-dt@ietf.org
https://www1.ietf.org/mailman/listinfo/manet-dt