1 Policy Disputes in Path-Vector Protocols A Safe Path-Vector Protocol Zacharopoulos Dimitris

Slides:



Advertisements
Similar presentations
Practical Searches for Stability in iBGP
Advertisements

ABSTRACT Due to the Internets sheer size, complexity, and various routing policies, it is difficult if not impossible to locate the causes of large volumes.
Delayed Internet Routing Convergence due to Flap Dampening Z. Morley Mao Ramesh Govindan, Randy Katz, George Varghese
1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
BGP Convergence Jennifer Rexford. Outline Border Gateway Protocol (BGP) –Prefix-based routing at the AS level –Policy-based path-vector protocol –Incremental.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Sept Internet routing seminar (Fall 2000) An analysis of BGP convergence Properties Timothy G. Griffin Gordan Wilfong Presented by Tian Bu.
Does BGP Solve the Shortest Paths Problem? Timothy G. Griffin Joint work with Bruce Shepherd and Gordon Wilfong Bell Laboratories, Lucent Technologies.
Part IV BGP Modeling. 2 BGP Is Not Guaranteed to Converge!  BGP is not guaranteed to converge to a stable routing. Policy inconsistencies can lead to.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Foundations of Inter-Domain Routing Ph.D. Dissertation Defense Vijay Ramachandran Dissertation Director: Joan Feigenbaum Committee Members: Jim Aspnes,
SCHOOL OF INFORMATION UNIVERSITY OF MICHIGAN si.umich.edu Searching for Stability in Interdomain Routing Rahul Sami (University of Michigan) Michael Schapira.
Towards a Logic for Wide-Area Internet Routing Nick Feamster and Hari Balakrishnan M.I.T. Computer Science and Artificial Intelligence Laboratory Kunal.
Announcement  Slides and reference materials available at  Slides and reference materials available.
STABLE PATH PROBLEM Presented by: Sangeetha A. J. Based on The Stable Path Problem and Interdomain Routing Timothy G. Griffin, Bruce Shepherd, Gordon Wilfong.
BGP Safety with Spurious Updates Martin Suchara in collaboration with: Alex Fabrikant and Jennifer Rexford IEEE INFOCOM April 14, 2011.
Towards a Lightweight Model of BGP Safety Matvey Arye Princeton University Joint work with: Rob Harrison, Richard Wang, Jennifer Rexford (Princeton) Pamela.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Lecture 14: Inter-domain Routing Stability CS 268 class March 8 th, 2004 (slides from Timothy Griffin’s tutorial and Craig Labovitz’s NANOG talk)
1 Tutorial 5 Safe “Peering Backup” Routing With BGP Based on:
Tutorial 5 Safe Routing With BGP Based on: Internet.
Internet Networking Spring 2004 Tutorial 5 Safe “Peering Backup” Routing With BGP.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
IP Routing CS 552 Richard Martin (with slides from S. Savage and S. Agarwal)
On the Stability of Rational, Heterogeneous Interdomain Route Selection Hao Wang Yale University Joint work with Haiyong Xie, Y. Richard Yang, Avi Silberschatz,
Interdomain Routing Establish routes between autonomous systems (ASes). Currently done with the Border Gateway Protocol (BGP). AT&T Qwest Comcast Verizon.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
Relating Two Formal Models of Path-Vector Routing March 15, 2005: IEEE INFOCOM, Miami, Florida Aaron D. Jaggard Tulane University Vijay.
Towards a Logic for Wide- Area Internet Routing Nick Feamster Hari Balakrishnan.
CS 4396 Computer Networks Lab
Advertising Equal Cost Multi-Path Routes in BGP Manav Bhatia Samsung India Software Operations, Bangalore – India July 17, th IETF - Vienna draft-ecmp-routes-in-bgp-00.txt.
An Adaptive Policy Management Approach to BGP Convergence by Selma Yilmaz PhD Examining Committee: Prof. Ibrahim Matta, First Reader (Major Advisor) Prof.
Understanding and Limiting BGP Instabilities Zhi-Li Zhang Jaideep Chandrashekar Kuai Xu
CS 268: Lecture 9 Inter-domain Routing Protocol Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Border Gateway Protocol
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #08: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Detecting Selective Dropping Attacks in BGP Mooi Chuah Kun Huang November 2006.
Can the Border Gateway Protocol (BGP) be fixed? UCL Oct 15, 2003 Timothy G. Griffin Intel Research, Cambridge UK
CS 268: Lecture 11 Inter-domain Routing Protocol Karthik Lakshminarayanan UC Berkeley (substituting for Ion Stoica) (*slides from Timothy Griffin and Craig.
Pitch Patarasuk Policy Disputes in Path-Vector Protocol A Safe Path Vector Protocol The Stable Paths Problem and Interdomain routing.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
BGP Basics BGP uses TCP (port 179) BGP Established unicast-based connection to each of its BGP- speaking peers. BGP allowing the TCP layer to handle such.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
CSci5221: BGP Policies1 Inter-Domain Routing: BGP, Routing Policies, etc. BGP Path Selection and Policy Routing Stable Path Problem and Policy Conflicts.
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Doing Don’ts: Modifying BGP Attributes within an Autonomous System Luca Cittadini, Stefano Vissicchio, Giuseppe Di Battista Università degli Studi RomaTre.
The Stable Paths Problem As A Model Of BGP Routing NJIT April 24, 2002 Timothy G. Griffin AT&T Research
SHORTEST ROUTE PROBLEM A Networking Model Report for DPA 702 QUANTITATIVE METHODS OF RESEARCH By: ALONA M. SALVA Cebu Technological University.
An Analysis of BGP Convergence Properties
Shortest Path from G to C Using Dijkstra’s Algorithm
L. Cittadini, G. Di Battista, M. Rimondini, S. Vissicchio
COS 561: Advanced Computer Networks
Hao Wang Yale University Joint work with
Routing.
Interdomain routing V. Arun
Inter-Domain Routing: BGP, Routing Policies, etc.
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
Inter-domain Routing Protocol
COS 561: Advanced Computer Networks
COS 461: Computer Networks
BGP Instability Jennifer Rexford
Routing.
Presentation transcript:

1 Policy Disputes in Path-Vector Protocols A Safe Path-Vector Protocol Zacharopoulos Dimitris

2 Overview Describe basic problems The SPVP framework Stability proposals Candidate protocols

3 Basic problems with routing BGP can theoretically diverge Unable to simulate the Internet ISPs don’t publish their policies

4 SPVP Framework This framework applies to all path- vector protocols like BGP Designed to capture the semantics of such protocols Basic information –Permitted paths –Ranking of those paths

5 Route selection process in BGP BGP Record –nlri: –next_hop: –as_path: –local_pref: –med: –c_set:

6 Route selection process in BGP First check the nlri Second local_pref Third shortest as_path Fourth lowest med Fifth and last, smallest next_hop

7 SPVP Specifications and notation Connected graph G=(V,E) –V = {0,1,2,…,n} nodes –E = edges –For any node u, peers(u) = w {u,w} belong in E –0 is the origin –P = {v k,v k-1,…,v 1,v 0 } a path in G –P v = permitted paths from v to 0 –λ v is a ranking function over P v P 1,P 2 belong to P v and λ v (P 1 ) < λ v (P 2 ), P 2 is preferred over P 1 –Λ is a set of ranking functions S=(G,P,Λ) is an SPVP specification

8 Note Reachability Stability –Node i is stable if λ i ((i,j)P j )  λ i (P i ) whenever (i,j)P j belongs in P i –A tree T is stable if all nodes are stable Solvability –If there is a stable routing tree for S

9 Examples of SPVP specifications Figure (b) is a solution for the SPVP specification of figure (a) T 1 = (1 3 0), (2 0), (3 0), (4 3 0) (stable) T 2 = (1 0), (2 0), (3 0), (4 3 0) (unstable)

10 Sufficient conditions for stability The Dispute Digraph Dispute Wheels

11 The Dispute Digraph –Q is a permitted path at v –P is a permitted path at u –The arc is a local policy dispute about the relative ranking of P and Q (u,v)Q is rejected at u or λ u ((u,v)Q) < λ u (P), λ v (P[v,0])  λ v (Q)

12 The Dispute digraphs

13 Dispute Wheels Π = (U, Q, R) of size k : Dispute wheel U = { u 0, u 1, …,u k-1 } : Set of nodes Q = {Q 0, Q 1, …,Q k-1 }: Set of paths R = {R 0, R 1, …,R k-1 } : Set of paths 1) R i is a path from u i to u i+1 2) Q i belongs to P u(i) 3) R i Q i+1 belongs to P u(i) 4) λ u(i) (Q i )  λ u(i) (R i Q i+1 )

