Internet Measurements. Motivation

Similar documents
CS BGP v4. Fall 2014

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

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

Inferring Autonomous System Relationships in the Internet. Outline

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

CS 268: Computer Networking. Next Lecture: Interdomain Routing

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

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

PoP Level Mapping And Peering Deals

Inter-Domain Routing: BGP II

Introduction to IP Routing. Geoff Huston

BGP Routing inside an AS

Achieving scale: Large scale active measurements from PlanetLab

Inter-Domain Routing: BGP II

Inferring Link Weights using End-to-End Measurements

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

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

Dynamics of Hot-Potato Routing in IP Networks

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

Inferring Autonomous System Relationships in the Internet. Lixin Gao

Inter-Autonomous-System Routing: Border Gateway Protocol

Inter-Domain Routing: BGP

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing in the Internet

Lecture 19: Network Layer Routing in the Internet

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks.

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

Lecture 18: Border Gateway Protocol

TELE 301 Network Management

IP Addressing & Interdomain Routing. Next Topic

Lecture 17: Border Gateway Protocol

Master Course Computer Networks IN2097

Routing Basics ISP/IXP Workshops

Why dynamic route? (1)

CSE 561 Lecture 6, Spring David Wetherall

AS Connectedness Based on Multiple Vantage Points and the Resulting Topologies

BGP Attributes and Path Selection

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

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

BGP. Autonomous system (AS) BGP version 4

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

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

COM-208: Computer Networks - Homework 6

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

BGP. Autonomous system (AS) BGP version 4

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Professor Yashar Ganjali Department of Computer Science University of Toronto.

BGP. Autonomous system (AS) BGP version 4

Communication Networks

15-744: Computer Networking BGP

BGP and inter-as economic relationships

Routing Basics ISP/IXP Workshops

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

Inter-Domain Routing: BGP

BGP made easy. John van Oppen Spectrum Networks / AS11404

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

Routing(2) Inter-domain Routing

Link State Routing & Inter-Domain Routing

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version

Ravi Chandra cisco Systems Cisco Systems Confidential

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

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

IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 9, NO. 6, DECEMBER On Inferring Autonomous System Relationships in the Internet

DailyCatch: A Provider-centric View of Anycast Behaviour

Lecture 13: Traffic Engineering

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

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

Some Foundational Problems in Interdomain Routing

Routing(2) Inter-domain Routing

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

Real-time Blackhole Analysis with Hubble

Routing(2) Inter-domain Routing

Network Security - ISA 656 Routing Security

Inter-domain Routing. Outline. Border Gateway Protocol

Border Gateway Protocol

Multihoming Complex Cases & Caveats

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

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

AS Router Connectedness Based on Multiple Vantage Points and the Resulting Topologies

CSCI Topics: Internet Programming Fall 2008

Packet Caches on Routers: The Implications of Universal Redundant Traffic Elimination

CSE 473 Introduction to Computer Networks. Final Exam. Your Name: 12/17/2014 PLEASE WRITE LEGIBLY NO POINTS FOR ILLEGIBLE ANSWERS

GUI Representation of Cisco IOS CLI Commands

Introduction to Segment Routing

Steven M. Bellovin AT&T Labs Research Florham Park, NJ 07932

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Inter-Domain Routing: BGP

Network Layer, Part 2 Routing. Terminology

Lecture 16: Border Gateway Protocol

CSc 450/550 Computer Networks Internet Routing

CSE 1 23: Computer Networks

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

Routing Overview for Firepower Threat Defense

Organization of Product Documentation... xi

Computer Sciences Department

Master Course Computer Networks IN2097

The Interconnection Structure of. The Internet. EECC694 - Shaaban

CSE 473 Introduction to Computer Networks. Final Exam Review

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

Transcription:

Internet Measurements Arvind Krishnamurthy Fall 2004 Motivation Types of measurements Understand the topology of the Internet Measure performance characteristics Tools: BGP Tables Traceroute measurements Probes for latency, bandwidth and loss-rate 1

