Heuristics for Internet Map Discovery R. Govindan, H. Tangmunarunkit Presented by Zach Schneirov.

Slides:



Advertisements
Similar presentations
University of Nevada, Reno Router-level Internet Topology Mapping CS790 Presentation Modified from Dr. Gunes slides by Talha OZ.
Advertisements

Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—2-1 Label Assignment and Distribution Introducing Typical Label Distribution in Frame-Mode MPLS.
Helper Protocols Protocols that either make it easier for IP to do its job, or extend the capabilities of the network layer.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 Internet Path Inflation Xenofontas Dimitropoulos.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
1 A survey of Internet Topology Discovery. 2 Outline Motivations Internet topology IP Interface Level Router Level AS Level PoP Level.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Heuristics for Internet Map Discovery Ramesh Govindan USC/Information Sciences Institute Joint work with Hongsuda Tangmunarunkit.
Measurement in the Internet. Outline Internet topology Bandwidth estimation Tomography Workload characterization Routing dynamics.
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
Measuring ISP topologies with Rocketfuel Ratul Mahajan Neil Spring David Wetherall University of Washington ACM SIGCOMM 2002.
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
1 Network Topology Measurement Yang Chen CS 8803.
PALMTREE M. Engin TozalKamil Sarac The University of Texas at Dallas.
Computer Networks Layering and Routing Dina Katabi
INTERNET TOPOLOGY MAPPING INTERNET MAPPING PROBING OVERHEAD MINIMIZATION  Intra- and inter-monitor redundancy reduction IBRAHIM ETHEM COSKUN University.
Information-Centric Networks07b-1 Week 7 / Paper 2 NIRA: A New Inter-Domain Routing Architecture –Xiaowei Yang, David Clark, Arthur W. Berger –IEEE/ACM.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Measuring ISP Toplogies with Rocketfuel Neil Spring, Ratul Mahajan, and David Wetherall Presented By: David Deschenes March 25, 2003.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
10/8/2015CST Computer Networks1 IP Routing CST 415.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Private Network Interconnection Chapter 20. Introduction Privacy in an internet is a major concern –Contents of datagrams that travel across the Internet.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
1 Countering DoS Through Filtering Omar Bashir Communications Enabling Technologies
Engineering Workshops Purposes of Neighbor Solicitation.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Routing and Routing Protocols
Introduction to Mobile IPv6
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to a Single Service.
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Network Layer IP Address.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
TRANSPORT LAYER BY, Parthasarathy.g.
NAT – Network Address Translation
IP: Addressing, ARP, Routing
Routing BY, P.B.SHANMATHI.
(How the routers’ tables are filled in)
(How the routers’ tables are filled in)
ICMP ICMP – Internet Control Message Protocol
TODAY’S TENTATIVE AGENDA
Introduction to Networking
RESOLVING IP ALIASES USING DISTRIBUTED SYSTEMS
(How the routers’ tables are filled in)
Measured Impact of Crooked Traceroute
COS 461: Computer Networks Spring 2014
Lecture 26: Internet Topology CS 765: Complex Networks.
Lecture 4a Mobile IP 1.
Presentation transcript:

Heuristics for Internet Map Discovery R. Govindan, H. Tangmunarunkit Presented by Zach Schneirov

Mercator Infers a topological Internet map through –Hop-limited probes –Informed random address probing –Resolution of aliases

Why build router-level maps? It is the first step in understanding the large-scale physical structure of the Internet It can be used in input simulations It can directly determine network scaling limits

What exactly is an Internet map? A map in this case is a graph with nodes as routers and links as indications of adjacency, where adjacent routers have one IP hop between them

Previous work All previous maps have built router adjacencies using probes from a single node Obtained destination addresses from BGP routing tables and generated addresses with random prefixes Used routing activity between autonomous systems, with links representing inter-ISP peering Used router-level support, such as SNMP and multicast IGMP queries to find neighbor lists

Goals Map the Internet from any single arbitrary node Use only hop-limited probes (implies an absence of a database) Map must be complete Not impose significant overhead At least as fast as previous methods

Methods Informed random address probing Source-routed path probing Alias resolution

Informed random address probing Targets of probes depend on previous probes and IP block allocation policies Two ways to generate an address: –Guess an IP addressable prefix based on prefix of source address in responses to probes –Assume that other subnets at the same prefix level are neighbors

IRAP Procedure Start with an IP prefix (taken from the host machine by default) Repeating these two methods will gradually build a population of IP address prefixes –1st method ensures that addressable prefixes are explored first –2nd ensures that all possible addresses are explored

