RRG Nov 08 Mapped BGP Paul Francis, Cornell Xiaohu Xu, Huawei Hitesh Ballani, Cornell.

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

Multihoming and Multi-path Routing
VA-auto Goal: make the VA configuration simpler –Dont need to make configures on all VA routers. Only APRs and partial ASBRs. –Dont need to change the.
IEEE CCW 08 New Network Architectures: Why Bother? Paul Francis Cornell.
Multihoming and Multi-path Routing CS 7260 Nick Feamster January
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.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
BGP Multiple Origin AS (MOAS) Conflict Analysis Xiaoliang Zhao, NCSU S. Felix Wu, UC Davis Allison Mankin, Dan Massey, USC/ISI Dan Pei, Lan Wang, Lixia.
© 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.
Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
2006 – (Almost another) BGP Year in Review A BRIEF update to the 2005 report 18 October 2006 IAB Routing Workshop Geoff Huston APNIC.
Consensus Routing: The Internet as a Distributed System John P. John, Ethan Katz-Bassett, Arvind Krishnamurthy, and Thomas Anderson Presented.
BGP Extensions for BIER draft-xu-idr-bier-extensions-01 Xiaohu Xu (Huawei) Mach Chen (Huawei) Keyur Patel (Cisco) IJsbrand Wijnands (Cisco)
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.
The need for BGP AfNOG Workshops Philip Smith. “Keeping Local Traffic Local”
Making Routers Last Longer with ViAggre Hitesh Ballani, Paul Francis, Tuan Cao and Jia Wang Cornell University and AT&T Labs- Research Presented by Gregory.
HLP: A Next Generation Interdomain Routing Protocol Lakshminarayanan Subramanian* Matthew Caesar* Cheng Tien Ee*, Mark Handley° Morley Maoª, Scott Shenker*
1 BGP Security -- Zhen Wu. 2 Schedule Tuesday –BGP Background –" Detection of Invalid Routing Announcement in the Internet" –Open Discussions Thursday.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
Mini Introduction to BGP Michalis Faloutsos. What Is BGP?  Border Gateway Protocol BGP-4  The de-facto interdomain routing protocol  BGP enables policy.
Structure of the Internet Update for 1 st H/Wk We will start lab next week Paper presentation at the end of the session Next Class MPLS.
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
CS Summer 2003 Lecture 4. CS Summer 2003 Route Aggregation The process of representing a group of prefixes with a single prefix is known as.
Computer Networking Lecture 10: Inter-Domain Routing
More on BGP Check out the links on politics: ICANN and net neutrality To read for next time Path selection big example Scaling of BGP.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Internet Routing (COS 598A) Today: Multi-Homing Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
COS 420 Day 16. Agenda Finish Individualized Project Please Have Grading sheets to me by Tomorrow Group Project Discussion Assignment 3 moved back to.
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
BGP Attributes and Path Selections
Computer Networks Layering and Routing Dina Katabi
Inter-domain Routing Outline Border Gateway Protocol.
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
CRIO: Scaling IP Routing with the Core Router-Integrated Overlay Xinyang (Joy) Zhang Paul Francis Jia Wang Kaoru Yoshida.
Lecture 8 Page 1 Advanced Network Security Review of Networking Basics: Internet Architecture, Routing, and Naming Advanced Network Security Peter Reiher.
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
Information-Centric Networks04a-1 Week 4 / Paper 1 Open issues in Interdomain Routing: a survey –Marcelo Yannuzzi, Xavier Masip-Bruin, Olivier Bonaventure.
Introduction to BGP.
9/15/2015CS622 - MIRO Presentation1 Wen Xu and Jennifer Rexford Department of Computer Science Princeton University Chuck Short CS622 Dr. C. Edward Chow.
Lecture 4: BGP Presentations Lab information H/W update.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Chapter 9. Implementing Scalability Features in Your Internetwork.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
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.
Interdomain Routing Security. How Secure are BGP Security Protocols? Some strange assumptions? – Focused on attracting traffic from as many Ases as possible.
1 Evolution Towards Global Routing Scalability draft-zhang-evolution-01 Varun Khare Beichuan Zhang
R-BGP: Staying Connected in a Connected World Nate Kushman Srikanth Kandula, Dina Katabi, and Bruce Maggs.
CS 4396 Computer Networks Lab BGP. Inter-AS routing in the Internet: (BGP)
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Traffic Engineering.
The New Policy for Enterprise Networking Robert Bays Chief Scientist June 2002.
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.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
1 John Scudder, David Ward Emerging Routing Issues.
Inter-domain Routing Outline Border Gateway Protocol.
Shrinking and Controlling Routing Table Size Xinyang (Joy) Zhang Paul Francis Jia Wang Kaoru Yoshida.
intra-va-01.txt -01 Draft of: “FIB Suppression with Virtual Aggregation and Default Routes” Paul.
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Evolution Towards Global Routing Scalability
Virtual Aggregation (VA)
Border Gateway Protocol
Routing: Distance Vector Algorithm
BGP Instability Jennifer Rexford
Computer Networks Protocols
Presentation transcript:

