Routing(2) Inter-domain Routing

Similar documents
Routing(2) Inter-domain Routing

Routing(2) Inter-domain Routing

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

Youki Kadobayashi NAIST

Internet Routing Protocols Tuba Saltürk

ROUTING PROTOCOLS. Mario Baldi Routing - 1. see page 2

Inter-domain Routing. Outline. Border Gateway Protocol

Topology. Youki Kadobayashi NAIST. Outline. Routing system: its function. Gateway Model Revisited. Routing system: its structure

Why dynamic route? (1)

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

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

Planning for Information Network

Routing in the Internet

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

Youki Kadobayashi NAIST

IP Addressing & Interdomain Routing. Next Topic

Chapter 7: Routing Dynamically. Routing & Switching

Youki Kadobayashi NAIST

Inter-Domain Routing: BGP

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

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

CSE/EE 461 Lecture 11. Inter-domain Routing. This Lecture. Structure of the Internet. Focus How do we make routing scale?

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

CSc 450/550 Computer Networks Internet Routing

Open Shortest Path First (OSPF)

CS BGP v4. Fall 2014

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

IETF RFCs Supported by Cisco NX-OS Unicast Features Release 6.x

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

Ravi Chandra cisco Systems Cisco Systems Confidential

COM-208: Computer Networks - Homework 6

Computer Networking Introduction

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Introduction to routing

COMP/ELEC 429 Introduction to Computer Networks

Basic Idea. Routing. Example. Routing by the Network

Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

CS4700/CS5700 Fundamentals of Computer Networks

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3

Routing by the Network

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

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

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

Routing Basics ISP/IXP Workshops

Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007.

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

Campus Networking Workshop CIS 399. Core Network Design

ICS 351: Today's plan. OSPF BGP Routing in general

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

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

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

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Module 8. Routing. Version 2 ECE, IIT Kharagpur

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

Youki Kadobayashi NAIST

COMPSCI 314: IP routing

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

Lecture 12. Introduction to IP Routing. Why introduction? Routing

Routing Protocols. Technology Description BGP CHAPTER

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

Routing. Basic principles. Karst Koymans. Informatics Institute University of Amsterdam. (version 16.4, 2017/02/23 10:58:58)

Routing Protocols. Autonomous System (AS)

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

Routing & Protocols 1

Internet Routing Protocols Lecture 01 & 02

Border Gateway Protocol

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Routing. Jens A Andersson Communication Systems

Network Layer, Part 2 Routing. Terminology

Computer Networks II IPv4 routing

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Routing Basics ISP/IXP Workshops

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Routing. Advanced Computer Networks: Routing 1

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

Unit 3: Dynamic Routing

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

CSCD 433/533 Advanced Networks Spring 2016

Inter-Domain Routing: BGP

Inter-Autonomous-System Routing: Border Gateway Protocol

Chapter 4: outline. Network Layer 4-1

Network Layer: Routing

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

CS321: Computer Networks Unicast Routing

IP Routing Tecnologie e Protocolli per Internet II rev 1

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

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

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

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP

BTEC Level 3 Extended Diploma

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

Introduction to IP Routing. Geoff Huston

Introduction to OSPF

Routing Overview for Firepower Threat Defense

Professor Yashar Ganjali Department of Computer Science University of Toronto.

ETSF10 Internet Protocols Routing on the Internet

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

Routing, Routing Algorithms & Protocols

Architectures and Protocols for Integrated Networks. Intra-domain and Inter-domain Routing Protocols

Transcription:

Routing(2) Inter-domain Routing Information Network I Youki Kadobayashi 1 Outline! Continued from previous lecture on:! Distance vector routing! Link state routing! IGP and EGP Interior gateway protocol, Exterior gateway protocol! Path vector routing! BGP: Border Gateway Protocol! Scaling tricks 2

Hierarchical Routing: a natural result of growth! Routing domain! Defines the boundary between domains! Fault isolation, route aggregation! Distinction between intra-domain routing protocol and inter-domain routing protocol! IGP (Interior Gateway Protocol)! EGP (Exterior Gateway Protocol) IGP IGP IGP EGP 3 Hierarchical Routing: in reality it is two-tier routing EGP It s like: train network plus airline network IGP IGP 4

