How to Construct a Correct and Scalable iBGP Configuration Mythili Vutukuru Joint work with Paul Valiant, Swastik Kopparty and Hari Balakrishnan.

Slides:



Advertisements
Similar presentations
Practical Searches for Stability in iBGP
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing the MPLS VPN Routing Model.
Internet Routing (COS 598A) Today: Topology Size Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Network Layer4-1 Hierarchical Routing scale: with 200 million destinations: r can’t store all dest’s in routing tables! r routing table exchange would.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
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.
Best Practices for ISPs
How to Construct a Correct and Scalable iBGP Configuration Mythili Vutukuru Joint work with Paul Valiant, Swastik Kopparty and Hari Balakrishnan.
Towards a Logic for Wide-Area Internet Routing Nick Feamster and Hari Balakrishnan M.I.T. Computer Science and Artificial Intelligence Laboratory Kunal.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Route Reflectors.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Designing Networks with Route Reflectors.
Part II: Inter-domain Routing Policies. March 8, What is routing policy? ISP1 ISP4ISP3 Cust1Cust2 ISP2 traffic Connectivity DOES NOT imply reachability!
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
S ufficient C onditions to G uarantee P ath V isibility Akeel ur Rehman Faridee
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
A View of the AS Hierarchy Provider - customer. A View of the AS Hierarchy No transitivity No SP concatenation Provider - customerData path.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
1 Route Control Platform – IEEE CCW 2004 Route Control Platform Making an AS look and act like a router Aman Shaikh AT&T Labs - Research IEEE CCW 2004.
Wresting Control from BGP: Scalable Fine-grained Route Control UCSD / AT&T Research Usenix —June 22, 2007 Dan Pei, Tom Scholl, Aman Shaikh, Alex C. Snoeren,
1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.
15-744: Computer Networking L-5 Inter-Domain Routing.
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
14 – Inter/Intra-AS Routing
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Hot Potatoes Heat Up BGP Routing Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman Shaikh, and.
Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman.
Inter-domain Routing Outline Border Gateway Protocol.
Towards a Logic for Wide- Area Internet Routing Nick Feamster Hari Balakrishnan.
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
Information-Centric Networks04a-1 Week 4 / Paper 1 Open issues in Interdomain Routing: a survey –Marcelo Yannuzzi, Xavier Masip-Bruin, Olivier Bonaventure.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
10-1 Last time □ Transitioning to IPv6 ♦ Tunneling ♦ Gateways □ Routing ♦ Graph abstraction ♦ Link-state routing Dijkstra's Algorithm ♦ Distance-vector.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira (UCSD),
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Inter-domain Routing Outline Border Gateway Protocol.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
Working at a Small-to-Medium Business or ISP – Chapter 6
CS 3700 Networks and Distributed Systems
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP supplement Abhigyan Sharma.
Network Design & Analysis
Introduction to Internet Routing
Lixin Gao ECE Dept. UMASS, Amherst
Cours BGP-MPLS-IPV6-QOS
Connecting an Enterprise Network to an ISP Network
Internet Routing (COS 598A) Today: Topology Size
COMPUTER NETWORKS CS610 Lecture-42 Hammad Khalid Khan.
Scaling Service Provider Networks
Inter-domain Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Protocols
Presentation transcript:

How to Construct a Correct and Scalable iBGP Configuration Mythili Vutukuru Joint work with Paul Valiant, Swastik Kopparty and Hari Balakrishnan

BGP R R R R eBGP iBGP R Border routers/ Egress Internal routers A B C D F E Autonomous System (AS) BGP routers eBGP and iBGP Route

Our contribution  Status quo in configuring iBGP  Full-mesh (not scalable)  Route reflection (no correctness guarantees)  Problems with both approaches  New approach to configure iBGP that is both correct and scalable  Uses elegant results from graph theory

Outline of the talk  More background  What is the status quo?  What are the problems with it?  Problem statement  Our solution

Background - iBGP  iBGP sessions run on TCP  Overlay over the intra- domain routing protocol (IGP) like OSPF  Routing messages and data packets forwarded via IGP within AS  Routes from iBGP session not propagated to another iBGP session iBGP A B C D F E IGP R Route

Approach#1: Full-mesh iBGP R R R R R  Every router has an iBGP session to every border router  Not scalable A B C D E F Route iBGP session

Approach#2: Route reflection R  “Reflects” routes to and from client iBGP sessions  Avoids full-mesh  Hierarchy of reflectors Route reflector A B C D E F Route Client iBGP session

Problems with route reflection: #1  Problem #1: Routers may not choose best route  Why? Route reflector reflects only its best route  B chooses the sub-optimal route through C  In full-mesh B would have chosen route through A R A B C D E F Lower cost to egress Route Client session Data packets

Problem#2: Forwarding loops A B C D R1 R2 R R R: goto A R: goto D To: R IGP Route Client iBGP session Data packets IGP link

iBGP configurationCorrectnessScalability Full-mesh √ × Route reflection× √ We need √√ Background - Summary

Outline of the talk  More background  What is the status quo?  What are the problems with it?  Problem statement  Our solution

Problem Statement  Input: IGP (IP-level connectivity) graph  Output: iBGP configuration  Route reflectors and clients  iBGP sessions  Constraints  Emulate full-mesh  More scalable than full-mesh  Previous work [GW02] – how to check for correctness, not how to construct correct configurations [GW02] T. Griffin and G. Wilfong, “On the Correctness of iBGP Configuration”, In Proc. ACM SIGCOMM 2002, Pittsburg, PA, August 2002.

Outline of the talk  More background  What is the status quo?  What are the problems with it?  Problem statement  Our solution

Key insight for emulating full-mesh  For every router P, every egress E  P and E have iBGP session, OR  P should be the client of a route reflector on the shortest path between P and E A B C D R1 R2 R R R: goto D R: goto A To: R Route Client iBGP session Data packets IGP link

Our solution  S is graph separator  Nodes in graph separator S are route reflectors  u in G 1 or G 2, v in S: u is a client of v  Full-mesh in G 1, G 2  Recurse on G 1, G 2 G1G1 G2G2 S R R A B D ?

Evaluation  2.5 to 5X fewer iBGP sessions on ISP topologies [Source: Rocketfuel]

Conclusion  First algorithm to construct correct iBGP configurations with route reflection.  Efficient implementation  2.5 to 10X fewer iBGP sessions compared to full-mesh iBGP

Questions?

Best route selection  BGP best route selection rules  Local Pref  AS path length  MED  IGP cost to egress  Best route selected by route reflector might not be the best route for the client

Route reflection  2 types of iBGP sessions  Client iBGP session  Normal (“peer”) iBGP session  Route from client → all clients and peers  Route from peer → all clients  Multiple route reflectors  Hierarchy of route reflectors

Problems with route reflection  Lack of complete visibility: every router is not guaranteed to see its best available route.  Forwarding loops  Some router along the forwarding path chooses a different egress  Packets do not make progress towards egress and loop forever  Not robust to IGP changes  IGP link failures trigger forwarding loops  Full-mesh iBGP has none of these problems