Economics of the Internet ISP P Transit ($$$) Transit ($$$) Transit ($) ISP X Peering Transit ($$) Transit ($$$) Peering ISP Z ISP Y Transit ($) Transit ($$) Transit relationship: C1 C2 C3 C4 Reveal customers to everyone Reveal all known paths to customers ISP Y will advertise paths to C2 and C3 Peering Relationships ISP P Transit ($$$) Transit ($$$) Transit ($) ISP X Peering Transit ($$) Transit ($$$) Peering ISP Z ISP Y Transit ($) Transit ($$) ISP Y peers with ISP Z Y informs Z of C2 and C3 Z informs Y of C4 C1 C2 C3 C4 2

Peering Relationships ISP P Transit ($$$) Transit ($$$) Transit ($) ISP X Peering Transit ($$) Transit ($$$) Peering ISP Z ISP Y Transit ($) Transit ($$) C1 C2 C3 C4 ISP Y peers with ISP X Y informs X of C2 and C3 X informs Y of C1 Y does not tell X of the path to C4 Y needs to have transit relationship with P to route to C4 Multi-Exit Discriminator C has a transit relationship with P C needs to send a packet into P s domain Packet origin: Boston, packet destination: SF It has two choices: transit into P earlier (near Boston) or transit later (near SF) Prefer early transit 3

Routing Preferences In general, customer > peer > provider Use LOCAL PREF to ensure this Routing through customer and peer could lower latency and lower traffic costs Processing order of path attributes: Select route with highest LOCAL-PREF Select route with shortest AS-PATH For routes learned from same neighbor: Apply multi-exit discriminator Routing algorithms for the internet Link state or distance vector? Problems with link state: LS database too large entire Internet Metric used by routers not the same May expose policies to other AS s Can we use distance-vector algorithms for policy routing? 4

Distance Vector with Path Each routing update carries the entire path Loops are detected as follows: When AS gets route check if AS already in path If yes, reject route If no, add self and (possibly) advertise route further Advantage: Metrics are local - AS chooses path, protocol ensures no loops Hop-by-hop Model BGP advertises to neighbors only those routes that it uses Consistent with the hop-by-hop Internet paradigm e.g., AS1 cannot tell AS2 to route to other AS s in a manner different than what AS2 has chosen (need source routing for that) 5

Terminology Each POP is a physical location where the ISP houses a collection of routers. The ISP backbone connects these POPs, and the routers attached to inter-pop links are called backbone or core routers. Within every POP, access routers provide an intermediate layer between the ISP backbone and routers in neighboring networks. 6

Points of Presence and Backbone Rocketfuel Methodology ISPs release helpful information: BGP - which prefixes are served Traceroute - what the paths are DNS - where routers are and what they do Build detailed maps: Backbone POPs Peering links 7

Traceroutes Publicly available traceroute servers Challenge: To build accurate ISP maps using few measurements Brute Force Method 784 vantage points to 120,000 allocated prefixes in BGP table Queried every 1.5 minutes: 125 days to complete a map. Take all paths and use portions of the paths to determine structure of target AS Directed probing Capitalize on BGP routing information Identify traceroutes which transit the ISP network Goal: map AS 7 Need to consider only those paths that go through AS 7 1) Probes to dependent prefixes traverse AS 7 Dependent Prefixes: 4.5.0.0/16 2) Probes from insiders to outside in dependent prefixes 3) Up/down traces: AS 11 to 1.2.3.0/24 8

Path Reductions T1 Paths and to T2 P1 enter and the P2 leave ISP at the ISP same at the point same on the point way to the same destination Ingress Reduction Egress Reduction Next-hop AS Reduction Reduction Effectiveness Brute force : 90-150 million traceroutes required BGP directed probes : 0.2-15 million traceroutes required Executed after path reduction : 8-300 thousand traceroutes required 9

