Professional Documents
Culture Documents
Computer
Networking: A Top
Down Approach
6th edition
Jim Kurose, Keith Ross
Addison-Wesley
1-1
Roadmap
what is the Internet?
history
Internet layers, service models
network edge
end systems, access networks, links
network core
packet switching, circuit switching, network structure
1-2
What’s the Internet: “nuts and bolts” view
millions of connected
PC mobile network
server computing devices:
wireless hosts = end systems global ISP
laptop
smartphone running network apps
home
communication links network
regional ISP
wireless fiber, copper, radio,
links satellite
wired
links transmission rate:
bandwidth
Packetswitches: forward
router packets (chunks of data) institutional
network
routers and switches
1-3
What’s the Internet: “nuts and bolts” view
mobile network
Internet: “network of networks”
Interconnected ISPs
global ISP
protocols control sending,
receiving of msgs
e.g., TCP, IP, HTTP, Skype, 802.3 home
network
Internet standards regional ISP
RFC: Request for comments
IETF: Internet Engineering Task
Force
institutional
network
1-4
What’s a protocol?
human protocols: network protocols:
“what’s the time?” machines rather than
“I have a question” humans
introductions all communication activity
in Internet governed by
protocols
… specific msgs sent
… specific actions taken
when msgs received, or protocols define format, order
other events
of msgs sent and received
among network entities,
and actions taken on msg
transmission, receipt
1-5
What’s a protocol?
a human protocol and a computer network protocol:
Hi TCP connection
request
Hi TCP connection
response
Got the
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time
1-7
Internet history
1961-1972: Early packet-switching principles
1961: Kleinrock - 1972:
queueing theory shows ARPAnet public demo
effectiveness of packet- NCP (Network Control
switching Protocol) first host-host
1964: Baran - packet- protocol
switching in military nets first e-mail program
1967: ARPAnet ARPAnet has 15 nodes
conceived by Advanced
Research Projects
Agency
1969: first ARPAnet
node operational
1-8
Internet history
1972-1980: Internetworking, new and proprietary nets
1-9
Internet history
1980-1990: new protocols, a proliferation of networks
1-10
Internet history
1990, 2000’s: commercialization, the Web, new apps
early 1990’s: ARPAnet late 1990’s – 2000’s:
decommissioned more killer apps: instant
1991: NSF lifts restrictions on messaging, P2P file sharing
commercial use of NSFnet network security to
(decommissioned, 1995) forefront
early 1990s: Web est. 50 million host, 100
hypertext [Bush 1945, million+ users
Nelson 1960’s] backbone links running at
HTML, HTTP: Berners-Lee Gbps
1994: Mosaic, later Netscape
late 1990’s:
commercialization of the Web
1-11
Internet history
2005-present
~750 million hosts
Smartphones and tablets
Aggressive deployment of broadband access
Increasing ubiquity of high-speed wireless access
Emergence of online social networks:
Facebook: soon one billion users
Service providers (Google, Microsoft) create their own
networks
Bypass Internet, providing “instantaneous” access
to search, email, etc.
1-12
Roadmap
what is the Internet?
history
Internet layers, service models
network edge
end systems, access networks, links
network core
packet switching, circuit switching, network structure
1-13
Internet “layers”
Networks are complex,
with many “pieces”:
hosts Question:
routers is there any hope of
links of various organizing structure of
media network?
applications
protocols
hardware,
software
1-14
let us consider two friends who communicate through postal
mail. The process of sending a letter to a friend would be
complex if there were no services available from the post
office.
1-15
Why layering?
dealing with complex systems:
explicit structure allows identification,
relationship of complex system’s pieces
layered reference model for discussion
modularization eases maintenance, updating of
system
change of implementation of layer’s service
transparent to rest of system
layering considered harmful?
1-16
Internet layered model (TCP/IP Model)
1-18
TCP/IP and OSI model
1-19
message M
source
application
Encapsulation
segment Ht M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
link
physical
switch
destination Hn Ht M network
M application Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
1-20
A private internet
1-21
Communication at the physical layer
1-22
Communication at the data link layer
Legend Source Destination D Data H Header
A R1 R3 R4 B
Data link Data link
Physical Physical
Link 1 Link 3 Link 5 Link 6
D2 H2
Frame
D2 ame
Fr
H2
D2 H2 D2 H2
Frame Frame
1-23
Communication at the network layer
Legend Source Destination D Data H Header
A R1 R3 R4 B
Network Network
Physical Physical
D3 H3
Datagram
D3 H3
Datagram
1-24
Communication at transport layer
A Legend Source Destination D Data H Header B
Transport Transport
R1 R3 R4
Network Network
Physical Physical
D4 H4
Segment
D4 H4
Segment
1-25
Communication at application layer
A B
Application Legend Source Destination D Data H Header Application
Transport Transport
R1 R3 R4
Network Network
Physical Physical
D5 D5
Message
D5 D5
Message
1-26
Different Addresses
1-27
Different Addresses
Physical Addresses
Logical Addresses
Port Addresses
Application-Specific Addresses
1-28
Addresses in the TCP/IP protocol suite
1-29
Roadmap
what is the Internet?
history
Internet layers, service models
network edge
end systems, access networks, links
network core
packet switching, circuit switching, network structure
1-30
A closer look at network structure:
network edge: mobile network
network core:
interconnected routers
network of networks institutional
network
1-31
Access networks and physical media
to Internet
to Internet
1-33
Physical media
bit: propagates between
transmitter/receiver pairs
physical link: what lies twisted pair (TP)
between transmitter & two insulated copper
receiver wires
guided media: Category 5: 100 Mbps, 1
Gbps Ethernet
signals propagate in solid Category 6: 10Gbps
media: copper, fiber, coax
unguided media:
signals propagate freely,
e.g., radio
1-34
Physical media: coax, fiber
coaxial cable: fiber optic cable:
two concentric copper glass fiber carrying light
conductors pulses, each pulse a bit
bidirectional high-speed operation:
broadband: high-speed point-to-point
multiple channels on cable transmission (e.g., 10’s-100’s
Gpbs transmission rate)
low error rate:
repeaters spaced far apart
immune to electromagnetic
noise
1-35
Physical media: radio
signal carried in radio link types:
electromagnetic spectrum terrestrial microwave
no physical “wire” e.g. up to 45 Mbps channels
bidirectional LAN (e.g., WiFi)
propagation environment 11Mbps, 54 Mbps
effects: wide-area (e.g., cellular)
reflection 3G cellular: ~ few Mbps
obstruction by objects satellite
interference Kbps to 45Mbps channel (or
multiple smaller channels)
1-36
Roadmap
what is the Internet?
history
Internet layers, service models
network edge
end systems, access networks, links
network core
packet switching, circuit switching, network structure
1-37
The network core
mesh of interconnected
routers
packet-switching: hosts
break application-layer
messages into packets
forward packets from one
router to the next, across
links on path from source
to destination
each packet transmitted at
full link capacity
1-38
Packet-switching: store-and-forward
L bits
per packet
3 2 1
source destination
R bps R bps
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
1-40
Packet-switching: Cut-Through
2-41
Alternative core: circuit switching
end-end resources allocated
to, reserved for “call”
between source & dest:
In diagram, each link has four
circuits.
call gets 2nd circuit in top
link and 1st circuit in right
link.
dedicated resources: no sharing
circuit-like (guaranteed)
performance
circuit segment idle if not used
by call (no sharing)
Commonly used in traditional
telephone networks
1-42
Internet structure: network of networks
End systems connect to Internet via access ISPs (Internet
Service Providers)
Residential, company and university ISPs
Access ISPs in turn must be interconnected.
So that any two hosts can send packets to each other
Let’s take a stepwise approach to describe current Internet
structure
1-43
Internet structure: network of networks
Question: given millions of access ISPs, how to connect them
together?
access access
net 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
1-44
Internet structure: network of networks
Option: connect each access ISP to every other access ISP?
access access
net net
access
net
access
access net
net
access
access net
net
access
net
access
net
access
net
access
net
access access
net access net
net
1-45
Internet structure: network of networks
Option: connect each access ISP to a global transit ISP? Customer
and provider ISPs have economic agreement.
access access
net 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
1-46
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
….
access access
net net
access
net
access
access net
net
access
access net
net
ISP A
access access
net ISP B net
access
ISP C
net
access
net
access
net
access
net
access access
net access net
net
1-47
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
…. which must be interconnected
access access
Internet exchange point
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
1-48
Internet structure: network of networks
… and regional networks may arise to connect access nets to
ISPS
access access
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
access
net regional net
access
net
access access
net access net
net
1-49
Internet structure: network of networks
… and content provider networks (e.g., Google, Microsoft,
Akamai ) may run their own network, to bring services, content
close to end users
access access
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
Content provider network
access IXP access
net ISP B net
access
ISP B
net
access
net
access
net regional net
access
net
access access
net access net
net
1-50
Internet structure: network of networks
Tier 1 ISP Tier 1 ISP Google
1-51
Tier-1 ISP: e.g., Sprint
1-52