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

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

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

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

PART III. Implementing Inter-Network Relationships with BGP

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

CSCI Topics: Internet Programming Fall 2008

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

Chapter IV: Network Layer

Chapter 4: outline. Network Layer 4-1

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

Chapter 4: Network Layer

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

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

DATA COMMUNICATOIN NETWORKING

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

CSC 4900 Computer Networks: Routing Protocols

Chapter 4: Network Layer, partb

Routing in the Internet

Inter-Domain Routing: BGP

Network layer: Overview. Network layer functions Routing IP Forwarding

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

Internet inter-as routing: BGP

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

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

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

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

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

Computer Networking Introduction

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Inter-Autonomous-System Routing: Border Gateway Protocol

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing Unicast routing protocols

internet technologies and standards

CSc 450/550 Computer Networks Internet Routing

Routing. Jens A Andersson Communication Systems

CNT Computer and Network Security: BGP Security

Master Course Computer Networks IN2097

COMP/ELEC 429 Introduction to Computer Networks

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

CS4700/CS5700 Fundamentals of Computer Networks

Internet Routing : Fundamentals of Computer Networks Bill Nace

Border Gateway Protocol - BGP

Lecture 19: Network Layer Routing in the Internet

Introduction to Communication Networks Spring Unit 16 Global Internetworking

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

IP Addressing & Interdomain Routing. Next Topic

Lecture 17: Border Gateway Protocol

BGP. Autonomous system (AS) BGP version 4

Master Course Computer Networks IN2097

Internet Interconnection Structure

Routing part 2. Electrical and Information Technology

COMP211 Chapter 5 Network Layer: The Control Plane

BGP. Autonomous system (AS) BGP version 4

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

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Lecture 18: Border Gateway Protocol

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

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

Network layer: Overview. Network layer functions Routing IP Forwarding

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

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

BGP. Autonomous system (AS) BGP version 4

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

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

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

Chapter 4 Network Layer

Configuring MPLS L3VPN

CS BGP v4. Fall 2014

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

Configuring BGP. Cisco s BGP Implementation

Lecture 3: Packet Forwarding

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

Chapter 4: Network Layer

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Interplay Between Routing, Forwarding

Configuring MPLS L3VPN

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

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

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Network Layer: Routing

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

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

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

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22)

IPv6 Switching: Provider Edge Router over MPLS

Chapter 5 Network Layer: The Control Plane

Part 1: Introduction. Goal: Review of how the Internet works Overview

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

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

Internet Routing Protocols Lecture 03 Inter-domain Routing

IPv6 Switching: Provider Edge Router over MPLS

HY 335 Φροντιστήριο 8 ο

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

MPLS L3VPN. The MPLS L3VPN model consists of three kinds of devices: PE CE Site 2. Figure 1 Network diagram for MPLS L3VPN model

Routing. Outline. Algorithms Scalability

Transcription:

Routing on the Internet! Hierarchical Routing! Aggregate routers into regions of autonomous systems (AS)! In the beginning there was the ARPANET:! route using GGP (Gateway-to-Gateway Protocol)," a distance vector routing protocol! Routers in same AS run same routing protocol! needed flag-hour to update routing protocol! incompatibility across vendors! each AS uses its own link metric! routers in different ASs can run " different intra-as routing protocol! administrative autonomy:! each network admin can control " routing within its own network! internet: network of networks! allows the Internet to scale:! Gateway/border router! with 200 million hosts, each router " can t store all destinations in its " routing table! route updates alone will swamp the links! NSFNet backbone point of presence (pop) Area hierarchy:! Regional networks Halabi! Customer networks Users Walrand! Merit Networks! direct link to router in other AS(s)! keeps in its routing table:! next hop to other ASs! all hosts within its AS! hosts within an AS only keep a default route to the border router! 3.2 2.1 3.3 1.1 AS3! 3.1 border routers intra-as routing protocol! Solution: hierarchical routing! backbone/core: NSFNet! regional networks: MichNet, BARRNET, Los Nettos, " Cerfnet, JVCNet, NEARNet, etc.! campus networks! AS2! AS1! Problems:! The NSFNet 1989! 2.2 4.1 4.4 4.3 3.4 4.2 AS4! 3.1! dest! 1.*! 2.*! 4.*! 3.2! 3.3! 3.4! next! 1.1! 2.1! 2.1! 3.2! 3.3! 3.4!

Commercialization (1994)! Roughly hierarchical! At center: Tier-1 ISPs! Tier-1 ASs are those who have peering relationship with each of the other Tier-1 ASs, e.g., UUNet, BBN/Genuity, Sprint, AT&T! national/international coverage! peers exchange traffic for free! customers must pay to have their traffic carried! Tier-1 providers also Tier-1 providers interconnect (peer) privately! Walrand! interconnect at public network access points (NAPs)! NAP! Halabi! Tier-1 ISP: e.g., Sprint! Sprint US backbone network! Qwest IP Backbone (Late 1999)!

