Principles in Communication Networks Instractor: Prof. Yuval Shavitt, –Office hours: room 303 s/w eng. bldg., Tue 14:00- 15:00 Prerequisites (דרישות קדם):

Slides:



Advertisements
Similar presentations
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Advertisements

Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
The Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
Topology Generation Suat Mercan. 2 Outline Motivation Topology Characterization Levels of Topology Modeling Techniques Types of Topology Generators.
Complex Networks Third Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
The Barabási-Albert [BA] model (1999) ER Model Look at the distribution of degrees ER ModelWS Model actorspower grid www The probability of finding a highly.
The structure of the Internet. How are routers connected? Why should we care? –While communication protocols will work correctly on ANY topology –….they.
End-to-End Routing Behavior in the Internet Vern Paxson Presented by Zhichun Li.
University of Nevada, Reno Ten Years in the Evolution of the Internet Ecosystem Paper written by: Amogh Dhamdhere, Constantine Dovrolis School of Computer.
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada ISP-Friendly Peer Matching without ISP Collaboration Mohamed Hefeeda (Joint.
On the Geographic Location of Internet Resources CSCI 780, Fall 2005.
1 Complex systems Made of many non-identical elements connected by diverse interactions. NETWORK New York Times Slides: thanks to A-L Barabasi.
Principles in Communication Networks Instractor: Prof. Yuval Shavitt, –Office hours: room 303 s/w eng. bldg., Tue 14:00- 15:00 Prerequisites (דרישות קדם):
Mapping the Internet Topology Via Multiple Agents.
Jellyfish, and other Interesting creatures Of the Internet Scott Kirkpatrick, Hebrew University with Avishalom Shalit, Sorin Solomon, Shai Carmi, Eran.
CCNA 2 v3.1 Module 6.
Principles in Communication Networks Instractor: Dr. Yuval Shavitt, –Office hours: room 303 s/w eng. bldg., Mon 14:00- 15:00 Prerequisites (דרישות קדם):
E2E Routing Behavior in the Internet Vern Paxson Sigcomm 1996 Slides are adopted from Ion Stoica’s lecture at UCB.
The structure of the Internet. How are routers connected? Why should we care? –While communication protocols will work correctly on ANY topology –….they.
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.
Routing and Routing Protocols
14 – Inter/Intra-AS Routing
The structure of the Internet. The Internet as a graph Remember: the Internet is a collection of networks called autonomous systems (ASs) The Internet.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
The Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
Large-scale organization of metabolic networks Jeong et al. CS 466 Saurabh Sinha.
Data Communications & Computer Networks
Chapter Six NetworkingHardware. Agenda Questions about Ch. 11 Midterm Exam Ch.6 Cable kit.
Topic 13 Network Models Credits: C. Faloutsos and J. Leskovec Tutorial
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
Traceroute-like exploration of unknown networks: a statistical analysis A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, France) L.
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Network Aware Resource Allocation in Distributed Clouds.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Advanced Networking Lab. Given two IP addresses, the estimation algorithm for the path and latency between them is as follows: Step 1: Map IP addresses.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Complex Networks First Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
A Routing Underlay for Overlay Networks Akihiro Nakao Larry Peterson Andy Bavier SIGCOMM’03 Reviewer: Jing lu.
Principles in Communication Networks Instructor: Prof. Yuval Shavitt, –Office hours: room 303 s/w eng. bldg., Sun12:00- 13:00 Prerequisites (דרישות קדם):
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
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.
6: Routing Working at a Small to Medium Business.
Routing and Routing Protocols
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
End-to-End Routing Behavior in the Internet Vern Paxson Presented by Sankalp Kohli and Patrick Wong.
Jellyfish, and other Interesting creatures Of the Internet Scott Kirkpatrick, Hebrew University with Avishalom Shalit, Sorin Solomon, Shai Carmi, Eran.
© 2002, Cisco Systems, Inc. All rights reserved..
Hierarchical Organization in Complex Networks by Ravasz and Barabasi İlhan Kaya Boğaziçi University.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Computer Networks Protocols
Presentation transcript:

