Routing(2) Inter-domain Routing

Similar documents
Routing(2) Inter-domain Routing

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

Routing(2) Inter-domain Routing

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

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

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

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

Inter-Domain Routing: BGP

Internet Routing Protocols Tuba Saltürk

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

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

COM-208: Computer Networks - Homework 6

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

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

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

Inter-domain Routing. Outline. Border Gateway Protocol

Inter-Autonomous-System Routing: Border Gateway Protocol

CSc 450/550 Computer Networks Internet Routing

Routing in the Internet

Inter-Autonomous-System Routing: Border Gateway Protocol

Youki Kadobayashi NAIST

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

Routing Protocols. Technology Description BGP CHAPTER

Computer Networking Introduction

Youki Kadobayashi NAIST

internet technologies and standards

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

Symbols. Numerics I N D E X

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

CS321: Computer Networks Unicast Routing

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

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

Why dynamic route? (1)

IP Addressing & Interdomain Routing. Next Topic

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

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

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

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

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

CS BGP v4. Fall 2014

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

Border Gateway Protocol

COMP/ELEC 429 Introduction to Computer Networks

Chapter 4: Network Layer

Ravi Chandra cisco Systems Cisco Systems Confidential

CS4700/CS5700 Fundamentals of Computer Networks

Unit 3: Dynamic Routing

Internet Routing Protocols Lecture 01 & 02

PART III. Implementing Inter-Network Relationships with BGP

Inter-Domain Routing: BGP

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

Youki Kadobayashi NAIST

Master Course Computer Networks IN2097

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

Youki Kadobayashi NAIST

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

ETSF10 Internet Protocols Routing on the Internet

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

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

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

Routing Protocols. Autonomous System (AS)

Chapter IV: Network Layer

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

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

CSCI Topics: Internet Programming Fall 2008

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

Introduction to Computer Networks

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

Lecture 19: Network Layer Routing in the Internet

Planning for Information Network

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

TELE 301 Network Management

Chapter 4: Network Layer, partb

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

Introduction to IP Routing. Geoff Huston

Internet inter-as routing: BGP

Network Layer, Part 2 Routing. Terminology

Basic Idea. Routing. Example. Routing by the Network

Network Layer: Routing

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

DATA COMMUNICATOIN NETWORKING

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

Routing by the Network

Routing Basics ISP/IXP Workshops

Chapter 7: Routing Dynamically. Routing & Switching

Border Gateway Protocol - BGP

Internet Interconnection Structure

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

Interdomain Routing. Networked Systems (H) Lecture 11

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

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

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

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

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

Internet Routing Basics

COMPSCI 314: IP routing

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Transcription:

Routing(2) Inter-domain Routing Information Network I Youki Kadobayashi 1

Outline! Distance vector routing! Link state routing! IGP and EGP Intra-domain routing protocol, inter-domain routing protocol! Path vector routing! BGP: Border Gateway Protocol! Scaling trick: Route aggregation 2

Hierarchical Routing! 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: two-tier routing EGP IGP IGP 4

Hierarchical Routing IGP and EGP! 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! 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. Representing route from S to D (D, { T 1, T 2 },...) (D, { T 3, T 4, T 5 },...) S T 1 T 3 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

Q&A 9

BGP Border Gateway Protocol 10

BGP: Border Gateway Protocol! Algorithm Path vector! Transport TCP TCP provides retransmission and acknowledgement RFC 4271, 4760! Adjacency relationship and state transition! Routing information! Topology 11

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 12

State Transition of BGP: Establishment of Adjacency Relationship OPEN Idle Connect OpenSent OPEN Active OpenConfirm KEEPALIVE and NOTIFICATION are omitted Established 13

BGP: Border Gateway Protocol! Algorithm! Transport! Adjacency relationship and state transition! Route information! efficient path vector expression! Topology 14

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 15

Example of Path Vector in BGP Try it yourself w/ looking glass 16

Q&A 17

BGP: Border Gateway Protocol! Algorithm! Transport! Adjacency relationship and state transition! Route information! Topology 18

Topology of BGP IBGP and EBGP IBGP EBGP IBGP AS2500 peer AS290 19

Topology Constraints in IBGP and EBGP! IBGP! must establish peering between all IBGP routers in the same AS.! doesn t need physical adjacency.! All IBGP routers have same routing information.! EBGP! establishes peering with other ASes! requires physical adjacency in principle! Routers don t share the same route information with adjacent ASes. 20

Q&A 21

Policies in BGP! Routing policy! Encode policies of transit providers! Express route selection policy among alternative routes! Policies transmitted to other providers! MED! Policies within IBGP! Local preference, admin distance, route map, etc.

Limitation of policy in BGP: dispute wheel Rectangle denotes ordered list of path preferences Can we reach D? N. Feamster et al., Implications of Autonomy for the Expressiveness of Policy Routing, SIGCOMM 05.

Reduction and aggregation of routes 24

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 25

When and where routes can t be reduced?! Default-free! No default route! Tier-1 ISPs, North American backbone ( www.uu.net (source: UUNet network maps, 26

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 27

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) 28

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) 29

Problems in Route Aggregation! Route aggregation depends on address assignment. Planned address assignment is important for route aggregation.! Can we make predictions of the future number of departments of NAIST? Can we make predictions of the growth of an ISP?! -> prefix renumbering renumbering to aggregatable addresses development of technology! Manual operation is necessary for route aggregation internet full-route : 250,000 BGP table growth trends - Telstra 30

Q&A 31

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 32

Assignment! Goal: to allow you to have a practical understanding on how BGP and OSPF work.

Assignment! To do:! Download the provided Packet Tracer file from the link below: http://iplab.naist.jp/class/infon/2012/materials/bgp-ospf.pkt! Configure BGP as indicated on the figure! Configure OSFP as indicated on the figure Hint: configure first the AREA 0 The basic configuration (e.g., IP addresses) is already done.

Assignment! Submission:! May 16, 2012 (Wed) at 17:00 JST! Label the packet tracer file as follow BGP-OSPF_YourNameYourStudentID (e.g., BGP-OSPF_DoudouFall1234567.pkt) and send it to: network1-2012 _at_ is.naist.jp! For questions and concerns about the assignment, you may contact the TAs by email (network1-2012 _at_ is.naist.jp) or meet them in A307 Internet Engineering Laboratory