10! Tier-2 ISPs: Smaller " (Often Regional) ISPs! Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs! Tier-2 ISP pays tier-1 ISP for connectivity to rest of Internet! tier-2 ISP is customer of Tier-1 provider! NAP! Tier-2 ISPs also peer privately with each other, and interconnect at NAPs! Tier-3 ISPs and local ISPs! Last hop ( access ) network (closest to end systems)! Local and tier- 3 ISPs are customers of higher tier ISPs! connecting them to rest of Internet! Tier 3 ISP! NAP!

A Packet Passes " Through Many Networks! Routing is not Symmetric! client! Web request " and TCP ACKs! Tier 3 ISP! NAP! Web response! server! Interconnected ASes! Network Service Provider Internet Service Provider ISP multi-homed AS NAP private peering customerprovider ISP NSP LSA NAP: Network Access Point : Point of Presence UM BGP spoken here ENGIN border router Autonomous Systems: run IGP Walrand! Network Access Points! MAE: Metropolitan Area Exchange! FIX: Federal Internet exchange! CIX: Commercial Internet exchange! Intra-AS Routing algorithm Forwarding table Inter-AS Routing algorithm Forwarding table is configured by both intra- and inter-as routing algorithm! Intra-AS sets entries for internal dests! Inter-AS & Intra-As sets entries for external dests! To learn more about Internet AS state see:! Geoff Huston s CIDR Report" http://www.cidr-report.org/as2.0/! Russ Haynal s ISP page:" http://navigators.com/isp.html! CAIDA skitter maps:" http://www.caida.org/research/topology/as_core_network/as_network.xml! Halabi!

ISP Backbone Links! Categories of links, by inside/outside AS:! backbone links: connect routers inside the backbone! edge links: connect an AS with other Ass! Categorization by commercial relationship:! access links: customers to ISP (can be multi-homed)! peering links: inter-as connections! either direct peering or through NAPS! egress may have multiple peering relationships at " different geographic locations! Categorization by traffic flow:! ingress link! egress link! ingress ingress egress ISP Backbone Traffic! Types of traffic:! internal traffic: between 2 access links! transit traffic: between 2 peering links! inbound traffic: ingress at peering link, egress at access link! outbound traffic: vice versa! An ISP may choose to carry transit traffic! Most traffic on large ISPs (Tier-1 ASs) is transit traffic! Internet inter-as Routing: BGP! Path Attributes & BGP Routes! BGP (Border Gateway Protocol) is the de facto standard for inter-as routing! BGP provides each AS a means to:! obtain subnet (prefix) reachability information from neighboring ASs! propagate the reachability information to all routers internal to the AS! determine good routes to subnets based on reachability information and policy! Inter-AS routing is policy driven, not load-sensitive, generally not QoSbased! When AS2 advertises a prefix to AS1, AS2 is promising AS1 to forward any datagrams destined to that prefix coming from AS1! AS2 can aggregate prefixes in its advertisement! When advertising a prefix, advertisement includes BGP attributes! Two important attributes:! AS-PATH: the path vector of ASs through which the " advertisement for a prefix passed through! NEXT-HOP: the specific internal-as router to next-hop AS " (there may be multiple exits from current AS to next-hop-as)! Sample BGP entry:! destination NEXT-HOP AS-PATH 198.32.163.0/24 202.232.1.8 2497 2914 3582 4600 address range 198.32.163.0/24 is in AS 4600! to get there, send to next hop router, which has address 202.232.1.8! the path there goes through ASs 2497, 2914, 3582, in order

BGP Messages! Pairs of routers (BGP peers) exchange reachability information over semi-permanent TCP connections: BGP sessions! advantage of using TCP: reliable transmission allows for incremental updates! disadvantage: TCP congestion control mechanism slows down route updates that could decongest link!! BGP sessions do not correspond to physical links! BGP messages:! OPEN: opens TCP connection to peer and authenticates sender! UPDATE: advertises a new path (or withdraws an old one)! KEEPALIVE: keeps connection alive in the absence of UPDATEs; " also acknowledges OPEN request! NOTIFICATION: reports errors in previous message; " also used to close connection! BGP Policy Routing! Some ASs are more equal than others! Commercial relationship between ASs:! peering: peers agree to exchange traffic for free! customer-provider: customer pays provider for access! backup! An AS s export policy (which routes it will advertise):! to a customer: all routes! to a peer or service provider: routes to all its own prefix address ranges and to its customers prefixes, not to prefixes learned from other providers or peers! internal routing of an AS is effected by its neighbors route export policy! BGP Policy Tools! BGP Routing Policy Example! An AS may learn about more than one route to some prefix! Each AS applies its own local policies to select route! Import policies: which of the advertised routes I want to use! always check AS-PATH against routing loop! an AS can specify its preferred egress point to reach a specific other AS! Export policies: how to set attributes of routes I advertise! always prepend itself to the AS-PATH! multiple-exit discriminator (MED):! an AS can tell a neighbor its preferred ingress point! cold-potato routing: ingress closest to destination prefix! hot-potato routing: egress (NEXT-HOP) closest to " traffic source (ignore the other guy s MED)! A,B,C are provider networks! X,W,Y are customer (of provider networks)! X is dual-homed: attached to two networks! X does not want to route from B via X to C".. so X will not advertise to B a route to C!

