Inter-Autonomous-System Routing: Border Gateway Protocol

Similar documents
Inter-Autonomous-System Routing: Border Gateway Protocol

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

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

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

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

Chapter IV: Network Layer

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

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

Computer Networking Introduction

Chapter 4: outline. Network Layer 4-1

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

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

CSCI Topics: Internet Programming Fall 2008

DATA COMMUNICATOIN NETWORKING

CSc 450/550 Computer Networks Internet Routing

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

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Chapter 4: Network Layer

Routing in the Internet

Inter-Domain Routing: BGP

COMP211 Chapter 5 Network Layer: The Control Plane

COM-208: Computer Networks - Homework 6

CSC 4900 Computer Networks: Routing Protocols

Lecture 19: Network Layer Routing in the Internet

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

PART III. Implementing Inter-Network Relationships with BGP

Interdomain Routing. Networked Systems (H) Lecture 11

Chapter 4: Network Layer, partb

Internet Routing : Fundamentals of Computer Networks Bill Nace

Introduction to IP Routing. Geoff Huston

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

Master Course Computer Networks IN2097

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Introduction to Computer Networks

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Master Course Computer Networks IN2097

Internet inter-as routing: BGP

Interplay Between Routing, Forwarding

Inter-domain Routing. Outline. Border Gateway Protocol

Routing(2) Inter-domain Routing

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

DATA COMMUNICATOIN NETWORKING

Unit 3: Dynamic Routing

Dynamics of Hot-Potato Routing in IP Networks

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

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

CSCE 463/612 Networks and Distributed Processing Spring 2018

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Chapter 4 Network Layer

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

Network layer: Overview. Network layer functions Routing IP Forwarding

Link State Routing & Inter-Domain Routing

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

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

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

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Border Gateway Protocol - BGP

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

Internet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst

ETSF10 Internet Protocols Routing on the Internet

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

CNT Computer and Network Security: BGP Security

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Routing. Jens A Andersson Communication Systems

CSCE 463/612 Networks and Distributed Processing Spring 2018

4A0-102 Exam Questions Demo Alcatel-Lucent. Exam Questions 4A0-102

Ravi Chandra cisco Systems Cisco Systems Confidential

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

Why dynamic route? (1)

Routing Unicast routing protocols

Border Gateway Protocol

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

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Routing. Outline. Algorithms Scalability

TELE 301 Network Management

CS 3516: Computer Networks

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

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

IP Addressing & Interdomain Routing. Next Topic

Chapter 4: Network Layer

Introduction to BGP ISP/IXP Workshops

Routing(2) Inter-domain Routing

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

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

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

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

Lecture 9. Network Layer (cont d) Network Layer 1-1

Lecture 3: Packet Forwarding

Inter-Domain Routing: BGP

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016

Chapter 4: Network Layer. TDTS06 Computer networks. Subnets. Subnets. Subnets. IP Addressing: introduction

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

MPLS VPN--Inter-AS Option AB

Configuring BGP community 43 Configuring a BGP route reflector 44 Configuring a BGP confederation 44 Configuring BGP GR 45 Enabling Guard route

Basic Idea. Routing. Example. Routing by the Network

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

Routing by the Network

Transcription:

Inter-Autonomous-System Routing: Border Gateway Protocol Antonio Carzaniga Faculty of Informatics University of Lugano June 14, 2005

Outline Hierarchical routing BGP

Routing

Routing Goal: each router u must be able to compute, for each other router v, the next-hop neighbor x that is on the least-cost path from u to v

Routing Goal: each router u must be able to compute, for each other router v, the next-hop neighbor x that is on the least-cost path from u to v v x 3 x 4 u x 2 x 1

Network Model

Network Model So far we have studied routing over a flat network model

Network Model So far we have studied routing over a flat network model g h j d e f a b c Also, our objective has been to find the lowest-cost paths between sources and destinations

Network Model So far we have studied routing over a flat network model g 14 h j 1 1 4 2 3 d e 9 f 1 2 1 1 1 a 3 4 b c Also, our objective has been to find the lowest-cost paths between sources and destinations

More Realistic Topologies

More Realistic Topologies

Even More Realistic

Even More Realistic c 2001 Stephen Coast

An Internet Map c 1999 Lucent Technologies

Higher-Level Objectives

Higher-Level Objectives Scalability hundreds of millions of hosts in today s Internet