Location and Role Discovery Where is this router located? use DNS names S1-bb11-nyc-3-0.sprintlink.net is a Sprint router in New York City use connectivity information if a router connects only to routers in Seatles, it is in Seattle What role does this router play in the topology? only backbone routers connect to other cities use DNS names s1-gw2-sea-3-1.sprintlink.net is a Sprint gateway router Alias resolution problem 10

AT & T Sprint 11

Level 3 Internet Measurements Now we have router-level topology in an ISP More information: link weights? Connectivity is not enough to derive best path Link weights in an ISP is not public Inferring link weights provides a simple, concise, and useful model of intra-domain routing. Common routing protocols choose least-cost paths using link weights It extends router-level ISP maps Includes connectivity Link weights consistent with routing 12

Problem Formulation Input Network topology Routing as a set of chosen paths (lowest weight) Output: Assign weights for each link, so that shortest paths match chosen paths Not a unique solution Scaling all weights with same factor Changing the weight of a link within bounds Two key observations Basic Solution Chosen path has less weight than any other path between two nodes If multiple chosen paths exist, they have equal weight 13

Basic solution Chosen paths between A-G ADG and ABEG Similar constraints for chosen paths between all other nodepairs Linear programming Shortcomings? Reduce Constraints Chosen Paths: S-M-N-D, S-A-I, I-B-D Weight Constrains SMND < SAI + IBD SAI < SXI IBD < IYD X S SMND < SXI + IYD will be redundant All alternative paths from S to D through I, except path SAIBD A M I N B Y D Actual number of constraints is much lower than n 3 14

Shortcomings In Measurement Data Two shortcomings from using traceroute measurements Some paths might not be shortest path due to transient events (e.g. failures) Not all chosen paths can be observed Approach to resolve the first shortcoming To associate error variables with constraints Associate with error variables for observed paths 1. W ad + W dg -e adg = W ab + W be + W eg -e abeg 2. W ad + W dg -e adg < W ac + W cg Similar constraints for all node-pairs Using the simplex algorithm to solve the constraint system Minimize the weighted sum of the error variables 15

Approach to resolve the second shortcoming Pair-wise Completeness The fraction of vertex-pairs between which at least one path was observed Two techniques to improve pair-wise completeness Path symmetry Reverse path of a shortest path is shortest Optimal substructure property Any subset of a shortest path is shortest Applicability Applicable for any network with weighted shortest path routing with a single setting of link weights the preferred path between two nodes is dependent only on the weights Data source completeness Maps collected by Rocketfuel have high pair-wise completeness 16

Provider-customer: AS Commercial Relationships customer pays its provider for transit services Peer-peer: exchange traffic between customers no exchange of money Sibling-sibling: have mutual transit agreement merging ISPs, Internet connection backup However, AS relationships are not public! AS Relationship Graph AS1 AS7 AS2 AS3 AS6 AS4 AS5 provider-to-customer edge peer-peer edge sibling-sibling edge 17

Route Propagation Rule An AS or a set of ASes with sibling relationship does not provide transit services between any two of its providers and peers BGP routing table entries have certain patterns Routing Table Entry Network Next hop AS Path 4.2.24.0/21 134.24.127.3 1740 1 i 194.68.130.254 5459 5413 1 i 158.43.133.48 1849 704 702 701 1 i 193.0.0.242 3333 286 1 i 144.228.240.93 1239 1 i 704 702 701 1849 1 18

Routing Table Entry Patterns uphill top provider downhill top provider u i u i+1 u 2 u n-1 u 1 u n Basic Algorithms Heuristics: Top provider has largest degree Based on patterns on BGP routing table entries Consecutive AS pairs on the left of top provider are customer-to-provider or sibling-sibling edges Consecutive AS pairs on the right of top provider are provider-to-customer or sibling-sibling edges 19

Initialize Consecutive AS Pair Relationship u j u j+1 u 2 u n-1 Maximum degree AS u 1 u n 20