Principles in Communication Networks Instractor: Prof. Yuval Shavitt, –Office hours: room 303 s/w eng. bldg., Tue 14:00- 15:00 Prerequisites (דרישות קדם): –Introduction to computer communications (TAU, Technion, BGU) Expectations from students: –probability –Queueing theory basics –Graph theory –Some programming skills

Course Syllabus (tentative) Internet structure Introduction to switching, router types Use of Gen. Func.: HOL analysis, TCP analysis. Matching algorithms and their analysis CLOS networks: non-blocking theorem, routing algorithms and their analysis Event simulators – introduction Scheduling algorithms: WFQ, W 2 FQ, priorities Distributed algorithms

Grade composition Final exam Paper presentation (20-30 minutes) Critical review of a paper (best of two) Home assignments (2-3)

Routing in the Internet

Routing in the Internet is done in three levels: –In LANs in the MAC layer: Spanning tree protocol for Ethernet Transparent bridge. Source routing for token rings Inside autonomous systems (ASes): –RIP, OSPF, IS-IS, (E)IGRP Between ASes: –BGP

Autonomous Systems Autonomous Routing Domains: A collection of physical networks glued together using IP, that have a unified administrative routing policy. An AS is an autonomous routing domain that has been assigned a number. RFC 1930: Guidelines for creation, selection, and registration of an Autonomous System … the administration of an AS appears to other ASes to have a single coherent interior routing plan and presents a consistent picture of what networks are reachable through it.

Internet Hierarchical Routing Host h2 a b b a a C A B d c A.a A.c C.b B.a c b Host h1 Intra-AS routing within AS A Inter-AS routing between A and B Intra-AS routing within AS B

Policy: Inter-AS: admin wants control over how its traffic routed, who routes through its net. 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 Why different Intra- and Inter-AS routing ?

RIP A distance-vector protocol – (distributed Bellman Ford) Developed in the 80s based on a Xerox protocol RIP-2 is now often used due to its simplicity Distance metric: minimum hop

OSPF / IS-IS Link state protocol – each node see the entire network map and calculate shortest paths using Dijksrta algorithm. Allows two level of hierarchy Authentication Complex IS-IS gain popularity among large ISPs

The structure of the Internet

How are routers connected? Why should we care? –While communication protocols will work correctly on ANY topology –….they may not be efficient for some topologies –Knowledge of the topology can aid in optimizing protocols

The Internet as a graph Remember: the Internet is a collection of networks called autonomous systems (ASs) The Internet graph: –The AS graph Nodes: ASs, links: AS peering –The router level graph Nodes: routers, links: fibers, cables, MW channels, etc. –There are mid-level aggregation schemes How does it looks like?

Random graphs in Mathematics The Erdös-Rényi model Generation: –create n nodes. –each possible link is added with probability p. Number of links: np If we want to keep the number of links linear, what happen to p as n  ? Poisson distribution

The Waxman model Integrating distance with the E-R model Generation –Spread n nodes on a large enough grid. –Pick a link uar and add it with prob. that exponentially decrease with its length –Stop if enough links Heavily used in the 90s

1999 The Faloutsos brothers Measured the Internet AS and router graphs. Mine, she looks different! Notre Dame Looked at complex system graphs: social relationship, actors, neurons, WWW Suggested a dynamic generation model

The Faloutsos Graph 1995 Internet router topology 3888 nodes, 5012 edges, =2.57

SCIENCE CITATION INDEX (  = 3) Nodes: papers Links: citations (S. Redner, 1998) P(k) ~k -  PRL papers (1988) Witten-Sander PRL 1981

Sex-web Nodes: people (Females; Males) Links: sexual relationships Liljeros et al. Nature Swedes; 18-74; 59% response rate.

Web power-laws

SCALE-FREE NETWORKS (1) The number of nodes (N) is NOT fixed. Networks continuously expand by the addition of new nodes Examples: WWW : addition of new documents Citation : publication of new papers (2) The attachment is NOT uniform. A node is linked with higher probability to a node that already has a large number of links. Examples : WWW : new documents link to well known sites (CNN, YAHOO, NewYork Times, etc) Citation : well cited papers are more likely to be cited again