IGP and EGP has different goal! IGP! Focus on propagating the state of each link/router as fast as possible! RIP-2, RIPng: distance vector routing! OSPF, IS-IS: link state routing! EGP! Focus on routing stability of the entire Internet! BGP4, BGP4+: path vector routing 5 Path Vector Routing: a small trick for stable routing! Derived from the Bellman-Ford algorithm! Exchanged information: Distance Vector Path Vector (prefix, metric) (prefix, path, attributes)! Attaches distance as well as path information to the route information Embodies routing without loops This protocol prioritizes route that has the shortest path vector. T 1 Representing route from S to D S (D, { T 1, T 2 },...) T (D, { T 3 3, T 4, T 5 },...) T 4 T 2 T 5 D 6

Path Vector Routing: Background! Multiple alternative routes! Dense connections between ISPs S! Which route should we prioritize? constrained by cost, contract, load, etc.! Routing policy! Encodes the intention of the intermediate ISPs! Route selection policies enable each domain to select a particular route among multiple routes Policy can t be expressed by scalar cost.! Cost of loops! Convergence time from transient state RTT T 1 T 2 T 3 D 7 Loop Avoidance in Path Vector Routing A B C D Path vectors from A to C (C, { B }) (C, { D, B }) When B-C link fails, B is deleted from path vector. Rejects path vector that include itself Loop avoidance 8

BGP: Border Gateway Protocol RFC 4271, 4760! Algorithm Path vector! Transport TCP TCP provides retransmission and acknowledgement! Adjacency: manually configured (i.e., no auto discovery)! Routing information: (prefix, path, attributes)! Topology: full mesh (internal), arbitrary (external) 9 Adjacency Relationship of BGP! Adjacency relationship is defined by ISP operator! Adjacency relationship must be explicitly configured! Why?! c.f. OSPF : if parameters match, adjacency relationship is enabled... R1 R2... R3 R4 10

Representing Path Vector in BGP! AS (Autonomous System) is represented as an AS number AS: routing domain that is operated by single policy! BGP concisely encodes (prefix, AS-path, attributes) (AS-path, attributes, { prefix1, prefix2,... } )! Reduction of traffic 11 Example of Path Vector in BGP Try it yourself w/ looking glass 12

Hands on: see how BGP works! (optional hands on with BGP) 13 Q&A 14

Reducing routing information 15 Route Reduction: Default route! 0.0.0.0/0 (IPv4), ::0/0 (IPv6)! Longest prefix match matches in the end of route search! Results in hiding of routes and reduction of the number of routes R2 Transit AS Stub AS R1 prefix ::0/0 next-hop R1 16

When and where routes can t be reduced?! Default-free! No default route! Tier-1 ISPs, North American backbone ( www.uu.net (source: old UUNet network maps, 17 Aggregation! 163.221.10.0/24 and 163.221.11.0/24 are aggregated into 163.221.10.0/23 163.221.64/18 163.221.0/18 163.221.128/18 163.221.192/18 18

Route Aggregation at Domain Edge! Routes are aggregated at the edge of the routing domain. OSPF backbone 163.221.10.0 163.221.52.0 163.221.56.0 OSPF area 1 R1 163.221.0/18 via R1 (Summary LSA) 19 Hierarchical Aggregation of Routes OSPF areas 163.221.10.0 R1 OSPF 163.221.52.0 backbone 163.221.56.0 OSPF backbone BR 163.221.0/18 via R1 (Summary LSA) 163.221.0/16 via BR (BGP advertisement) 20

Challenges in Route Aggregation! Route aggregation depends on address assignment Planned address assignment is important for route aggregation! Can we predict the extent of future growth of NAIST? Can we predict future growth of an ISP?! Prefix renumbering Renumber to aggregatable addresses Provide operational means to unanticipated changes Technology under development! Manual operation is necessary for route aggregation Internet full-route : 250,000 BGP table growth trends - Telstra 21 Q&A 22

Summary! Hierarchical routing concepts! IGP, EGP! Path Vector Routing! Loop-free, policy-aware! BGP! State transition, route information and topology! Limitation of policy-based routing! Scaling trick: Route aggregation! Aggregation concepts, challenges 23