Scalability Higher-Level Objectives hundreds of millions of hosts in today s Internet transmitting routing information (e.g., LSAs) would be too expensive

Scalability Higher-Level Objectives hundreds of millions of hosts in today s Internet transmitting routing information (e.g., LSAs) would be too expensive forwarding would also be too expensive

Scalability Higher-Level Objectives hundreds of millions of hosts in today s Internet transmitting routing information (e.g., LSAs) would be too expensive forwarding would also be too expensive Administrative autonomy

Scalability Higher-Level Objectives hundreds of millions of hosts in today s Internet transmitting routing information (e.g., LSAs) would be too expensive forwarding would also be too expensive Administrative autonomy one organization might want to run a distance-vector routing protocol, while another might want to run a link-state protocol

Scalability Higher-Level Objectives hundreds of millions of hosts in today s Internet transmitting routing information (e.g., LSAs) would be too expensive forwarding would also be too expensive Administrative autonomy one organization might want to run a distance-vector routing protocol, while another might want to run a link-state protocol an organization might not want to expose its internal network structure

Hierarchical Structure Today s Internet is organized in autonomous systems (ASs) independent administrative domains

Hierarchical Structure Today s Internet is organized in autonomous systems (ASs) independent administrative domains Gateway routers connect an autonomous system with other autonomous systems

Hierarchical Structure Today s Internet is organized in autonomous systems (ASs) independent administrative domains Gateway routers connect an autonomous system with other autonomous systems An intra-autonomous system routing protocol runs within an autonomous system this protocol determines internal routes internal router internal router internal router gateway router gateway router gateway router

Inter-AS Routing An inter-autonomous system routing protocol determines routing at the autonomous-system level

Inter-AS Routing An inter-autonomous system routing protocol determines routing at the autonomous-system level Once computed by the gateway routers, inter-as routing information is propagated within an autonomous system all routers use both inter-as and intra-as routes to compile their forwarding tables

Hierarchical Routing Destinations within the same autonomous system are reached as usual

Hierarchical Routing Destinations within the same autonomous system are reached as usual What about a destination x outside the autonomous system?

Hierarchical Routing Destinations within the same autonomous system are reached as usual What about a destination x outside the autonomous system? routers use inter-as information to figure out that destination x is reachable through gateway G x

Hierarchical Routing Destinations within the same autonomous system are reached as usual What about a destination x outside the autonomous system? routers use inter-as information to figure out that destination x is reachable through gateway G x routers use intra-as information to figure how to send the packet to G x

Hierarchical Routing Destinations within the same autonomous system are reached as usual What about a destination x outside the autonomous system? routers use inter-as information to figure out that destination x is reachable through gateway G x routers use intra-as information to figure how to send the packet to G x in cases in which x is reachable through multiple gateway routers G x, G X,..., routers use the closest gateway hot-potato routing

Benefits of Hierarchical Routing Administrative autonomy

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use an autonomous system needs to expose only minimal information about the internal structure of its network essentially only (sub)net addresses

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use an autonomous system needs to expose only minimal information about the internal structure of its network essentially only (sub)net addresses Scalability

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use an autonomous system needs to expose only minimal information about the internal structure of its network essentially only (sub)net addresses Scalability routers within an autonomous system need to know very little about the internal structure of other autonomous systems

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use an autonomous system needs to expose only minimal information about the internal structure of its network essentially only (sub)net addresses Scalability routers within an autonomous system need to know very little about the internal structure of other autonomous systems essentially only (sub)net addresses

Benefits of Hierarchical Routing Administrative autonomy each autonomous system decides what intra-as routing to use an autonomous system needs to expose only minimal information about the internal structure of its network essentially only (sub)net addresses Scalability routers within an autonomous system need to know very little about the internal structure of other autonomous systems essentially only (sub)net addresses External subnet addresses are likely to aggregate in groups that admit compact representations this process is called supernetting

Inter-AS Routing in the Internet

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs transmits reachability information to all internal routers within an AS

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs transmits reachability information to all internal routers within an AS determines good routes to all outside subnets

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs transmits reachability information to all internal routers within an AS determines good routes to all outside subnets based on reachability information

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs transmits reachability information to all internal routers within an AS determines good routes to all outside subnets based on reachability information based on policies

