T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.

Slides:



Advertisements
Similar presentations
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Advertisements

Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
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.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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.
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.
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.
Interdomain Routing and The Border Gateway Protocol (BGP) Courtesy of Timothy G. Griffin Intel Research, Cambridge UK
Computer Networking Lecture 10: Inter-Domain Routing
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Interdomain Routing Computer Science Division Department of Electrical Engineering and Computer.
Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian’s slides) EE 122: Inter-domain routing – Border Gateway Protocol (BGP)
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 04/05/2007.
14 – Inter/Intra-AS Routing
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
© 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.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
UNICAST ROUTING PROTOCOLS Major Functions:  Define the domain of operation (Internal/External to the ISPs), and interaction with other protocols.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
Computer Networks Layering and Routing Dina Katabi
Inter-domain Routing Outline Border Gateway Protocol.
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
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.)
Introduction to BGP.
IP is a Network Layer Protocol Physical 1 Network DataLink 1 Transport Application Session Presentation Network Physical 1 DataLink 1 Physical 2 DataLink.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
CS 3830 Day 29 Introduction 1-1. Announcements r Quiz 4 this Friday r Signup to demo prog4 (all group members must be present) r Written homework on chapter.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Border Gateway Protocol
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
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.
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.
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.
CS 4396 Computer Networks Lab BGP. Inter-AS routing in the Internet: (BGP)
CSCI-1680 Network Layer: Inter-domain Routing Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
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.
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.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
Inter-domain Routing Outline Border Gateway Protocol.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
Border Gateway Protocol. Intra-AS v.s. Inter-AS Intra-AS Inter-AS.
1 Network Layer: Routing Intra- and Inter-Domain Routing Y. Richard Yang 4/18/2016.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP supplement Abhigyan Sharma.
Net 323 D: Networks Protocols
Lixin Gao ECE Dept. UMASS, Amherst
Net 323 D: Networks Protocols
BGP Overview BGP concepts and operation.
Department of Computer and IT Engineering University of Kurdistan
Routers Routing algorithms
COMP/ELEC 429/556 Introduction to Computer Networks
BGP Instability Jennifer Rexford
Computer Networks Protocols
Network Layer: Internet Inter-Domain Routing
Presentation transcript:

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University2 Autonomous Systems (AS) Internet is not a single network! The Internet is a collection of networks, each controlled by a different administration An autonomous system (AS) is a network under a single administrative control

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University3 Example AS-1 AS-2 AS-3 Interior router Border router

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University4 Implications ASs want to choose own local routing algorithm –AS takes care of getting packets to/from their own hosts –Intradomain routing: RIP, OSPF, etc ASs want to choose own non-local routing policy –Interdomain routing must accommodate this

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University5 Previous focus: Intra-Domain Routing AS-1 AS-2 AS-3 Interior router Border router Intra-domain routing protocol aka Interior Gateway Protocol (IGP), e.g. OSPF, RIP

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University6 Today’s focus: Inter-Domain Routing AS-2 Interior router Border router AS-1 AS-3

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University7 Inter-Domain Routing Considerations Global connectivity is at stake Inevitably leads to one single protocol that everyone must speak –Unlike many choices in intra-domain routing What are the requirements? –Scalability –Flexibility in choosing routes If you were to choose, link state based or distance vector based? Border Gateway Protocol (BGP) –A hybrid between link state and distance vector –“Path vector”

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University8 Border Gateway Protocol Part I: E-BGP border routerinterior router E-BGP AS1 AS2  Two types of routers  Border router, Interior router

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University9 BGP Operations (Simplified) Establish session on TCP port 179 Exchange all active routes Exchange incremental updates AS1 AS2 While connection is ALIVE exchange route UPDATE messages BGP session

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University10 BGP Update Messages Update : Announcing new routes or withdrawing previously announced routes. Update = prefix + attributes values

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University11 Part I: E-BGP, Share connectivity information across ASs E-BGP A AS1 AS2 you can reach net prefix A via addr and the path is “AS2” BGP table at R1: dest network prefix AS path next hop A AS2 addr R1 addr

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University12 E-BGP update I-BGP updates I-BGP used to disseminate learned routes to all routers in AS Part II: I-BGP, Carrying Info within an AS

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University13 Part II: I-BGP, Carrying Info within an AS AS1 B AS3 A AS2 you can reach net B via addr1 and the path is “AS3” E-BGP you can reach net B via addr2 and the path is “AS3 AS2” E-BGP addr2 addr1 I-BGP you can reach net B via addr1 and the path is “AS3”

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University14 Attributes are Used to Select Best Routes /24 pick me! /24 pick me! /24 pick me! /24 pick me! Given multiple routes to the same prefix, a BGP speaker must pick at most one best route

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University15 Example: Multiple AS Paths AS701 AS73 AS7018AS1239AS / /

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University16 Shorter Doesn’t Always Mean Shorter AS 4 AS 3 AS 2 AS 1 Path 4 1 is “better” than path 3 2 1

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University17 Multiple Routing Processes on a Single Router Forwarding Table OS kernel IGP Process IGP Routing tables BGP Process BGP Routing tables Forwarding Table Manager

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University18 Combine BGP and IGP to Create Forwarding Table AS 1AS / I-BGP: /16 Next Hop = /30 Forwarding Table /16 destinationnext hop / BGP /16 destinationnext hop + IGP /30 destinationnext hop E-BGP

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University19 Benefits of BGP Design Path Vector style routing –Distance vector algorithm with extra information –For each route, store the complete path (ASs) –No extra computation, just extra storage Advantages: –can make policy choices (choose among many possible learned paths) based on set of ASs in path –can easily avoid loops

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University20 Announcing and Choosing Routes BGP may learn many different paths for a destination network Learns only reachability information, no performance metrics –Not about optimizing anything –All about policy (business and politics) What a BGP speaker announces or not announces to a neighbor determines what routes may get used by that neighbor Router chooses among paths based on policy

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University21 Nontransit vs. Transit ASes ISP 1 ISP 2 Nontransit AS might be a corporate or campus network. NET A Traffic NEVER flows from ISP 1 through NET A to ISP 2 (At least not intentionally!) IP traffic Internet Service providers (often) have transit networks

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University22 Selective Transit NET B NET C NET A provides transit between NET B and NET C and between NET D and NET C NET A NET D NET A DOES NOT provide transit Between NET D and NET B Most transit networks transit in a selective manner… IP traffic

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University23 Customers and Providers Customer pays provider for access to the Internet provider customer IP traffic provider customer

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University24 The Peering Relationship peer customerprovider Peers provide transit between their respective customers Peers do not provide transit between peers Peers (often) do not exchange $$$ traffic allowed traffic NOT allowed

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University25 Peering Provides Shortcuts Peering also allows connectivity between the customers of “Tier 1” providers. peer customerprovider

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University26 Import Routes From peer From peer From provider From provider From customer From customer provider routecustomer routepeer routeISP route

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University27 Export Routes To peer To peer To customer To customer To provider From provider provider routecustomer routepeer routeISP route filters block

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University28 How Can Routes be “Colored”? “Community” Value A community value is 32 bits By convention, first 16 bits is ASN indicating who is giving it an interpretation community number Very powerful BECAUSE it has no predefined meaning Used for signaling within and between ASs

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University29 BGP Issues BGP designed for policy not performance Susceptible to router misconfiguration –Blackholes: announce a route you cannot reach Slow convergence time –Rate limiting and route flap dampening