Loop-Free Updates of Forwarding Tables

19
Loop-Free Updates of Forwarding Tables Author Jing Fu, Peter Sjödin and Gunnar Karlsson Publisher IEEE Transactions on Network and Service Management Presenter Wen-Tse Liang Date 2011/3/30 1

description

Loop-Free Updates of Forwarding Tables. Author: Jing Fu, Peter Sjödin and Gunnar Karlsson Publisher: IEEE Transactions on Network and Service Management Presenter:Wen-Tse Liang Date:2011/3/30. Outline. Introduction Transient loops Forwarding Information Loop-Free FIB Updates - PowerPoint PPT Presentation

Transcript of Loop-Free Updates of Forwarding Tables

Page 1: Loop-Free Updates of Forwarding Tables

Loop-Free Updates of Forwarding Tables

Author : Jing Fu, Peter Sjödin and Gunnar KarlssonPublisher : IEEE Transactions on Network and Service Management Presenter : Wen-Tse LiangDate : 2011/3/30

1

Page 2: Loop-Free Updates of Forwarding Tables

Introduction Transient loops Forwarding Information Loop-Free FIB Updates

Update order in a single forwarding tree An algorithm to compute the loop-free

order Approaches to update a forwarding matrix

Performance Studies

2

Outline

Page 3: Loop-Free Updates of Forwarding Tables

When the forwarding paths change, the forwarding information bases (FIBs) in the routers need to be updated. During the update process, transient loops might occur since some routers may have updated their FIBs while others have not.

Therefore, transient loops should be avoided when possible, particularly for non-urgent forwarding path changes. The events that can be considered as non-urgent include maintenance, changes of link weights and restoration after failure of protected links.

3

Introduction

Page 4: Loop-Free Updates of Forwarding Tables

In this paper, we propose an update order to avoid transient routing loops during FIB updates.

we present several algorithms that update FIBs in accordance with this order, and discuss how these update algorithms can be applied to both decentralized routing protocols and networks with centralized control.

4

Introduction

Page 5: Loop-Free Updates of Forwarding Tables

If NYCM updates its routing table before WASH, the packets sent by NYCM to DNVR via WASH will loop on the WASH-NYCM link. To avoid causing a transient loop between WASH and NYCM

5

Transient loops

Page 6: Loop-Free Updates of Forwarding Tables

we define a node Na, to be an upstream node of node Nb if Na uses Nb to reach the destination.

6

Forwarding Information

Page 7: Loop-Free Updates of Forwarding Tables

The problem of finding an update order in a forwarding matrix can be first divided into studying individual forwarding trees. Thereafter, by combining update orders in all forwarding trees, an update order for the forwarding matrix is derived.

the update order can be specified using iterations. At each iteration, a number of FIBs can be updated simultaneously or in any order. When all routers in an iteration have updated their FIBs, a new update iteration starts. Therefore, the update process is performed over a number of iterations, following a specific order.

7

Loop-Free FIB Updates

Page 8: Loop-Free Updates of Forwarding Tables

Theorem 1 (Updatable conditions): In tree Tt , the node is a leaf node or all its

upstream nodes have been updated. In tree Tf , the node reaches the destination

directly, or all its downstream nodes in tree Tf have already been updated in tree Tt .

8

Update order in a single forwarding tree

Page 9: Loop-Free Updates of Forwarding Tables

Theorem 2 (Simultaneous updates): If there are several updatable nodes in

a transient forwarding tree, then any update order among these nodes is loop-free.

9

Update order in a single forwarding tree

Page 10: Loop-Free Updates of Forwarding Tables

The algorithm studies a forwarding tree and determines whether a node is updatable in an update iteration.

The first part is to decide if a node can be updated according to the first updatable condition and the second part is for the second updatable condition.

10

An algorithm to compute the loop-free order

Page 11: Loop-Free Updates of Forwarding Tables

tradeoff between two metrics: the number of FIB updates performed in all routers in the network and the number of iterations required to perform FIB updates. 11

Approaches to update a forwarding matrix

Page 12: Loop-Free Updates of Forwarding Tables

The first approach is to update all the updatable elements in the forwarding matrix , resulting in more FIB updates in the network. However, this approach may finish the update process in fewer iterations.

The second approach is to only update fully updatable rows. In this approach, exactly one FIB update is performed in each router.

the rows with more updatable elements being preferred.

The third approach updates a minimum number of rows in each iteration.

When the number of fully updatable rows is larger than this minimum number, all fully updatable rows are updated.

12

Approaches to update a forwarding matrix

Page 13: Loop-Free Updates of Forwarding Tables

The topology we used is from AS 1239, the Sprint network, consists of 315 routers and 975 links.

single link down events five simultaneous link down events resetting 20% of the link weights and resetting all the link weights

13

Performance Studies

Page 14: Loop-Free Updates of Forwarding Tables

Number of changed FIBs Each curve shows the results of 100 simulation runs for a

specific type of event, sorted in increasing order.

14

Performance Studies

Page 15: Loop-Free Updates of Forwarding Tables

the ratio between the number of FIB updates and the number of changed FIBs

15

Performance Studies

Page 16: Loop-Free Updates of Forwarding Tables

the ratio between the number of FIB updates and the number of changed FIBs

16

Performance Studies

Page 17: Loop-Free Updates of Forwarding Tables

Number of update iterations

17

Performance Studies

Page 18: Loop-Free Updates of Forwarding Tables

Number of update iterations

18

Performance Studies

Page 19: Loop-Free Updates of Forwarding Tables

an iteration may take at most 350 ms (200 ms for the FIB updates and 150 ms for the notification),

Performance Studies

19