Inter-AS Routing in the Internet The Border Gateway Protocol (BGP) is the inter-as routing protocol in today s Internet provides reachability information from neighbor ASs transmits reachability information to all internal routers within an AS determines good routes to all outside subnets based on reachability information based on policies BGP is a distance-vector protocol (or better path-vector)

BGP Architecture and Terminology BGP session: a semi-permanent connection between two routers

BGP Architecture and Terminology BGP session: a semi-permanent connection between two routers BGP peers: two routers engaged in a BGP session BGP sessions are established over TCP

BGP Architecture and Terminology BGP session: a semi-permanent connection between two routers BGP peers: two routers engaged in a BGP session BGP sessions are established over TCP BGP external session (ebgp): a session across two autonomous systems

BGP Architecture and Terminology BGP session: a semi-permanent connection between two routers BGP peers: two routers engaged in a BGP session BGP sessions are established over TCP BGP external session (ebgp): a session across two autonomous systems BGP internal session (ibgp): a session within an autonomous system note that internal sessions carry inter-as information intra-as routing is a separate protocol (e.g., OSPF)

BGP Architecture and Terminology (2) BGP advertisement: a router advertises a routes to networks, much like an entry in a distance-vector destinations are denoted by address prefixes

BGP Architecture and Terminology (2) BGP advertisement: a router advertises a routes to networks, much like an entry in a distance-vector destinations are denoted by address prefixes an AS may or may not forward an advertisement for a foreign network. Doing so means being willing to carry traffic for that network

BGP Architecture and Terminology (2) BGP advertisement: a router advertises a routes to networks, much like an entry in a distance-vector destinations are denoted by address prefixes an AS may or may not forward an advertisement for a foreign network. Doing so means being willing to carry traffic for that network this is where a router may aggregate prefixes (a.k.a., supernetting ) E.g., } 128.138.242.0/24 128.138.242.0/23 128.138.243.0/24

BGP Architecture and Terminology (2) BGP advertisement: a router advertises a routes to networks, much like an entry in a distance-vector destinations are denoted by address prefixes an AS may or may not forward an advertisement for a foreign network. Doing so means being willing to carry traffic for that network this is where a router may aggregate prefixes (a.k.a., supernetting ) E.g., } 128.138.242.0/24 128.138.242.0/23 128.138.243.0/24 191.224.128.0/22 191.224.136.0/21 191.224.132.0/22

BGP Architecture and Terminology (2) BGP advertisement: a router advertises a routes to networks, much like an entry in a distance-vector destinations are denoted by address prefixes an AS may or may not forward an advertisement for a foreign network. Doing so means being willing to carry traffic for that network this is where a router may aggregate prefixes (a.k.a., supernetting ) E.g., } 128.138.242.0/24 128.138.242.0/23 128.138.243.0/24 191.224.128.0/22 191.224.136.0/21 191.224.132.0/22 191.224.128.0/20

BGP Architecture and Terminology (2) Autonomous system number (ASN): a unique identifier for each AS (with more than one gateway)

BGP Architecture and Terminology (2) Autonomous system number (ASN): a unique identifier for each AS (with more than one gateway) BGP attributes: a route advertisement includes a number of attributes AS-PATH: sequence of ASNs through which the advertisement has been sent

BGP Architecture and Terminology (2) Autonomous system number (ASN): a unique identifier for each AS (with more than one gateway) BGP attributes: a route advertisement includes a number of attributes AS-PATH: sequence of ASNs through which the advertisement has been sent NEXT-HOP: specifies the interface to use to forward packets towards the advertised destination. This is used to resolve ambiguous cases where an AS can be reached through multiple gateways (interfaces)

Route Selection 1. Router preference: routes are ranked according to a preference value configured at the router or learned from another router within the same AS essentially a configuration parameter for the AS

Route Selection 1. Router preference: routes are ranked according to a preference value configured at the router or learned from another router within the same AS essentially a configuration parameter for the AS 2. Shortest AS-PATH

Route Selection 1. Router preference: routes are ranked according to a preference value configured at the router or learned from another router within the same AS essentially a configuration parameter for the AS 2. Shortest AS-PATH 3. Closest NEXT-HOP router

Route Selection 1. Router preference: routes are ranked according to a preference value configured at the router or learned from another router within the same AS essentially a configuration parameter for the AS 2. Shortest AS-PATH 3. Closest NEXT-HOP router 4....