Lecture 15: Measurement Studies on Internet Routing

Similar documents
Why dynamic route? (1)

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

Network Layer: DHCP, ICMP, NAT, IPv6

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

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

Lecture 19: Network Layer Routing in the Internet

Internet Routing Dynamics

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

EE 122: Intra-domain routing

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

A Deployable Framework for Providing Better Than Best-Effort Quality of Service for Traffic Flows

Routing(2) Inter-domain Routing

Chapter 12. Routing and Routing Protocols 12-1

Traffic: Monitoring, Estimation, and Engineering. Nick Feamster CS 7260 February 14, 2007

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Routing in the Internet

CS644 Advanced Networks

Course Routing Classification Properties Routing Protocols 1/39

CS 268: Lecture 9 Inter-domain Routing Protocol

CSc 450/550 Computer Networks Internet Routing

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

Introduction to IP Routing. Geoff Huston

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

Network Layer: Routing

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

Module 8. Routing. Version 2 ECE, IIT Kharagpur

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

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

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

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

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

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

Routing. Outline. Algorithms Scalability

CSC 4900 Computer Networks: Routing Protocols

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

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

CS BGP v4. Fall 2014

Network Layer, Part 2 Routing. Terminology

Inter-Domain Routing: BGP

Internet Routing : Fundamentals of Computer Networks Bill Nace

Routing Unicast routing protocols

Basic Idea. Routing. Example. Routing by the Network

Routing(2) Inter-domain Routing

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

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Christos Papadopoulos

Routing by the Network

Routing Protocols. Autonomous System (AS)

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

cs/ee 143 Communication Networks

ETSF05/ETSF10 Internet Protocols Routing on the Internet

C13b: Routing Problem and Algorithms

Inter-Domain Routing: BGP

Routing Basics. What is Routing? Routing Components. Path Determination CHAPTER

Link State Routing & Inter-Domain Routing

Inter-domain Routing. Outline. Border Gateway Protocol

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Topics for This Week

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

Routing. Jens A Andersson Communication Systems

UNIT IV -- TRANSPORT LAYER

Interdomain Routing (plus Transport Wrapup) Tom Anderson

Computer Networking Introduction

Routing, Routing Algorithms & Protocols

CS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved.

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

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

CS118 Discussion Week 7. Taqi

Examination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk SOLUTIONS

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

BTEC Level 3 Extended Diploma

ITEC310 Computer Networks II

Table of Contents. Cisco Introduction to EIGRP

Chapter 4: outline. Network Layer 4-1

Chapter 09 Network Protocols

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

Routing Protocols --- Exterior Gateway Protocol

EXAM TCP/IP NETWORKING Duration: 3 hours

CSE/EE 461 Lecture 16 TCP Congestion Control. TCP Congestion Control

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

Routing Strategies. Fixed Routing. Fixed Flooding Random Adaptive

cs/ee 143 Communication Networks

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

Chapter 4: Network Layer

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

Dynamics of Hot-Potato Routing in IP Networks

Routing in packet-switching networks

How does a router know where to send a packet next?

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1

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

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

Lecture 4 Wide Area Networks - Routing

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

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

Chapter 4: Network Layer, partb

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

ECE 428 Internet Protocols (Network Layer: Layer 3)

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

Transcription:

Internet Routing Lecture 15: Measurement Studies on Internet Routing Lakshminarayanan Subramanian CS 268 class March 10 th, 2004 Internet organized as a two level hierarchy First level autonomous systems (AS s) - AS region of network under a single administrative domain AS s run an intra-domain routing protocols - Distance Vector, e.g., RIP - Link State, e.g., OSPF Between AS s runs inter-domain routing protocols, e.g., Border Gateway Routing (BGP) - De facto standard today, BGP-4 istoica@cs.berkeley.edu 2 Example Intra-domain Routing Protocols Interior router BGP router Based on unreliable datagram delivery Distance vector AS-1 AS-2 AS-3 - Routing Information Protocol (RIP), based on Bellman-Ford - Each router periodically exchange reachability information to its neighbors - Minimal communication overhead, but it takes long to converge, i.e., in proportion to the maximum path length Link state - Open Shortest Path First Protocol (OSPF), based on Dijkstra - Each router periodically floods immediate reachability information to other routers - Fast convergence, but high communication and computation overhead istoica@cs.berkeley.edu 3 istoica@cs.berkeley.edu 4 Inter-domain Routing End-to-End Routing Behavior in the Internet [Paxson 95] Use TCP Border Gateway Protocol (BGP), based on Bellman-Ford path vector AS s exchange reachability information through their BGP routers, only when routes change BGP routing information a sequence of AS s indicating the path traversed by a route; next hop General operations of a BGP router: - Learns multiple paths - Picks best path according to its AS policies - Install best pick in IP forwarding tables Idea: use end-to-end measurements to determine - Route pathologies - Route stability - Route symmetry istoica@cs.berkeley.edu 5 istoica@cs.berkeley.edu 6 1

