Professional Documents
Culture Documents
Jennifer Rexford
http://www.cs.princeton.edu/~jrex/teaching/spring2005
Tuesdays/Thursdays 11:00am-12:20pm
Outline
• Router architecture
– Line cards
– Switching fabric
– Router processor
• Network topology
– From hub-and-spoke to backbones
– Customer connecting to providers
• Measuring the topology
– Traceroute probes from many vantage points
– Associating an IP address with an AS
• Discussion of the papers
What is a Router?
• A computer with…
– Multiple interfaces
– Implementing routing protocols
– Packet forwarding
• Wide range of variations of routers
– Small LinkSys device in a home network
– Linux-based PC running router software
– Million-dollar high-end routers with large chassis
• … and links
– Serial line
– Ethernet
– Packet-over-SONET
Network Components
Wireless card
Processor
Line card
Switching
Line card
Fabric
• Interfacing
– Physical link to/from link
– Switching fabric
• Packet handling
Transmit
Receive
– Buffer management
– Link scheduling FIB
– Packet filtering (ACLs)
– Packet forwarding (FIB)
– Rate-limiting
to/from switch
– Packet marking
– Measurement
Router Components: Switching Fabric
• Dual hub-and-spoke
– Higher reliability
– Higher cost
– Good building block
• Levels of hierarchy
– Reduce backhaul cost
– Aggregate the bandwidth
– Shorter site-to-site delay
…
Backbone Networks
• Backbone networks
– Multiple Points-of-Presence (PoPs)
– Lots of communication between PoPs
– Need to accommodate diverse traffic demands
– Need to limit propagation delay
Abilene Internet2 Backbone
Points-of-Presence (PoPs)
• Inter-PoP links
– Long distances
Inter-PoP
– High bandwidth Intra-PoP
• Intra-PoP links
– Short cables between
racks or floors
– Aggregated bandwidth
• Links to other networks
Other networks
– Wide range of media
and bandwidth
Deciding Where to Locate Nodes and Links
Provider Provider
Provider Provider
Provider 1 Provider 2
Measuring the Topology
Motivation for Measuring the Topology
• Business analysis
– Comparisons with competitors
– Selecting a provider or peer
• Scientific curiosity
– Treating data networks like an organism
– Understand structure and evolution of Internet
• Input to research studies
– Network design, routing protocols, …
• Interesting research problem in its own right
– How to measure/infer the topology
Basic Idea: Measure from Many Angles
Source 2
Source 1
Where to Get Sources and Destinations?
• Source machines
– Get accounts in many places
• Good to have a lot of friends
– Use an infrastructure like PlanetLab
• Good to have friends who have lots of friends
– Use public traceroute servers (nicely)
• http://www.traceroute.org
• Destination addresses
– Walk through the IP address space
• One (or a few) IP addresses per prefix
– Learn destination prefixes from public BGP tables
• http://www.route-views.org
Traceroute: Measuring the Forwarding Path
Time
TTL=1 exceeded
destination
source TTL=2
Send packets with TTL=1, 2, 3, … and record source of “time exceeded” message
Example Traceroute Output (Berkeley to CNN)
• Missing responses
– Routers might not send “Time-Exceeded”
– Firewalls may drop the probe packets
– “Time-Exceeded” reply may be dropped
• Misleading responses
– Probes taken while the path is changing
– Name not in DNS, or DNS entry misconfigured
• Mapping IP addresses
– Mapping interfaces to a common router
– Mapping interface/router to Autonomous System
• Angry operators who think this is an attack
Map Traceroute Hops to ASes
A E A E
B D F B F
C G C G
A E A E
B H D F B D F
C G C G
12.0.0.0/8
A B
AC BAC BC
Fix the IP-to-AS map to associate 12.1.2.0/24 with C
Improving the IP-to-AS Mapping
• Route aggregation
D
D BGP path: B C
B C C Traceroute path: B C D
E
E