IRAP Procedure (continued) Terminates when one of the following occurs: –Subsequent ICMP-time-exceeded packets are not received –Mercator detects a loop –Chosen destination address is reached Sequence of routers is inserted into the map of links: (R1, R2, R3) becomes R1->R2, R2->R3

Reducing Overhead for IRAP Avoids probing known routers multiple times by adjusting the TTL to skip the furthest known router in the map

Speeding up map discovery Uses lottery scheduling algorithm to select prefixes –Each prefix is assigned a lottery tick –Probability of that prefix’s ticket “winning” is proportional to the faction of successful probes to the prefix Results in a bias towards densely- addressed prefixes

Source-routing Cross-links can be discovered by sending probes in one direction instead of sending them radially That is, send probes to already- discovered routers This essentially allows Mercator to send probes from multiple locations by proxy

Determining if router can do source-routing Send UDP datagrams to a random high port See if router sends back an ICMP-port- unreachable message

Alias resolution Problem: a single host can have multiple IP aliases. Probes technically discover router interfaces--not routers themselves Solution: paths from Mercator to destination host can overlap in the cases of: –Policy differences –Primary and backup paths –Source-routed paths probing from different perspectives

Alias resolution procedure Send UDP packets to non-existent ports on a router ICMP port-unreachable message will contain the outgoing interface for the return route If this is different than the original destination interface, then these interfaces are aliases for the same router Alias probes can also be source-routed to deal with incomplete backbone routing tables

Mercator Software Design Implemented from scratch for greater experimental flexibility Implemented with Libserv –Allows non-blocking network and file system access –So simultaneous independent path probes, source-routed path probes, and alias probes are possible Periodically saves map for reverting to and resumption from previous states

Theoretical Results How well do these methods satisfy the goals? –Cannot guarantee discovery of all aliases due to finite perspectives –Cannot find shared media –Map is not instantaneous –Unable to find adjacencies between physical neighbors who aren’t on speaking terms

More results-Map is incomplete Can’t discover details of networks that do not route traffic to other autonomous systems It is however complete with respect to the portion of the Internet over which packets tend to travel between hosts

Real world results Ran Mercator on a Linux PC with 15 simultaneous probes Found 150,000 interfaces and 200,000 links in 3 weeks Could only discover 20,000 router interfaces due to unroutable addresses Source-routed paths discovered only 3,000 paths

Internet map validation Compared subgraphs against published ISP maps using DNS names of routers All but one link was discovered for an ISP and an educational/research network More complexly-meshed ISPs have not been tested Will improve with more widespread use of ICMP-time-exceeded messages and source- routing

Measuring ISP Topologies with Rocketfuel N. Spring, R. Mahajan, D. Wetherall

Rocketfuel Directly measure router-level ISP topologies more efficiently than brute- force Uses BGP routing tables Eliminates redundant measurement Better alias resolution DNS for identifying ISPs

Goals Infer high quality ISP topological maps Use as few measurements as possible An ISP will consist of multiple POPs (point-of-presence) connected by backbones

Methods Uses only traceroute for measuring paths Merges traceroute paths from multiple sources to multiple destinations Choose traceroutes that contribute the most information (directed probing and path reductions) Alias resolution through “personality” Identifying routers through DNS

Directed probing Use BGP routing information to choose only the traceroutes likely to transit the target ISP Traceroutes will transit the ISP if they are: –Sent to dependent prefixes (sent to a destination within the ISP) –Sent from within a dependent prefix (traceroute server is within the ISP) –Either may be true depending on several different destination prefixes in BGP table

Expected problems with directed probing Incomplete routing tables or non- determinism in the routing tables will cause: –False positives: when traceroutes are performed on paths that don’t traverse ISP –False negatives: when removing traceroutes results in less information

Path reductions Don’t do traceroutes that enter and/or leave the ISP through the same points; they will probably take the same path through the ISP Ingress reduction Egress reduction Next-hop AS reduction

Ingress reduction Egress reduction Next-hop AS reduction

Alias resolution Improves Mercator’s UDP-port- unreachable triggering Assumes that router aliases will have some set of characteristics that is constant between its aliases Tests one pair of addresses at a time

Alias resolution methods Compare TTLs in responses to UDP requests Test ICMP rate limiting –If two probes to two addresses are sent right away with only one response returned, then it is a single router Assume that packets sent consecutively will have incrementing IP ID in the response

Identifying routers How to determine –Which routers correspond to the ISP in question –What are the routers’ physical locations? –Which other routers they connect to? Use DNS names –Support of BGP on routers is irrelevant –Can identify network edges by changes in names –Customer nodes (cable, DSL, dialup) are named differently –Can guess location through naming convention

Rocketfuel Results Statistics for 10 mapped ISPs using 294 publicly available traceroute servers

Traceroute reduction results