RRG Nov 08 Mapped BGP Paul Francis, Cornell Xiaohu Xu, Huawei Hitesh Ballani, Cornell

What is Mapped BGP? A BGP-based routing scalability solution Tries to minimize changes to BGP Focus on processing efficiency and inter-domain traffic engineering Not on RIB reduction per se, though better aggregation is enabled No changes to the edge

Mapped-BGP is Map-&-Encap Maps are distributed via BGP...but in a way that reduces BGP load....and maintains BGP’s “operational model” Litmus test: Mapped-BGP operates out of a legacy BGP configuration, but is more efficient

No RIB Reduction????? Scalability has a number of aspects: Storage Processing Convergence Time

No RIB Reduction????? Scalability has a number of aspects: Storage Processing RIB Storage FIB Storage Update rate Update cost X Convergence Time

RIB Storage FIB Storage Update Cost Update Rate If we shrink this Typical approach Convergence

RIB Storage FIB Storage Update Cost Update Rate If we shrink this Typical approach Convergence Then we’ll shrink these too Then these will shrink too (and we don’t need to worry about these)

RIB Storage FIB Storage Update Cost Update Rate Mapped-BGP Convergence Virtual Aggregation shrinks this

RIB Storage FIB Storage Update Cost Update Rate Mapped-BGP Convergence So probably we don’t need to fix this

RIB Storage FIB Storage Update Cost Update Rate Mapped-BGP Convergence So probably we don’t need to fix this But then this will be large

RIB Storage FIB Storage Update Cost Update Rate Mapped-BGP Convergence So Mapped-BGP shrinks this So probably we don’t need to fix this But then this will be large (and this)

RIB Storage FIB Storage Update Cost Update Rate Mapped-BGP Convergence Mapped-BGP also enables better aggregation, but requires managed address assignment (i.e. metro addresses)

Shrinking Update Cost Update less expensive if not installed into the FIB Maps are “policy free” (almost) Most updates are maps, not routes

Mapped-BGP: Three New Attributes Map: Action (add/delete), Tunnel Endpoint (TE), Prefix, Tunnel Endpoint Discriminator (TED) Split: Downstream AS, Upstream AS, Tunnel Endpoint Discriminator (TED) VP: Flag (is or is not a Virtual Prefix)

Mapped-BGP: New RIB Map-RIB: Map-RIB-in Map-RIB-out Other BGP RIBs are unchanged Can compress out #peers factor

Mapped-BGP: Three New Attributes Map: Action (add/delete), Tunnel Endpoint (TE), Prefix, Tunnel Endpoint Discriminator (TED) Split: Downstream AS, Upstream AS, Tunnel Endpoint Discriminator (TED) VP: Flag (is or is not a Virtual Prefix) Start by looking at basic map&encap

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 Tunnel Endpoints (TE) are anycasted across all routers in the AS. A TE is not (usually) a single address, but a CIDR block of addresses (i.e. TEw= /28)

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 W advertises: Route: AS-path=(W), NLRI=( /28) Map: TE=( /28), AT=(,, )

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 W advertises: Route: AS-path=(W), NLRI=(TEw) Map: TE=(TEw), AT=(,, )

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 W advertises: Route: AS-path=(W), NLRI=(TEw) Map: TE=(TEw), AT=(,, ) X advertises: Route: AS-path=(W,X), NLRI=(TEw) Map: TE=(TEw), AT=(,, ) From X, the route changes but not the map

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 Route: AS-path=(W), NLRI=(TEw) Map: TE=(TEw), AT=(,, ) route+map can be transposed as: Route: AS-path=(W), NLRI=(TEw, Pw-agg, Pd, Pa)

Route+Map  Route Transformation Policy applied to route extends to map entries Easy to compose reachability updates for legacy ASes BGP security stays the same Since most prefixes are maps, far fewer route policy decisions

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 A  W goes down: Map: TE=TEw, AT=( ) A  W comes up: Map: TE=TEw, AT=( ) Edge churn requires only map changes, not route changes

AS may receive different maps from different peers (during churn) Always converges to latest map Use map received from next- hop to tunnel endpoint Which map is used??? Rule: Still need to prove this.... Map advertised by each peer must be remembered

Map convergence is fast Don’t need to wait for best-path or other policy decision, IGP convergence, load balancing decision, etc. Maps can be propagated before they are fully processed Once validated, they can be passed on

If maps inherit TE-route policies, haven’t we lost policy granularity? But for Prefix-level policies, yes! For AS-level policies, no This is mostly load-balancing policies Prefer customer routes, don’t export routes from peers,....

Mapped-BGP: Three New Attributes Map: Action (add/delete), Tunnel Endpoint (TE), Prefix, Tunnel Endpoint Discriminator (TED) Split: Downstream AS, Upstream AS, Tunnel Endpoint Discriminator (TED) VP: Flag (is or is not a Virtual Prefix) Next lets look at inter- ISP traffic engineering