14 Properties of Dispute Wheels If a specification S has more than one solution, then it has a dispute wheel No dispute wheel implies a solution Divergence Implies a Dispute wheel If there is a cycle in the evaluation graph, then S contains a dispute wheel Conclusion: If S has no dispute wheel, then the evaluation graph has no cycles and so S is safe

15 Sufficient Condition The lack of Dispute wheels means stability The converse does not hold This Specification has a dispute wheel but the evaluation graph has no cycles

16 A Safe Path Vector Protocol Address the same problems –Stable Paths Propose three protocols –SPVP 1 : Unable to detect oscillation –SPVP 2 : Dynamically computing histories –SPVP 3 : Detect and suppress unsafe paths

17 The Stable Paths Problem Same as Dispute Digraph and Dispute Wheel Always try to reach an equilibrium point in which each node is assigned its local maximum rank

18 Simple Path Vector Protocol 1 Abstract version of BGP Will always diverge for unsolvable Stable Paths Problem Also might diverge for solvable SPP

19 Simple Path Vector Protocol 2 Adds a dynamically computed attribute to messages: path history Check step 6 Node 2 adopted path (2 0) because it went down from (2 1 0) because node 1 went up to (1 3 0) because node 3 went down from ( ) because node 4 went down from (4 2 0) because 2 went up to (2 1 0)

20 Simple Path Vector Protocol 2 Node 2 adopted path (2 0) because it went down from (2 1 0) because node 1 went up to (1 3 0) because node 3 went down from ( ) because node 4 went down from (4 2 0) because 2 went up to (2 1 0) Use path change event. The history will be: ( ) ( ) ( ) ( ) ( ) This history contains a cycle Extend this to all nodes

21 This is a dynamic trace for SPVP 2 At step 9 every node has a cycle in its history

22 Simple Path Vector Protocol 3 Dynamically suppress a bad path Our example should converge to the path assignment: ((1 3 0), , (3 0), (4 3 0)) At step 6 there is a cycle detected. So node 2 adds path (2 0) to a set of bad paths and adopts the empty path So BAD GADGET is solved

23 Conclusion SPVP 3 is a safe Routing Protocol Try to extend BGP to add history in route records Propose triggered histories –Start recording when a conflict occurs

24 Summary Defined basic routing problems –Instability Introduced the SPVP framework Described a safe routing protocol