Professional Documents
Culture Documents
1
Goals of Today’s Lecture
• Internet’s two-tiered topology
– Autonomous Systems, and connections between them
– Routers, and the links between them
• AS-level topology
– Autonomous System (AS) numbers
– Business relationships between ASes
• Router-level topology
– Points of Presence (PoPs)
– Backbone and enterprise network topologies
4
3
2
7 6
1
5
What is an Edge, Really?
• Edge in the AS graph
– At least one connection between two ASes
– Some destinations reached from one AS via the other
d
d
AS 1 AS 1
Exchange Point
AS 2 AS 2 AS 3
6
Interdomain Paths
Path: 6, 5, 4, 3, 2, 1
2
7 6
1
Web server
Client 7
Business Relationships
• Neighboring ASes have business contracts
–How much traffic to carry
–Which destinations to reach
–How much money to pay
d provider
advertisements
provider
traffic
customer
d customer
9
Peer-Peer Relationship
• Peers exchange traffic between customers
– AS exports only customer routes to a peer
– AS exports a peer’s routes only to its customers
– Often the relationship is settlement-free (i.e., no $$$)
advertisements
peer peer
traffic
d 10
Princeton Example
• Internet: customer of AT&T and USLEC
• Research universities/labs: customer of Internet2
• Local residences: peer with Patriot Media
• Local non-profits: provider for several non-profits
peer Patriot
11
AS Structure: Tier-1 Providers
• Tier-1 provider
– Has no upstream provider of its own
– Typically has a national or international backbone
– UUNET, Sprint, AT&T, Level 3, …
• Top of the Internet hierarchy of 12-20 ASes
– Full peer-peer connections between tier-1 providers
12
Efficient Early-Exit Routing
• Diverse peering locations
Customer B
– Both costs, and middle
• Consistent routes
– Same destinations advertised
multiple
at all points
peering
points Early-exit – Same AS path length for a
routing destination at all points
Provider A
13
Customer A
AS Structure: Other ASes
• Tier-2 providers
– Provide transit service to downstream customers
– … but, need at least one provider of their own
– Typically have national or regional scope
– E.g., Minnesota Regional Network
– Includes a few thousand of the ASes
• Stub ASes
– Do not provide transit service to others
– Connect to one or more upstream providers
– Includes vast majority (e.g., 85-90%) of the ASes
14
Characteristics of the AS Graph
• AS graph structure
– High variability in node degree (“power law”)
– A few very highly-connected ASes
– Many ASes have only a few connections
0.001
1 10 100 1000 AS degree 15
Characteristics of AS Paths
• AS path may be longer than shortest AS path
• Router path may be longer than shortest path
2 AS hops,
8 router hops
s d
16
3 AS hops, 7 router hops
Intra-AS Topology
• Node: router
• Edge: link
17
Hub-and-Spoke Topology
• Single hub node
–Common in enterprise networks
–Main location and satellite sites
–Simple design and trivial routing
• Problems
–Single point of failure
–Bandwidth limitations
–High delay between sites
–Costs to backhaul to hub
18
Princeton Example
• Hub-and-spoke
–Four hub routers and many spokes
• Hub routers
–Outside world (e.g., AT&T, USLEC, …)
–Dorms
–Academic and administrative buildings
–Servers
19
Simple Alternatives to Hub-and-Spoke
• 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
…
20
Backbone Networks
• Backbone networks
–Multiple Points-of-Presence (PoPs)
–Lots of communication between PoPs
–Accommodate traffic demands and limit delay
21
Abilene Internet2 Backbone
22
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
24
Customer Connecting to a Provider
Provider Provider
Provider Provider
Provider 1 Provider 2
26
Shared Risks
• Co-location facilities (“co-lo hotels”)
– Places ISPs meet to connect to each other
– … and co-locate their routers, and share space & power
– E.g., 32 Avenue of the Americas in NYC
• Shared links
– Fiber is sometimes leased by one institution to another
– Multiple fibers run through the same conduits
– … and run through the same tunnels, bridges, etc.
28
Inferring an Intra-AS Topology
• Run traceroute from many vantage points
– Learn the paths running through an AS
– Extract the hops within the AS of interest
1 169.229.62.1 inr-daedalus-0.CS.Berkeley.EDU
2 169.229.59.225 soda-cr-1-1-soda-br-6-2
3 128.32.255.169 vlan242.inr-202-doecev.Berkeley.EDU
4 128.32.0.249 gigE6-0-0.inr-666-doecev.Berkeley.EDU
5 128.32.0.66 qsv-juniper--ucb-gw.calren2.net
6 209.247.159.109 POS1-0.hsipaccess1.SanJose1.Level3.net
7 209.247.9.170 pos8-0.hsa2.Atlanta2.Level3.net
8 66.185.138.33 pop2-atm-P0-2.atdn.net
AOL 9 66.185.142.97 Pop1-atl-P3-0.atdn.net
10 66.185.136.17 pop1-atl-P4-0.atdn.net
11 64.236.16.52 www4.cnn.com 29
Challenges of Intra-AS Mapping
• Firewalls at the network edge
– Cannot typically map inside another stub AS
– … because the probe packets will be blocked by firewall
– So, typically used only to study service providers
30
Inferring the AS-Level Topology
• Collect AS paths from many vantage points
– Learn a large number of AS paths
– Extract the nodes and the edges from the path
31
Map Traceroute Hops to ASes
Traceroute output: (hop number, IP)
1 169.229.62.1 AS25
2 169.229.59.225 AS25 Berkeley
3 128.32.255.169 AS25
4 128.32.0.249 AS25
5 128.32.0.66 AS11423 Calren
6 209.247.159.109 AS3356
7 * AS3356
Level3
8 64.159.1.46 AS3356
9 209.247.9.170 AS3356
10 66.185.138.33 AS1668
11 * AS1668 AOL
12 66.185.136.17 AS1668
13 64.236.16.52 AS5662 CNN
32
Challenges of Inter-AS Mapping
• Mapping traceroute hops to ASes is hard
– Need an accurate registry of IP address ownership
– Whois data are notoriously out of date
AT&T Sprint
??? Harvard
Harvard 33
d1 B-school d2
Inferring AS Relationships
• Key idea
– The business relationships determine the routing policies
– The routing policies determine the paths that are chosen
– So, look at the chosen paths and infer the policies
Customer-provider
Peer-peer
37