Interdomain Routing. Networked Systems (H) Lecture 11

Similar documents
CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

Advanced Computer Networks

Interdomain Routing and Connectivity

Inter-Autonomous-System Routing: Border Gateway Protocol

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Inter-Autonomous-System Routing: Border Gateway Protocol

TELE 301 Network Management

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

A survey of interdomain routing policies

Master Course Computer Networks IN2097

Inter-Domain Routing: BGP

Computer Networking Introduction

Introduction to BGP ISP/IXP Workshops

Introduction to BGP. ISP/IXP Workshops

Inter-AS routing and BGP. Network Layer 4-1

PART III. Implementing Inter-Network Relationships with BGP

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Inter-domain Routing. Outline. Border Gateway Protocol

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

CS 268: Computer Networking. Next Lecture: Interdomain Routing

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

ETSF10 Internet Protocols Routing on the Internet

Inter-Domain Routing: BGP II

Border Gateway Protocol

Dynamics of Hot-Potato Routing in IP Networks

How the Internet works? The Border Gateway Protocol (BGP)

Ravi Chandra cisco Systems Cisco Systems Confidential

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Routing(2) Inter-domain Routing

Inter-Domain Routing: BGP

Routing part 2. Electrical and Information Technology

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Inter-Domain Routing: BGP II

Internet Routing Protocols Lecture 01 & 02

ETSF10 Internet Protocols Routing on the Internet

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Routing. Jens A Andersson Communication Systems

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

Interdomain Routing. EE122 Fall 2011 Scott Shenker

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

Chapter IV: Network Layer

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Routing Unicast routing protocols

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Connecting to a Service Provider Using External BGP

CSc 450/550 Computer Networks Internet Routing

ISP Border Definition. Alexander Azimov

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

CS4700/CS5700 Fundamentals of Computer Networks

COM-208: Computer Networks - Homework 6

COMP/ELEC 429 Introduction to Computer Networks

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

Interdomain Routing. EE122 Fall 2012 Scott Shenker

Lecture 19: Network Layer Routing in the Internet

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

BGP. Autonomous system (AS) BGP version 4

CSCI Topics: Internet Programming Fall 2008

Master Course Computer Networks IN2097

Lecture 16: Border Gateway Protocol

Internet Routing : Fundamentals of Computer Networks Bill Nace

Network Layer (Routing)

Routing(2) Inter-domain Routing

Lecture 18: Border Gateway Protocol

Lecture 3: Packet Forwarding

CS321: Computer Networks Unicast Routing

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

EE 122: Inter-domain routing Border Gateway Protocol (BGP)

Connecting to a Service Provider Using External BGP

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

A Study on Efficient Route Optimization using Border Gateway Protocol in Mobile Adhoc Networks

IP Addressing & Interdomain Routing. Next Topic

Communication Networks

Chapter 4: outline. Network Layer 4-1

BGP. Autonomous system (AS) BGP version 4

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Border Gateway Protocol. Version: Demo

BGP Attributes and Path Selection

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version

From the given configuration taken from RTA and graphic, which network will be filtered from being propagated to RTC from RTA?

Lecture 17: Border Gateway Protocol

ETSF10 Internet Protocols Routing on the Internet

BGP. Autonomous system (AS) BGP version 4

Chapter 4: Network Layer

A configuration-only approach to shrinking FIBs. Prof Paul Francis (Cornell)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

Module 6 ibgp and Basic ebgp

Introduc)on to Computer Networks

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

Border Gateway Protocol - BGP

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Unit 3: Dynamic Routing

COMP211 Chapter 5 Network Layer: The Control Plane

CSCE 463/612 Networks and Distributed Processing Spring 2018

Transcription:

Interdomain Routing Networked Systems (H) Lecture 11

Lecture Outline Interdomain routing Autonomous systems and the Internet AS-level topology BGP and Internet routing 2

Interdomain Unicast Routing Tier-1 ISP Regional ISP Local ISP End Site Host Host Host Ethernet 3

Interdomain Unicast Routing Tier-1 ISP Regional ISP Local ISP Find best route to destination network Treat each network as a single node, and route without reference to internal network topology 4

Autonomous Systems Network comprised of autonomous systems (ASes) Each AS is an independently administered network An Internet service provider, or other organisation, that operates a network and wants to participate in interdomain routing Some organisations operate more than one AS For ease of administration; due to company mergers; etc. Each AS is identified by a unique number, allocated by the RIR ~50,000 AS numbers allocated: http://bgp.potaroo.net/cidr/autnums.html (Jan 2015) Routing problem is finding best AS-level path from source AS to destination AS Treat each AS as a node on the routing graph (the AS topology graph ) Treat connections between ASes as edges in the graph 5

http://www.caida.org/research/topology/as_core_network/2015/ 6

Default Routes and the DFZ The AS-level topology: Well connected core networks Sparsely connected edges, getting service from the core networks DFZ Edge networks can use a default route to the core Core networks need a full routing table The default free zone (DFZ) Default = AS network = Inter-AS link 7

Routing at the Edge Example: Routing table for hosts in Glasgow SoCS 130.209.240/20 Network: Netmask: Gateway: 130.209.240.0 255.255.240.0 eth0 default 0.0.0.0 130.209.240.48 130.209.240.48 Router The Internet 8

Routing in the DFZ Core networks are well-connected, must know about every other network The default free zone where there is no default route Route based on policy, not necessarily shortest path Use AS x in preference to AS y Use AS x only to reach addresses in this range Use the path that crosses the fewest number of ASes Avoid ASes located in that country Requires complete AS-level topology information 9

