A Distributed Method for Dynamic Resolution of BGP Oscillations - - PowerPoint PPT Presentation

a distributed method for dynamic resolution of bgp
SMART_READER_LITE
LIVE PREVIEW

A Distributed Method for Dynamic Resolution of BGP Oscillations - - PowerPoint PPT Presentation

BGP presentation Oscillation problem Our solution Conclusion A Distributed Method for Dynamic Resolution of BGP Oscillations Ehoud Ahronovitz, Jean-Claude K onig, Cl ement Saad University Montpellier 2 - LIRMM International Parallel


slide-1
SLIDE 1

BGP presentation Oscillation problem Our solution Conclusion

A Distributed Method for Dynamic Resolution of BGP Oscillations

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM International Parallel & Distributed Processing Symposium 25-29 april 2006

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-2
SLIDE 2

BGP presentation Oscillation problem Our solution Conclusion

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-3
SLIDE 3

BGP presentation Oscillation problem Our solution Conclusion

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-4
SLIDE 4

BGP presentation Oscillation problem Our solution Conclusion

BGP presentation

Autonomous System (AS) is a set of machines managed by unique administration. Each AS chooses its own internal routing (RIP,OSPF,...). BGP used for external routing allows each AS to define its own routing policy. Oscillations are due to incoherences between policies.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-5
SLIDE 5

BGP presentation Oscillation problem Our solution Conclusion

BGP presentation

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-6
SLIDE 6

BGP presentation Oscillation problem Our solution Conclusion

BGP presentation

Autonomous System (AS) is a set of machines managed by unique administration. Each AS chooses its own internal routing (RIP,OSPF,...). BGP used for external routing allows each AS to define its own routing policy. Oscillations are due to incoherences between policies.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-7
SLIDE 7

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-8
SLIDE 8

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-9
SLIDE 9

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-10
SLIDE 10

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-11
SLIDE 11

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-12
SLIDE 12

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-13
SLIDE 13

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-14
SLIDE 14

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-15
SLIDE 15

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

SPP (Stable Paths Problem)

SPP (Stable Paths Problem) (Griffin & Wilfong [1, 2]) Each node represents an AS and each edge represents a BGP link. AS defines a list of paths ordered by preference related to its

  • wn policy.

2 1 3 130 10 210 20 320 30 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-16
SLIDE 16

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

Dispute digraph

Each node represents a path. Dotted lines represent transmission arcs. Full lines represent dispute arcs.

130 320 210 30 20 10 1 3 2 130 10 320 30 210 20

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-17
SLIDE 17

BGP presentation Oscillation problem Our solution Conclusion SPP (Stable Paths Problem) Dispute digraph

Dispute digraph

Theorem If the dispute digraph related to an instance S of SPP is acyclic, then S contains a stable solution.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-18
SLIDE 18

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-19
SLIDE 19

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Our solution : allows to detect oscillation due to cycles in the dispute digraph. marks barred one path in the cycle, in order to break it.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-20
SLIDE 20

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Maintaining path local stateful information (PLSI)

We need only local information to detect an oscillation and thus we respect private policy choices as imposed by BGP. Each AS manages locally states (+ or -) of its paths.

1 130 10 (- 130) 1 130 10 (+ 130)

If an AS detects a state change from state + to state - on one

  • f its paths then it concludes that this path oscillates.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-21
SLIDE 21

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Maintaining path local stateful information (PLSI)

rib-in : current path

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-22
SLIDE 22

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Maintaining path local stateful information (PLSI)

Two important questions : When a path oscillates, how can we know that it belongs to a cycle in the dispute digraph ? When an oscillation occurs, all paths belonging to the cycle will oscillate. Which path should we mark barred ?

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-23
SLIDE 23

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

Detection of cycle :

1 When an AS detects an oscillation on path X, it generates a

token jX and joins it with its new BGP announce.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-24
SLIDE 24

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

Detection of cycle :

1 When an AS detects an oscillation on path X, it generates a

token jX and joins it with its new BGP announce.

2 After reception of this message, if an AS has to adopt a new

path, it forwards the token jX with the announce of its new path.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-25
SLIDE 25

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

Detection of cycle :

1 When an AS detects an oscillation on path X, it generates a