Run Network Probes Daemon (NPD) on a large number of Internet sites Each NPD site periodically measure the route to another NPD site, by using Two sets of experiments D 1 measure each virtual path between two NPD s with a mean interval of 1-2 days, Nov-Dec 1994 D 2 measure each virtual path using a bimodal distribution inter-measurement interval, Nov-Dec 1995-60% with mean of 2 hours - 40% with mean of 2.75 days Measurements in D 2 were paired - Measure A B and then B A istoica@cs.berkeley.edu 7 istoica@cs.berkeley.edu 8 Traceroute Example sky.cs.berkeley.edu whistler.cmcl.cs.cmu.edu traceroute to whistler.cmcl.cs.cmu.edu (128.2.181.87), 30 hops max, 38 byte packets 1 snr45 (128.32.45.1) 0.570 ms 0.434 ms 0.415 ms 2 gig10-cnr1.eecs.berkeley.edu (169.229.3.65) 0.506 ms 0.513 ms 0.434 ms 3 gige5-0-0.inr-210-cory.berkeley.edu (169.229.1.45) 0.726 ms 0.570 ms 0.553 ms 4 fast1-0-0.inr-001-eva.berkeley.edu (128.32.0.1) 1.357 ms 0.998 ms 1.020 ms 5 pos0-0.inr-000-eva.berkeley.edu (128.32.0.65) 1.459 ms 2.371 ms 1.600 ms 6 pos3-0.c2-berk-gsr.berkeley.edu (128.32.0.90) 3.103 ms 1.406 ms 1.575 ms 7 SUNV--BERK.POS.calren2.net (198.32.249.14) 3.005 ms 3.085 ms 2.407 ms 8 abilene--qsv.pos.calren2.net (198.32.249.62) 6.112 ms 6.834 ms 6.218 ms 9 dnvr-scrm.abilene.ucaid.edu (198.32.8.2) 34.213 ms 27.145 ms 27.368 ms 10 kscy-dnvr.abilene.ucaid.edu (198.32.8.14) 38.403 ms 38.121 ms 38.514 ms 11 ipls-kscy.abilene.ucaid.edu (198.32.8.6) 47.855 ms 47.558 ms 47.649 ms 12 clev-ipls.abilene.ucaid.edu (198.32.8.26) 54.037 ms 53.849 ms 53.492 ms 13 abilene.psc.net (192.88.115.122) 57.109 ms 56.706 ms 57.343 ms 14 cmu.psc.net (198.32.224.36) 58.794 ms 58.237 ms 58.491 ms 15 CS-VLAN255.GW.CMU.NET (128.2.255.209) 58.072 ms 58.496 ms 57.747 ms 16 WHISTLER.CMCL.CS.CMU.EDU (128.2.181.87) 57.715 ms 57.932 ms 57.557 ms Links traversed during D 1 and D 2 istoica@cs.berkeley.edu 9 istoica@cs.berkeley.edu 10 Limitations Exponential sampling - Unbiased sampling measures instantaneous signal with equal probability - PASTA principle Poisson Arrivals See Time Averages Is data representative? - Argue that sampled AS s are on half of the Internet routes Confidence intervals for probability that an event occurs Just a small subset of Internet paths Just two points at a time Difficult to say why something happened 5%-8% of time couldn t connect to NPD s Introduces bias toward underestimation of the prevalence of network problems istoica@cs.berkeley.edu 11 istoica@cs.berkeley.edu 12 2