Routing Policy Interdomain routing is between competitors ASes are network operators and businesses that compete for customers Implication: an AS is unlikely to trust its neighbours Routing must consider policy Policy restrictions on who can determine your topology Policy restrictions on which route data can follow Prefer control over routing, even if that means data doesn t necessarily follow the best (shortest) path the shortest path might pass through a competitor s network, or a country you politically disagree with, or over an expensive link 10

Border Gateway Protocol Interdomain routing in the Internet uses the Border Gateway Protocol (BGP) External BGP (ebgp) used to exchange routing information between ASes Neighbouring ASes configure an ebgp session to exchange routes Runs over a TCP connection between routers; exchanges knowledge of the AS graph topology Used to derive best route to each destination; installed in routers to control forwarding Internal BGP (ibgp) propagates routing information to routers within an AS The intra-domain routing protocol handles routing within the AS ibgp distributes information on how to reach external destinations 11

Routing Information Exchanged in ebgp ebgp routers advertise lists of IP address ranges ( prefixes ) and their associated AS-level paths Combined to form a routing table Prefix Next Hop AS Path * 12.10.231.0/24 194.68.130.254 5459 5413 5696 7369 i Hosts with IP addresses in the range * 158.43.133.48 1849 702 701 6113 5696 7369 i 12.10.231.0-12.10.231.255 are in * 193.0.0.242 3333 286 5696 7369 i AS 7369. That AS is best reached via * 204.212.44.128 234 266 237 3561 5696 7369 i AS 2497 and then AS 5696. Packets *> 202.232.1.8 2497 5696 7369 i destined for those addresses should * 204.70.4.89 3561 5696 7369 i be sent to address 202.232.1.8 next, from where they will be forwarded. * 131.103.20.49 1225 3561 5696 7369 i * 62.224.0.0/19 134.24.127.3 1740 3561 2578 8371 i * 194.68.130.254 5459 2529 3561 2578 8371 i * 158.43.133.48 1849 702 701 3216 3216 3216 8371 8371 i * 193.0.0.242 3333 286 3561 2578 8371 i * 144.228.240.93 1239 3561 2578 8371 i * 204.212.44.128 234 266 237 3561 2578 8371 i * 202.232.1.8 2497 3561 2578 8371 i * 205.238.48.3 2914 3561 2578 8371 i *> 204.70.4.89 3561 2578 8371 i * 131.103.20.49 1225 3561 2578 8371 i 12

AS Topology Graph An example fragment of the AS topology graph: 701 702 5459 1849 Prefix Next Hop AS Path * 12.10.231.0/24 194.68.130.254 5459 5413 5696 7369 i * 158.43.133.48 1849 702 701 6113 5696 7369 i * 193.0.0.242 3333 286 5696 7369 i * 204.212.44.128 234 266 237 3561 5696 7369 i *> 202.232.1.8 2497 5696 7369 i * 204.70.4.89 3561 5696 7369 i * 131.103.20.49 1225 3561 5696 7369 i * 62.224.0.0/19 134.24.127.3 1740 3561 2578 8371 i * 194.68.130.254 5459 2529 3561 2578 8371 i * 158.43.133.48 1849 702 701 3216 3216 3216 8371 8371 i * 193.0.0.242 3333 286 3561 2578 8371 i * 144.228.240.93 1239 3561 2578 8371 i * 204.212.44.128 234 266 237 3561 2578 8371 i * 202.232.1.8 2497 3561 2578 8371 i * 205.238.48.3 2914 3561 2578 8371 i *> 204.70.4.89 3561 2578 8371 i * 131.103.20.49 1225 3561 2578 8371 i 3216 5413 3333 234 266 286 6113 5696 2497 1239 1740 1225 2914 5459 7369 12.10.231.0/24 2529 8371 62.224.0.0/19 2578 3561 13 237

Routing Policy in ebgp Each AS chooses what routes to advertise to its neighbours Doesn t need to advertise everything it receives Usual to drop some routes from the advertisement depends on the chosen routing policy Common approach: the Gao-Rexford rules: Providers Peers Customers Routes from customers advertised to everyone Routes from peers and providers only advertised to customers Ensures the AS graph is a valley-free DAG (recommended, but not required, policy) Lixin Gao Jennifer Rexford 14

BGP Routing Decision Process BGP routers receive path vectors from neighbouring ASes giving possible routes to prefixes Filtered based on the policy of each AS in the path from the source BGP decision process is complex and policy-driven Choose what route to install for destination prefix in forwarding table based on multiple criteria policy, shortest path, etc. BGP doesn t always find a route, even if one exists, as may be prohibited by policy Routes are often not the shortest AS path Mapping business goals to BGP policies is a poorly documented process, with many operational secrets Table 2: Simplified BGP decision process [6, 24]. This table was also provided with the survey. # Criteria 1 Highest LocalPref 2 Lowest AS Path Length 3 Lowest origin type 4 Lowest MED 5 ebgp-learned over ibgp-learned 6 Lowest IGP cost to border router (hot-potato routing) 7 If both paths are external, prefer the path that was received first (i.e., the oldest path) [6] 8 Lowest router ID (to break ties) Source: Phillipa Gill, Michael Schapira, and Sharon Goldberg, A Survey of Interdomain Routing Policies, ACM CCR, V44, N1, January 2014, p29-34 15

Summary The interdomain routing problem Autonomous systems Routing on the AS graph Trust and policy constraints Interdomain routing in the Internet BGP 16