Professional Documents
Culture Documents
Understanding Route Redistribution: ICNP 2007 October 17, 2007 Franck Le, Geoffrey G. Xie, Hui Zhang
Understanding Route Redistribution: ICNP 2007 October 17, 2007 Franck Le, Geoffrey G. Xie, Hui Zhang
Redistribution
ICNP 2007
October 17th, 2007
RIP OSPF
B D
router ospf 27
A C E redistribute rip metric
200 subnets route-map
rip2ospf
Office branch 1 Office branch 2 distance ospf external
200
!
route-map rip2ospf permit
RIP OSPF Local 100
match ip address 100
set tag 22
FIB set metric-type-1
3
How Does RR Compare to BGP?
• In many scenarios, RR, not BGP, is used to interconnect
network domains,
• Even when BGP is used, RR is required to connect BGP
and IGP
5
Synthesis of the Paper
• Model that reasons about the loop-free and
convergence properties
• Sufficient condition to guarantee loop-free
and convergence properties
6
Outline
1. Introduction to Route Redistribution (RR)
2. Illustration of routing anomalies
3. A Model for RR
4. Sufficient condition for loop-free and
convergent RR
7
Route Selection Process
Office branch 1 Office branch 2
RIP OSPF
P
B D P
E
A C
B D
P
P E
A C
P P
Selected routing process
B D
P E
A C
RIP Update
11
Instabilities
12
Formation of Routing Loops
14
Challenges
• Too many network elements
– Hundreds or thousands of routers
• Different router processing order
– Routers may process signaling messages in
different order (message delay, router load)
– Different order can result in different outcome
15
Solutions
• Too many network elements
– Abstractions: routing instances
– Logics: route selection, RR, network-wide RR
• Different router processing order
– Activation sequence1
1
L. Gao and J. Rexford, Stable Internet Routing Without Global Coordination,
in Proc. ACM SIGMETRICS, 2000 16
A Model for RR
• Abstracts the dynamic exchange of routing
information for a prefix P
• Allows to predict paths
17
Route Propagation Graph
2
• Routing instance (110)
1
• Originating routing instance
(120)
A
F G H I
J
P
K M N
L
0 1 F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) F (110) L (120)
E H
4
E H
OSPF2 19
(110)
Illustration of Model
Sequence 1
0 1 F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) F (110) L (120)
E H
Signaling 4
E OSPF2 H
Data path (110)
21
Outline
1. Introduction to Route Redistribution (RR)
2. Illustration of routing anomalies
3. A Model for RR
4. Sufficient condition for loop-free and
convergent RR
22
Sufficient condition for safety
• Pruning of Route Propagation Graph
– For each redistributing router, only conserve
redistributions from the routing processes
with lowest administrative distances
• Rationale
– Focus on preferred redistributions
1 A 2 A 3 A 4
(100) (70) (120) (90)
23
Sufficient condition
If resulting graph satisfies
1. Every redistributing router redistributes from a
single routing instance (predictable outcome)
2. For all vertice, there is a redistribution path from a
originating vertex (active redistribution)
3. The graph is acyclic (no cycle)
Then, the redistributions converge to an acyclic
routing state
No route oscillations
No forwarding loops
24
Application of Sufficient
Condition
0 1 F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) F (110) L (120)
E H
4
E H
OSPF2
(110)
25
Application of Sufficient
Condition
0 1 80, F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) F, 80 (110) L (120)
80, E H
4
E, 80 H
OSPF2
(110)
Modifications
26
Application of Sufficient
Condition
0 1 80, F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) F, 80 (110) L (120)
80, E H
4
E, 80 H
OSPF2
(110)
Pruning
27
Application of Sufficient
Condition
0 1 80, F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) (110) (120)
80, E
4
OSPF2 H
(110)
Pruning
28
Application of Sufficient
Condition
0 1 80, F 2 L 3
A
Local RIP OSPF1 RIP
(0) (120) (110) (120)
80, E
4
OSPF2 H
(110)
31