Routing Pathologies Routing Loops & Erroneous Routing Persistent routing loops Temporary routing loops Erroneous routing Connectivity altered mid-stream Temporary outages (> 30 sec) Persistent routing loops (10 in D 1 and 50 in D 2 ) - Several hours long (e.g., > 10 hours) - Largest: 5 routers - All loops intra-domain Transient routing loops (2 in D 1 and 24 in D 2 ) - Several seconds - Usually occur after outages Erroneous routing (one in D 1 ) - A route UK USA goes through Israel Question: Why do routing loops occur even today? istoica@cs.berkeley.edu 13 istoica@cs.berkeley.edu 14 Route Changes Example of Route Fluttering Connectivity change in mid-stream (10 in D 1 and 155 in D 2 ) - Route changes during measurements - Recovering bimodal: (1) 100 s msec to seconds; (2) order of minutes Route fluttering - Rapid route oscillation istoica@cs.berkeley.edu 15 istoica@cs.berkeley.edu 16 Problems with Fluttering Infrastructure Failures Path properties difficult to predict - This confuses RTT estimation in TCP, may trigger false retransmission timeouts Packet reordering - TCP receiver generates DUPACK s, may trigger spurious fast retransmits These problems are bad only for a large scale flutter; for localized flutter is usually ok NPD s unreachable due to many hops (6 in D 2 ) - Unreachable more than 30 hops - Path length not necessary correlated with distance 1500 km end-to-end route of 3 hops 3 km (MIT Harvard) end-to-end route of 11 hops Question: Does 3 hops actually mean 3 physical links? Temporary outages - Multiple probes lost. Most likely due to: Heavy congestions lasting 10 s of seconds Temporary lost of connectivity istoica@cs.berkeley.edu 17 istoica@cs.berkeley.edu 18 3

Distribution of Long Outages (> 30 sec) Pathology Summary Geometric distribution istoica@cs.berkeley.edu 19 istoica@cs.berkeley.edu 20 Routing Stability Route Prevalence Prevalence: likelihood to observe a particular route - Steady state probability that a virtual path at an arbitrary point in time uses a particular route - Conclusion: In general Internet paths are strongly dominated by a single route Persistence: how long a route remains unchanged - Affects utility of storing state in routers - Conclusion: routing changes occur over a wide range of time scales, i.e., from minutes to days I istoica@cs.berkeley.edu 21 istoica@cs.berkeley.edu 22 Route Persistence Route Symmetry 30% of the paths in D 1 and 50% in D 2 visited different cities 30% of the paths in D 2 visited different AS s Problems: - Break assumption that one-way latency is RTT/2 istoica@cs.berkeley.edu 23 istoica@cs.berkeley.edu 24 4

Summary of Paxson s Findings End-to-end effects of Path Selection Pathologies doubled during 1995 Asymmetries nearly doubled during 1995 Paths heavily dominated by a single route Over 2/3 of Internet paths are reasonable stable (> days). The other 1/3 varies over many time scales Goal of study: Quantify and understand the impact of path selection on end-to-end performance Basic metric - Let X = performance of default path - Let Y = performance of best path - Y-X = cost of using default path Technical issues - How to find the best path? - How to measure the best path? istoica@cs.berkeley.edu 25 istoica@cs.berkeley.edu 26 Approximating the best path Key Idea - Use end-to-end measurements to extrapolate potential alternate paths Rough Approach - Measure paths between pairs of hosts - Generate synthetic topology full NxN mesh - Conservative approximation of best path Question: Given a selection of N hosts, how crude is this approximation? For each pair of end-hosts, calculate: - Average round-trip time - Average loss rate - Average bandwidth Generate synthetic alternate paths (based on long-term averages) For each pair of hosts,graph difference between default path and alternate path istoica@cs.berkeley.edu 27 istoica@cs.berkeley.edu 28! " # istoica@cs.berkeley.edu 29 istoica@cs.berkeley.edu 30 5

! " #! " # istoica@cs.berkeley.edu 31 istoica@cs.berkeley.edu 32 Quick Summary of Results Why Path Selection is imperfect? The default path is usually not the best - True for latency, loss rate and bandwidth - Inspite of synthetic end-host transiting Many alternate paths are much better Effect stronger during peak hours This paper motivates overlay routing - Resilient Overlay Networks [Andersen01] Question: What about herd mentality? Technical Reasons - Single path routing - Non-topological route aggregation - Coarse routing metrics (AS_PATH) - Local policy decisions Economic Reasons - Disincentive to offer transit - Minimal incentive to optimize transit traffic Question: Enumerate others? istoica@cs.berkeley.edu 33 istoica@cs.berkeley.edu 34 Concluding remarks [Paxson] Internet routing can have several problems due to loops, route fluttering, long outages. [Savage] Internet routing protocols are not welltuned for choosing performance optimal paths. Where does this lead us to? - Possibility 1: Try to redesign a better protocol to fix the problem Will such an approach ever work? - Possibility 2: Use overlay networks to route around them [RON] - Possibility 3: Reliability is important, but is optimal performance needed? Probably not. istoica@cs.berkeley.edu 35 6