BGP Routing Policy Example! Why Separate Intra- and " Inter-AS Routing?! A advertises to B the path AW! B advertises to X the path BAW! Should B advertise to C the path BAW?! No way! B gets no revenue for routing " CBAW since neither W nor C are B s customers! B wants to force C to route to w via A! B wants to route only to/from its customers!! Policy:! Inter-AS: admin wants control over how its traffic is routed, who routes through its network. Inter-AS routing is policy driven, not load-sensitive, generally not QoS-based! Intra-AS: single admin, so no policy decisions needed! Scale:! hierarchical routing saves table size, reduced update traffic! Performance:! Intra-AS: can focus on performance! Inter-AS: policy may dominate over performance! The Phone Network (for Contrast)! PacificBell AT&T fully connected mesh (old) AT&T:! 135 switches, 2.5 million trunks! fully connected networks! Phone network downtime:! switches: a few mins/year! links: a few hours/year! Ameritech Phone routing:! within central office, connect directly (local call)! between central offices (zones), use 1 hop path! else, send to core (long distance)! core: use 1-hop path first, else try alternate 2-hop paths! The Internet: frequent outages, each lasting from a few minutes to a few days! Communication Networks Taxonomy! Circuit-switched networks POTS Network:! parses number dialed! sets up a circuit between caller and callee! sends signal to ring callee s phone!!! a circuit is set up between the two ends! Strengths:! no end-point intelligence! excellent voice performance! Weaknesses:! difficult to add new services! achieves performance and reliability by overallocating resources (expensive)! Communication networks Packet-switched networks The Internet:! data parceled into packets! each packet carries a destination address! each packet is routed independently! packets can arrive out of order! packets may not arrive at all! Strengths:! intelligence at end points! decentralized control! operates over heterogeneous access techs! Weaknesses:! variable performance, no quality of service! no trusted infrastructure!

Packet-switched Networks: Forwarding! Datagram network:! destination address in packet determines next hop! routes may change during session! analogy: driving, asking directions! Virtual circuit network:! each packet carries tag (virtual circuit ID), tag determines next hop! fixed path determined at call setup time, remains fixed through call! routers maintain per-call state! MultiProtocol Label Switching (MPLS)! Initial goal: speed up IP forwarding by using fixed length label (instead of IP address) to do forwarding! borrowing ideas from Virtual Circuit (VC) approach! but IP datagram still keeps IP address!! MPLS header Label Switching! encapsulate a data packet! put an MPLS header in front of the packet! MPLS header includes a label! label switching between MPLS-capable routers! PPP or Ethernet header MPLS header IP header label Exp S TTL IP packet remainder of link-layer frame 20 3 1 5 MPLS Capable Routers! MPLS Forwarding Tables! A.k.a. label-switched router! Forwards packets to outgoing interface based only on label value (don t inspect IP address)! MPLS forwarding table distinct from IP forwarding tables! Signaling protocol needed to set up forwarding! RSVP-TE! forwarding possible along paths that IP alone would not allow (e.g., source-specific routing)! use MPLS for traffic engineering! must co-exist with IP-only routers! R6 R5 in out out label label dest interface 10 A 0 12 D 0 8 A 1 R4 in out out label label dest interface 1 0 8 6 A 0 R2 R3 0 in out out label label dest interface 10 6 A 1 12 9 D 0 0 1 D in out R1 out label label dest interface 6 - A 0 0 A

Status of MPLS! Deployed in practice! BGP-free backbone/core! Virtual Private Networks! Traffic engineering! Challenges! protocol complexity! configuration complexity! difficulty of collecting measurement data! Continuing evolution! standards! operational practices and tools! BGP-Free Backbone Core! A! B! R1! ibgp! label based on the destination prefix! R2! R3! ebgp! R4! C! D! 12.1.1.0/24! Routers R2 and R3 don t need to speak BGP! VPNs With Private Addresses! 10.1.0.0/24! A! B! 10.1.0.0/24! R1! direct traffic! to orange! R2! R3! R4! 10.1.0.0/24! C! two labels! D! 10.1.0.0/24! MPLS tags can differentiate pink VPN from orange VPN!