Mapped-BGP has two inter-domain Traffic Engineering mechanisms: One for multi-homed customer ISPs One for multi-homed sites

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 X receives: From W: Route: AS-path=(W), NLRI=(TEw) From W: Map: TE=(TEw), AT=(.... ) From I: Route: AS-path=(Z,I), NLRI=(TEz) From I: Map: TE=(TEz), AT=(.... ) Pa is reachable via two tunnels TEDs indicate A’s preference But X chooses tunnel(s)

Different ISP’s traffic engineering requirements may be in conflict Mapped-BGP lets receivers indicate load preference but lets senders make the choice (on a router-by-router basis)

TED is a parameter-less value At receiving AS: 1. Set TED values 2. Measure resulting load (days or weeks) 3. Tweak TED values, go to (2) At sending AS: 1. Satisfy own Traffic Engineering needs 2. If possible, honor TED values

Pa=20.1/16 Pb=20.2/16 Pc=20.3/16 Pc=30.1/16 TEw= /28 Pw-agg=20.0/14 W does load balance by “splitting” its TE: Route To X: AS=(W), NLRI=(TEwx= /29) Route To Y: AS=(W), NLRI=(TEwy= /29) Map: TE=(TEw), AT=(,, ) Split: DS-AS=W, US-AS=(, ) /28 TE-route is split into two /29 TE-routes Each route is given a TED

From Y: Route: AS=(W,Y), NLRI=(TEwx) From X: Route: AS=(W,X), NLRI=(TEwy) Route: AS=(Z,I,X), NLRI=(TEz) Map: TE=(TEz), AT=( ) From X and Y: Map: TE=(TEw), AT=(,, ) Split: DS-AS=W, US-AS=(, ) AS J receives the following:

From Y: Route: AS=(W,Y), NLRI=(TEwx) From X: Route: AS=(W,X), NLRI=(TEwy) Route: AS=(Z,I,X), NLRI=(TEz) Map: TE=(TEz), AT=( ) From X and Y: Map: TE=(TEw), AT=(,, ) Split: DS-AS=W, US-AS=(, ) First J decides how to split traffic to AS A

From Y: Route: AS=(W,Y), NLRI=(TEwx) From X: Route: AS=(W,X), NLRI=(TEwy) Route: AS=(Z,I,X), NLRI=(TEz) Map: TE=(TEz), AT=( ) From X and Y: Map: TE=(TEw), AT=(,, ) Split: DS-AS=W, US-AS=(, ) Then J decides how to split traffic tunneled to W

From Y: Route: AS=(W,Y), NLRI=(TEwx) From X: Route: AS=(W,X), NLRI=(TEwy) Route: AS=(Z,I,X), NLRI=(TEz) Map: TE=(TEz), AT=( ) From X and Y: Map: TE=(TEw), AT=(,, ) Split: DS-AS=W, US-AS=(, ) TEDs are efficient (One set of TEDs per balancing AS)

Mapped-BGP: Three New Attributes Map: Action (add/delete), Tunnel Endpoint (TE), Prefix, Tunnel Endpoint Discriminator (TED) Split: Downstream AS, Upstream AS, Tunnel Endpoint Discriminator (TED) VP: Flag (is or is not a Virtual Prefix) Finally lets look at aggregation

Tunnels let us create a virtual topology Every router receives every map We show how to relax this later Any router can define a “virtual prefix” (VP), and FIB-install maps for all sub- prefixes within the VP This router is an “aggregation point router” (AP-router) for the VP VP is bigger than any real sub-prefix

An AP-router originates a route to the VP The “VP flag” attribute is attached to the route This tells other routers that the originator can route to all sub-prefixes Tunnels let us create a virtual topology

The router can FIB-suppress all but 1/8 Say a router receives these routes: AS-path=(W,X,Y), NLRI=(1.1/16, 1.3/16, 1.5/16) AS-path=(A,B,C), NLRI=(1.2/16, 1.4/16, 1.6/16) AS-path=(I,J,K), VP-attr, NLRI=(1/8) The VP-attribute essentially lets routers “violate” best-match selection! Unless careful, this leads to overly long paths

Metro Addresses with VPs Metro addressing generally regarded as a solution to the site multi-homing problem Problem is that we lack regulatory mechanisms to insure rich physical topology within metro area VP-attribute relaxes need for this physical topology

Metro Addresses with VPs Metro address prefix is a VP Routers in the metro-area are configured as AP-routers for the VP Only transit ISPs advertise VP Prevents lower-tier ISPs from becoming transits for non-customers

path with metro addressing path without metro addressing

Failures result in longer paths, not unreachability

VPs can lead to reduced RIB size Metro VPs work as long as all AP- routers know of all sub-prefixes Define “AS-group” = “ASes participating in given metro” If AS-group has rich enough connectivity, sub-prefixes don’t need to be advertised outside of AS-group

VPs can lead to transient loops

Until unreachability info reaches other AS, packets will loop through tunnels

Solution to transient tunnel loops: Routers need to know when a packet has arrived via a tunnel If packet can’t be locally delivered, drop packet Details in draft

Questions, discussion, etc.....