Lec 2
Lec 2
COL 334/672
Towards building a computer network
Slides adapted from KR slides
Tarun Mangla
Sem 1, 2024-25
What is a Computer Network?
§ Computer Network: A set of
interconnected computers that can
communicate with each other
§ Traditional Networks Keystrokes
• Serial lines connecting dumb terminals to
mainframe
• Other networks?
• Characteristics: single-use networks with
specialized data or devices Carry voice data
§ Key distinction: Computer networks are
built to carry different kinds of data and
for general-purpose hardware
Broadcast video
The Internet: a network of networks
Billions of connected mobile network
computing devices: national or global ISP
§ hosts = end systems
§ running network apps at
Internet’s “edge”
This class: how/why did the Internet evolve into this kind of structure?
How to Build a Computer Network?
From first principles..
§ Let’s build a network with two machines
enterprise
network
A closer look at Internet structure
mobile network
enterprise
network
A closer look at Internet structure
mobile network
§ interconnected routers
§ network of networks enterprise
network
Access networks
Q: How to connect end systems mobile network
to edge router?
national or global ISP
enterprise
network
Access networks: home networks
Wireless and wired
devices
to/from headend or
central office
often combined
in single box
to Internet
Introduction: 1-12
Access networks: enterprise networks
Enterprise link to
ISP (Internet)
institutional router
Ethernet institutional mail,
switch web servers
local or
regional ISP
… access
net
access
net …
access
net
access
access net
net
access
access net
net
…
…
access access
net net
access
net
access
net
access
net
access
net
… access access …
net access net
net
Internet structure: a “network of networks”
Question: given millions of access ISPs, how to connect them together?
… access
net
access
net …
access
net
access
access
net
… … net
access
access net
net
…
each other directly doesn’t scale:
…
access
O(N2) connections. access
…
net net
access
net
access
net
access
net
access
… access
… net
access …
net access net
net
Internet structure: a “network of networks”
Option: connect each access ISP to one global transit ISP?
Customer and provider ISPs have economic agreement.
… access
net
access
net …
access
net
access
access net
net
access
access net
net
…
…
global
access
net
ISP access
net
access
net
access
net
access
net
access
net
… access access …
net access net
net
Internet structure: a “network of networks”
But if one global ISP is viable business, there will be competitors ….
… access
net
access
net …
access
net
access
access net
net
access
access
ISP A
net
net
…
…
access
net
ISP B access
net
access ISP C
net
access
net
access
net
access
net
… access access …
net access net
net
Introduction: 1-19
Internet structure: a “network of networks”
But if one global ISP is viable business, there will be competitors …. who will
want to be connected
Internet exchange point
… access
net
access
net …
access
net
access
access net
net
IXP access
access
ISP A
net
net
…
…
access
net
IXP ISP B access
net
access ISP C
net
access
net
access
net
peering link
access
net
… access access …
net access net
net
Internet structure: a “network of networks”
… and regional networks may arise to connect access nets to ISPs
… access
net
access
net …
access
net
access
access net
net
IXP access
access
ISP A
net
net
…
…
access
net
IXP ISP B access
net
access ISP C
net
access
net
access
net regional ISP access
net
… access access …
net access net
net
Introduction: 1-21
Internet structure: a “network of networks”
… and regional networks may arise to connect access nets to ISPs
… access
net
access
net …
access
net
access
access net
net
IXP access
access
ISP A
net
net
…
…
access
net
IXP ISP B access
net
access ISP C
net
access
net
access
net regional ISP access
net
… access access …
net access net
net
Introduction: 1-22
3-tier Internet Architecture
§ Tier-1 ISP
• Global reach access access
net net
• Don’t pay for transit access
net
access
access net
• E.g., TATA Communications, AT&T access
net
IXP access
net ISP A net
§ Tier-2 ISP
…
• Customer for some networks access
net
IXP ISP B access
net
• E.g., ?
Is it that neat?
Internet structure: a “network of networks”
Content provider networks (e.g., Google, Microsoft, Akamai)
may run their own network.. But why?
Moreover, tier-1 ISPs are also hosting content
..to bring services, content close to end users
access … access
net
access
net …
This has led to flattening
net
access
access net
net
of the Internet access
IXP access
net ISP A net
…
Content provider network
access
net
IXP ISP B access
net
access
net
ISP C
acces
net
access
net
… regional ISP … access
access net
access
net access net
net
Google: Lord of Peering!
§ Google has been peering
directly with access networks
§ Open peering policy
§ Explains Google loads so fast!
§ Is it a win-win for both the
access network and Google?
• Economic for access network
• Performance for customers
• Greater control over traffic
Summary
§ Explored the structure of the Internet, network of networks