Chapter 1
Chapter 1
overview:
Introduction 1-1
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
1-2
millions
of connected
computing devices:
hosts = end systems
running network apps
server
wireless
laptop
mobile network
global ISP
smartphone
communication
wireless
links
wired
links
router
home
network
links
fiber, copper,
radio, satellite
transmission
rate: bandwidth
Packet
switches:
forward packets
(chunks of data)
routers and
regional ISP
institutional
network
Introduction 1-3
Internet: network of
networks
mobile network
global ISP
Interconnected ISPs
home
network
regional ISP
Internet standards
RFC: Request for comments
IETF: Internet Engineering
Task Force
institutional
network
Introductio 1-4
n
Infrastructure that
provides services to
applications:
Web, VoIP, email, games, ecommerce, social nets,
provides programming
interface to apps
global ISP
home
network
regional ISP
Protocol
human protocols:
network protocols:
machines rather
than humans
all communication
activity in Internet
governed by
protocols
protocols define
format, order of
msgs sent and
received among
network entities,
and actions taken
on
Introduction 1-6
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-7
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
1.4
1.5
1.6
1.7
Network Edge
The
network edge:
mobile network
access networks,
physical media:
wired, wireless
communication
links
network core:
global ISP
home
network
regional ISP
interconnected
routers
network of
networks
institutional
network
Introduction 1-10
Introduction 1-11
DSL splitter
modem
telephone
network
DSLAM
ISP
DSL access
multiplexer
cable headend
cable splitter
modem
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 splitter
modem
CMTS
cable modem
termination system
ISP
network
to/from headend or
central office
often combined
in single box
institutional mail,
web servers
wireless LANs:
within building (100 ft)
802.11b/g (WiFi): 11, 54
Mbps transmission rate
to Internet
to Internet
Introduction 1-17
packet
transmission
delay
two packets,
L bits each
2 1
host
time needed to
transmit L-bit
packet into link
L (bits)
R (bits/sec)
1-18
Physical media
Category 5: 100
Mbps, 1 Gpbs
Ethernet
Category 6: 10Gbps
Introduction 1-19
Introduction 1-20
signal carried in
electromagnetic
spectrum
no physical wire
bidirectional
propagation
environment effects:
reflection
obstruction by
objects
interference
satellite
Kbps to 45Mbps channel
(or multiple smaller
channels)
270 msec end-end delay
geosynchronous versus low
altitude
Introduction 1-21
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
Introduction 1-22
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
Introduction 1-24
Packet-switching: store-andforward
L bits
per packet
source
321
R bps
R bps
destination
R = 100 Mb/s
R = 1.5 Mb/s
queue of packets
waiting for output link
D
E
routing: determines
source-destination route
taken by packets
routing algorithms
forwarding: move
routing algorithm
3
2
2
1
1
3 2
11
01
Introduction 1-28
Switching
Switching
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
net
net
access
net
access
net
access
net
access
net
global
ISP
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
ISP A
access
net
ISP B
ISP C
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
net
net
access
net
access
net
IXP
access
net
access
net
ISP A
IXP
access
net
ISP B
ISP C
access
net
peering link
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
IXP
access
net
access
net
ISP A
IXP
access
net
ISP B
ISP C
access
net
access
net
regional net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
access
net
IXP
access
net
access
net
access
net
access
net
ISP B
ISP B
access
net
access
net
regional net
access
net
access
net
access
net
access
net
ISP A
access
net
Tier 1 ISP
IX
P
IX
P
Regional ISP
access
ISP
access
ISP
access
ISP
access
ISP
IX
P
Regional ISP
access
ISP
access
ISP
access
ISP
access
ISP
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
Introduction 1-40
A
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction 1-41
propagation
nodal
processing
queueing
dqueue: queueing
delay
time waiting at
output link for
transmission
depends on Introduction 1-42
propagation
nodal
processing
queueing
* Check out the Java applet for an interactive animation on trans vs. prop delay
Introduction 1-43
Caravan analogy
100 km
ten-car
caravan
100 km
toll
booth
cars propagate at
100 km/hr
toll booth takes 12 sec to
service car (bit
transmission time)
car~bit; caravan ~
packet
Q: How long until
caravan is lined up
before 2nd toll booth?
toll
booth
toll
booth
100 km
toll
booth
Introduction 1-45
3 probes
3 probes
3 probes
Introduction 1-46
Packet loss
queue (aka buffer) preceding link in buffer
has finite capacity
packet arriving to full queue dropped (aka
lost)
lost packet may be retransmitted by
previous node, by source end system, or
not at all
buffer
(waiting area)
B
packet arriving to
full buffer is lost
* Check out the Java applet for an interactive animation on queuing and loss
Introduction 1-47
Throughput
server,
with
server sends
file ofbits
F bits
to(fluid)
send into
to client
pipe
link
capacity
capacity
pipe
that can carry link
pipe
that can carry
fluid at rate
Rs bits/sec
Rc bits/sec
fluid at rate
Rs bits/sec)
Rc bits/sec)
Introduction 1-48
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
Introduction 1-49
Protocol layers
Networks are
complex,
with many pieces:
hosts
routers
links of various
media
applications
protocols
hardware,
software
Introduction 1-50
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-51
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
Why layering?
dealing with complex systems:
application: supporting
network applications
FTP, SMTP, HTTP
transport: process-process
data transfer
application
transport
TCP, UDP
network
link
physical
ISO/OSI reference
model
presentation: allow
applications to interpret
meaning of data, e.g.,
encryption, compression,
machine-specific conventions
session: synchronization,
checkpointing, recovery of
data exchange
Internet stack missing
these layers!
application
presentation
session
transport
network
link
physical
Introduction 1-55
Figure 3-1
OSI Model
Figure 3-2
OSI Layers
Figure 3-3
Figure 3-4
Physical Layer
Figure 3-5
Figure 3-6
Figure 3-7
Network Layer
Figure 3-8
Figure 3-9
Transport Layer
Figure 3-11
Session Layer
Figure 3-12
Presentation Layer
Figure 3-13
Application Layer
Figure 3-14
Figure 2-11
Figure 2-12
Simplex
Figure 2-13
Half-Duplex
Figure 2-14
Full-Duplex
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
end systems, access networks, links
1.3 network core
packet switching, circuit switching, network
structure
Introduction 1-73
Internet history
1961-1972: Early packet-switching principles
1972:
ARPAnet public demo
NCP (Network Control
Protocol) first host-host
protocol
first e-mail program
ARPAnet has 15 nodes
Introduction 1-74
Internet history
1972-1980: Internetworking, new and proprietary nets
Introduction 1-75
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
new national
networks: Csnet,
BITnet, NSFnet,
Minitel
100,000 hosts
connected to
confederation of
networks
Introduction 1-76
Internet history
1990, 2000s: commercialization, the Web,
new apps
early
1990s: ARPAnet
decommissioned
1991: NSF lifts restrictions on
commercial use of NSFnet
(decommissioned, 1995)
early 1990s: Web
hypertext [Bush 1945,
Nelson 1960s]
HTML, HTTP: Berners-Lee
1994: Mosaic, later
Netscape
late 1990s:
commercialization of the
Web
Introduction 1-77
Internet history
2005-present
Introduction 1-78