Scale-free model (1) GROWTH : A t every timestep we add a new node with m edges (connected to the nodes already present in the system). (2) PREFERENTIAL ATTACHMENT : The probability Π that a new node will be connected to node i depends on the connectivity k i of that node A.-L.Barabási, R. Albert, Science 286, 509 (1999) P(k) ~k -3

The Faloutsos Graph

Back to the Internet Understanding its structure and dynamics –help applications (WWW, file sharing) –help improving routing –predict Internet growth So lets look at the data….

…Data? The Internet is an engineered system, so someone must know how it is built, no? NO! It is an uncoordinated interconnection of Autonomous Systems (ASes=networks). No central database about Internet structure. Several projects attempt to reveal the structure: Skitter, RouteViews, …

The Internet Structure routers

The Internet Structure The AS graph

Revealing the Internet Structure

30 new links 7 new links NO new links Diminishing return!  Deploying more boxes does not pay-off

Revealing the Internet Structure To obtain the ‘ horizontal ’ links we need strong presence in the edge

What is DIMES? Distributed Internet measurement and monitoring –Based on software agents downloaded by volunteers Diminishing return? –Software agents  –The cost of the first agent is very high –each additional agent costs almost zero Capabilities –Obtaining Internet maps at all granularity level connectivity, delay, loss, bandwidth, jitter, …. –Tracking the Internet evolution in time –Monitoring the Internet in real time DIMES

Distributed System Design: Obtaining the Internet Structure The Internet as a complex system: static and dynamic analysis Correlating the Internet with the World: Geography, Economics, Social Sciences

Diminishing Return? [Chen et al 02], [Bradford et al 01]: when you combine more and more points of view the return diminishes very fast What have they missed? –The mass of the tail is significant No. of views

Diminishing Return? [Chen et al 02], [Bradford et al 01]: when you combine more and more points of view the return diminishes very fast What have they missed? –The mass of the tail is significant No. of views

Diminish … shminimish

How many ASes see an edge? ~9000/6000 are seen only by one

Challenges It’s a distributed systems: –Measurement traffic looks malicious Flying under the NOC radar screens (Agents cannot measure too much) –Optimize the architecture: Minimize the number of measurements Expedite the discovery rate BUT agents are –Unreliable –Some move around Distributed System complex system real world

Agents To be able to use agents wisely we need agents profiles: –Reliablility –Location: Static Bi-homed: where mostly? Mobile: identify home base –Abilities: what type of measurements can it perform? Distributed System complex system real world

Agent shavitt Fairly stable measurements from Israel 2 idle weeks Reappear in Spain

Degree Distribution k Pr(k) Zipf plot

Quantifying the Distribution

Data Set Data is obtained from DIMES –Community-based infrastructure, using almost 1000 active measuring software agents –Agents follow a script and perform ~2 probes per minute (ICMP/UDP traceroute, ping) –Most agents measure from a single AS (vp) But some (appear to) measure from more… Data need to be filtered to remove artifacts –Traceroute data collected during March 2008

Filtering the data For each agent and each week, classify how many networks it measured the Internet from Typical cases: –AS i :15300, AS j :8 –AS i :10000, AS j :3178 –AS i :10000, AS j :412, AS k :201 –18000, 12, 11, 9, 9, 3, 3, 2, 2, 1, 1, 1, 1, 1, ….

Measurements Per Agent Week 4,2008

Measurements per Network 500

Agents per Network

Filtering Results 96% of the agents have less than 4 different vps High degree ASs tend to have more agents High number of measurements for all vps degrees

Diminishing Returns? Barford et. al. – the utility of adding many vps quickly diminishes –In terms of ASes and AS-links Shavitt and Shir – utility indeed diminishes but the tail is long and significant –Tail is biased towards horizontal links We wish to quantify how different aspects of AS-level topology are affected by adding more vps

Creating topologies per VP sort by