token jX and joins it with its new BGP announce.

2 After reception of this message, if an AS has to adopt a new

path, it forwards the token jX with the announce of its new path.

3 If the generator of jX retreives its token and has to adopt path

X, it concludes that X belongs to a cycle and marks X barred.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-26
SLIDE 26

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

Detection of cycle :

1 When an AS detects an oscillation on path X, it generates a

token jX and joins it with its new BGP announce.

2 After reception of this message, if an AS has to adopt a new

path, it forwards the token jX with the announce of its new path.

3 If the generator of jX retreives its token and has to adopt path

X, it concludes that X belongs to a cycle and marks X barred. Please note that the value jX can be assigned with a hashtable, in

  • rder to respect confidentiality.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-27
SLIDE 27

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

Only one path should be marked barred : All ASes having a path belonging to a cycle will retreive their tokens. It is required to define a total order relation on tokens in order to mark barred only one path. When an AS receives a token, it checks if this token has a higher priority than its own token. If yes, it forwards this token, otherwise it ignores it.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-28
SLIDE 28

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Token principles

1 2 3

320 30 130 10 210 20

(20, j210) 1 2 3

320 30 130 10 210 20

(320, j210) 1 2 3

320 30 130 10 210 20

(30, j320) (10, j130) (210, j130) (30, j130) Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-29
SLIDE 29

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-30
SLIDE 30

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Coherence between routing policies

Coherence between routing policies Definition of relation <α locally : Let A be an AS ; ∀ P, Q paths of A, if P is preferred to Q then P <α Q. globally : ∀ P, Q paths belonging to two differents Ases, if P is a sub-path of Q then P <α Q.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-31
SLIDE 31

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Coherence between routing policies

Coherence between routing policies The local relation respects private policy of each AS, the global relation maintains the coherence between policies of differents ASes. In fact, whatever the policy, a sub-path of any path is obviously better than the whole path.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-32
SLIDE 32

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Coherence between routing policies

Theorem If <α is a strict order relation then the policies are coherent between themselves.

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-33
SLIDE 33

BGP presentation Oscillation problem Our solution Conclusion Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

Coherence between routing policies

New dispute digraph 130 <α

  • local

10 <α

  • global

210 <α

  • local

20 <α

  • global

320 <α

  • local

30 <α

  • global

130

130 320 210 30 20 10 1 3 2 130 10 320 30 210 20 Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-34
SLIDE 34

BGP presentation Oscillation problem Our solution Conclusion

1 BGP presentation 2 Oscillation problem

SPP (Stable Paths Problem) Dispute digraph

3 Our solution

Maintaining path local stateful information (PLSI) Token principles Coherence between routing policies

4 Conclusion

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-35
SLIDE 35

BGP presentation Oscillation problem Our solution Conclusion

Conclusion

Summary :

1 Detection and resolution of oscillations

Dynamic and distributed method Maintaining path local stateful information (PLSI) Tokens are added to BGP messages

2 Coherence between routing policies Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-36
SLIDE 36

BGP presentation Oscillation problem Our solution Conclusion

Conclusion

Perspectives : We adapted our solution in order to take into account failures

  • r appearances of links

We must check our solution on a simulator Manage Byzantin beahaviors Manage the connectivity problem in BGP

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati

slide-37
SLIDE 37

BGP presentation Oscillation problem Our solution Conclusion

Timothy G. Griffin and Gordon Wilfong, A Safe Path Vector Protocol, Proc. IEEE INFOCOM, 2000. Timothy G. Griffin and F. Bruce Sherpherd and Gordon Wilfong, Policy Disputes in Path-Vector Protocols, Proc. 7th

  • Int. Conf. Network Protocols (ICNP’99).

Lixin Gao and Jennifer Rexford, Stable Internet Routing Without Global Coordination, in Proc. ACM SIGMETRICS, 2000. Selma Yilmaz and Ibrahim Matta, A Randomized Solution to BGP Divergence, in Proc. of the 2nd IASTED Int. Conf. on Communication and Computer Networks (CCN’04).

Ehoud Ahronovitz, Jean-Claude K¨

  • nig, Cl´

ement Saad University Montpellier 2 - LIRMM A Distributed Method for Dynamic Resolution of BGP Oscillati