Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction
Computer Networking:
A Top Down Approach ,
5th or 6th edition.
Jim Kurose, Keith Ross
Addison-Wesley.
Introduction
1-1
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
1-2
millions of
server
connected
computing devices:
wireless
laptop
hosts = end systems
cellular
running network
handheld
communication
apps
links
access
points
wired
links
router
Mobile network
Global ISP
Home network
Regional ISP
Institutional network
1-3
Internet phones
1-4
Internet: network of
networks
loosely hierarchical
public Internet versus
private intranet
Mobile network
Global ISP
Home network
Regional ISP
Institutional network
Internet standards
RFC: Request for
comments
IETF: Internet Engineering
Introduction
Task Force
1-5
1-6
Whats a protocol?
human protocols:
whats the time?
I have a question
introductions
specific msgs sent
specific actions
taken when msgs
received, or other
events
Introduction
network protocols:
machines rather
than humans
all communication
activity in Internet
governed by
protocols
1-7
Whats 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
Introduction
1-8
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-9
interconnected routers
network of networks
Introduction
1-10
client/server model
peer-peer model:
1-11
loss: acknowledgements
and retransmissions
TCP - Transmission
Control Protocol
Internets connectionoriented service
Introduction
1-12
Introduction
Dial-up Modem
central
office
home
PC
home
dial-up
modem
telephone
network
Internet
ISP
modem
(e.g., AOL)
home
phone
Internet
DSLAM
telephone
network
splitter
DSL
modem
home
PC
central
office
cable headend
cable distribution
network (simplified)
Introduction
home
1-16
cable headend
cable distribution
network
Introduction
home
1-17
cable headend
cable distribution
network (simplified)
Introduction
home
1-18
V
I
D
E
O
V
I
D
E
O
V
I
D
E
O
V
I
D
E
O
V
I
D
E
O
V
I
D
E
O
D
A
T
A
D
A
T
A
C
O
N
T
R
O
L
Channels
cable headend
cable distribution
network
Introduction
home
1-19
Institutional
router
To Institutions
ISP
100 Mbps
1 Gbps
100 Mbps
server
Ethernet
Today, end systems typically connect into
Ethernet switch
wireless LANs:
router
base
station
802.11b/g (WiFi): 11 or 54
Mbps
Introduction
mobile
hosts
1-21
Physical Media
Bit: propagates between
transmitter/rcvr pairs
physical link: what lies
between transmitter &
receiver
guided media:
signals propagate in solid
media: copper, fiber, coax
unguided media:
Introduction
1-22
Coaxial cable:
two concentric copper
conductors
bidirectional
baseband:
single channel on cable
legacy Ethernet
broadband:
high-speed point-to-point
transmission (e.g., 10s100s Gps)
electromagnetic noise
multiple channels on
cable
Introduction
1-23
Introduction
terrestrial microwave
3G cellular: ~ 1 Mbps
4G cellular: ~ 21 Mbps
satellite
1-24
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-25
1-26
Introduction
1-27
pieces
frequency division
time division
pieces allocated to
calls
resource piece idle if
not used by owning
call (no sharing)
Introduction
1-28
4 users
frequency
time
TDM
frequency
time
Introduction
1-29
resource contention:
aggregate resource demand
can exceed amount available
congestion: packets queue, wait
for link use
Node receives complete packet
before forwarding
1-30
Introduction
1-31
Tier 1 ISP
Tier 1 ISP
Introduction
Tier 1 ISP
1-32
Introduction
1-33
Tier-2 ISP
Tier-2 ISP
Tier 1 ISP
Tier 1 ISP
Tier-2 ISP
Introduction
Tier 1 ISP
Tier-2 ISPs
also peer
privately with
each other.
Tier-2 ISP
Tier-2 ISP
1-34
Tier 3
ISP
Tier-2 ISP
local
ISP
local
ISP
local
ISP
Tier-2 ISP
Tier 1 ISP
Tier 1 ISP
Tier-2 ISP
local
local
ISP
ISP
Introduction
Tier 1 ISP
Tier-2 ISP
local
ISP
Tier-2 ISP
local
ISP
1-35
Tier 3
ISP
Tier-2 ISP
local
ISP
local
ISP
local
ISP
Tier-2 ISP
Tier 1 ISP
Tier 1 ISP
Tier-2 ISP
local
local
ISP
ISP
Introduction
Tier 1 ISP
Tier-2 ISP
local
ISP
Tier-2 ISP
local
ISP
1-36
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-37
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction
1-38
1. Processing delay:
check bit errors
determine output link
transmission
propagation
B
nodal
processing
queueing
Introduction
1-39
Delay in packet-switched
networks
3. Transmission delay:
R=link bandwidth
(bps)
L=packet length
(bits)
time to send bits into
link = L/R
4. Propagation delay:
d = length of physical
link
s = propagation speed
in medium (~2x108
m/sec)
propagation delay =
d/s
transmission
propagation
B
nodal
queueing
processingIntroduction
1-40
Caravan analogy
100 km
ten-car
caravan
toll
booth
cars propagate at
100 km/hr
toll booth takes 12 sec
to service car
(transmission time)
car~bit; caravan ~
packet
Q: How long until
caravan is lined up
before 2nd toll booth?
Introduction
100 km
toll
booth
1-41
Caravan analogy
100 km
ten-car
caravan
toll
booth
cars propagate at
100 km/hr
toll booth takes 12 sec
to service car
(transmission time)
car~bit; caravan ~
packet
Q: How long until
caravan is lined up
before 2nd toll booth?
Introduction
100 km
toll
booth
toll
booth
100 km
toll
booth
1-43
toll
booth
100 km
toll
booth
Nodal delay
d nodal d proc d queue d trans d prop
dproc = processing delay
typically a few microsecs or less
1-45
3 probes
Introduction
1-46
1-47
packet arriving to
full buffer is lost
Introduction
1-48
Throughput
throughput: rate (bits/time unit) at
which bits transferred between
sender/receiver
instantaneous: rate at given point in
time
average: rate over longer period of
time
link
capacity
that
can carry
server,
server
sendswith
bits pipe
fluid
at rate
file of
F bits
(fluid)
into
pipe
Rs bits/sec
to send to client
Rs bits/sec)
Introduction
link that
capacity
pipe
can carry
at rate
Rfluid
c bits/sec
Rc bits/sec)
1-49
Throughput (more)
Rs < Rc What is average end-end
throughput?
Rs bits/sec
Rs
Rc bits/sec
Introduction
Rc bits/sec
1-50
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-51
Protocol Layers
Networks are
complex!
many pieces:
hosts
routers
links of various
media
applications
protocols
hardware,
software
Introduction
Question:
Is there any hope of
organizing structure
of network?
Or at least our
discussion of
networks?
1-52
ticket (complain)
baggage (check)
baggage (claim)
gates (load)
gates (unload)
runway takeoff
runway landing
airplane routing
airplane routing
airplane routing
a series of steps
Introduction
1-53
Layering of airline
functionality
ticket (purchase)
ticket (complain)
ticket
baggage (check)
baggage (claim
baggage
gates (load)
gates (unload)
gate
runway (takeoff)
runway (land)
takeoff/landing
airplane routing
airplane routing
airplane routing
departure
airport
airplane routing
airplane routing
intermediate air-traffic
control centers
arrival
airport
1-54
Why layering?
Dealing with complex systems:
explicit structure allows identification,
relationship of complex systems pieces
1-55
application
transport
network
link
physical
1-56
Introduction
application
presentation
session
transport
network
link
physical
1-57
Encapsulatio
n
source
message
segment
Ht
datagram Hn Ht
frame Hl Hn Ht
M
M
M
M
application
transport
network
link
physical
link
physical
switch
destination
M
Ht
Hn Ht
Hl Hn Ht
application
transport
network
link
physical
Hn Ht
Hl Hn Ht
network
link
physical
Hn Ht
router
Introduction
1-58
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-59
Chapter 1: roadmap
1.1 What is the Internet?
1.2 Network edge
end systems, access networks, links
structure
1-60
Internet History
1961-1972: Early packet-switching principles
1972:
ARPAnet public
demonstration
NCP (Network Control
Protocol) first host-host
protocol
first e-mail program
ARPAnet has 15 nodes
1-61
Internet History
1972-1980: Internetworking, new and proprietary nets
1-62
Internet History
1980-1990: new protocols, a proliferation of networks
1983: deployment of
TCP/IP
1982: smtp e-mail
protocol defined
1983: DNS defined
for name-to-IPaddress translation
1985: ftp protocol
defined
1988: TCP
congestion control
Introduction
100,000 connected
hosts
1-63
Internet History
1990, 2000s: commercialization, the Web, new apps
Introduction
1-64
Internet History
2007:
~500 million hosts
Voice, Video over IP
P2P applications: BitTorrent
(file sharing) Skype (VoIP),
PPLive (video)
more applications: YouTube,
gaming
wireless, mobility
Introduction
1-65
Introduction: Summary
Covered a ton of
material!
Internet overview
whats a protocol?
network edge, core,
access network
packet-switching
versus circuitswitching
Internet structure
performance: loss,
delay, throughput
layering, service models
security
Introduction
1-66