Topology Size The return (especially for AS links) does not diminishes fast! VP with small local topology can contribute many new links!

Direction of Detected Links For each link: Plot max adjacent AS degree and max adjacent ASes degree difference Low degree difference – indicates tangential links and links between small- size ASes High degree difference – indicates radial links towards the core

Convergence of Properties Taking several common AS-level graph properties, and analyze their convergence as local topologies are added –Keeping the sort order by number of links Slow convergence indicates the need to have broad and diverse set of vps

Density and Average Degree Slow convergence of density and average degree – easy to detect ASes but difficult to find all links

Power-law and Max Degree Fair convergence of power-law exponent Fast convergence of maximal degree – core links are easily detects

Betweenness and Clustering Radial links decrease cc Fast convergence of max bc – Level3 (AS3356), a tier-1 AS is immediately detected as having max bc Tangential links increase cc

Revisitng Sampling Bias Lakhina et al. – AS degrees inferred from traceroute sampling are biased –ASes in vicinity to vps have higher degrees –Power-law might be an artifact of this! Dall’asta et al. – no…it is quite possible to have unbiased degrees with traceroutes Cohen et al. – when exponent is larger than 2, resulting bias is neglible

Evaluating Sampling Bias For each AS find: –All the vps that have it in their local topology –The Valley-Free distance in hops Up-hill to the core (c2p), side-ways in the core (p2p) and down-hill from the core (p2c)

Dataset VPs and Distances Low degree ASes are seen from less vps than high-degree Ases…this makes sense! In our dataset, most ASes have a vp that is only 1-2 hops away!

Average Distance per Degree Low degree ASes are seen from farther vps…sampling bias? No real bias! More VPs are located in high-degree ASes There are high-degree ASes that are seen from “far” vps Broad distribution – all ASes are pretty close-by to a vp!

Revisiting Diversity Bias What is the effect of diversity in vps geo- location and network type? –Some infrastructures rely on academic networks for vp distribution – does it have an effect on the resulting topology? We compare iPlane and DIMES –Classify AS into types: t1,t2, edu, comp, ix, nic using Dimitropoulos et al.

Diversity Bias Evaluation iPlane uses many PlanetLab nodes (edu), while DIMES resides mostly at homes (tier-2) Indeed DIMES have higher t2 and comp degrees and iPlane have higher edu degrees – results are slightly biased to vps’ types!

In Search of Ground Truth One week is not sufficient for active measurements Both iPlane and DIMES have lower average degrees than RouteViews –Except iPlane’s edu and ix! –Diversity bias exists – need diverse vp types!

Measuring Within a Network Comparing vp average degrees to quantify the effect of measuring within a network Indeed, the average degree when measuring within a network is mostly higher (hmm…tier-1 doesn’t count cause most vps are the same!)

Conclusion VP distribution is important –Number, AS type, geo-location AS-level graph properties are affected –Some converge very fast –Other converge slowly Community based projects have practically unlimited growth potential!

Predicting Growth

OurGoal To measure the Internet evolution in time –AS level - too coarse –IP level - too fine

The Internet Structure The AS graph

The Internet Structure The AS graph The PoP level graph

What the PoP is ? PoP – Point of Presence of the ISP

OurGoal To measure the Internet evolution in time –AS level - too coarse –IP level - too fine –PoP level – strike the right balance Network size is reasonable Nodes are roughly the same size Has a good geographical grip (with some exceptions) Other uses of PoP maps –Network distance estimation

The Algorithm Input & Output

Pivot Idea: What is a graph representation of the POP?

Comments in 2004 (expert meeting in UCSD) –It will never fly –You’ll be lucky to get 500 downloads in three years –You’ll never be able to clean the noise –How will you deal with problem i (i=1,2,3,4,….)? Status in Feb 2009 –Over 18,000 downloads (over 100 nations) – active agents every week –Measuring from over 200 ASes every week –Data is used world wide by EE, CS, Phys, Econ –The DIMES approach appears in GENI & FIRE DIMES DIMES a historical perspective

Early 2008