Professional Documents
Culture Documents
Introduction 1-1
A closer look at network structure:
network edge: applications
and hosts
network core:
routers
network of networks
access networks, physical
media: communication links
Introduction 1-2
The network edge:
Introduction 1-3
The network edge:
client/server model
client host requests, receives
service from always-on server
e.g. Web browser/server;
email client/server
Introduction 1-4
The network edge:
peer-peer model:
minimal (or no) use of
dedicated servers
Introduction 1-5
Internet Services Models
Connection-oriented service
Connectionless service
Applications
FTP, Internet Phone, Web, Internet radio,
email
Introduction 1-6
Connection-oriented service
Goal: data transfer between end systems
handshaking: setup (prepare for) data
transfer ahead of time
TCP - Transmission Control Protocol
Internet’s connection-oriented service
reliable, in-order byte-stream data transfer
• loss: acknowledgements and retransmissions
flow control:
• sender won’t overwhelm receiver
congestion control:
• senders “slow down sending rate” when network congested
Introduction 1-7
Connectionless service
Introduction 1-8
A Comparison
Introduction 1-9
The Network Core
mesh of interconnected
routers
the fundamental
question: how is data
transferred through net?
circuit switching:
dedicated circuit per
call: telephone net
packet-switching: data
sent thru net in
discrete “chunks”
Introduction 1-10
Network Core: Circuit Switching
End-end resources
reserved for “call”
link bandwidth, switch
capacity
dedicated resources:
no sharing
circuit-like
(guaranteed)
performance
call setup required
frequency
time
TDM
frequency
time
Introduction 1-13
Network Core: Packet Switching
Introduction 1-14
Packet Switching: Statistical Multiplexing
10 Mb/s
A Ethernet statistical multiplexing C
1.5 Mb/s
B
queue of packets
waiting for output
link
D E
Introduction 1-15
Packet switching versus circuit switching
Packet switching allows more users to use network!
1 Mb/s link
each user:
100 kb/s when “active”
active 10% of time
N users
circuit-switching:
1 Mbps link
10 users
packet switching:
with 35 users,
probability > 10 active
less than .0004
Introduction 1-16
Packet switching versus circuit switching
Is packet switching a “slam dunk winner?”
Great for bursty data
resource sharing
simpler, no call setup
Introduction 1-17
Packet-switching: store-and-forward
L
R R R
Introduction 1-18
Packet-switched networks: forwarding
Goal: move packets through routers from source to
destination
datagram network:
destination address in packet determines next hop
routes may change during session
analogy: driving, asking directions
virtual circuit network:
each packet carries tag (virtual circuit ID), tag
determines next hop
fixed path determined at call setup time, remains fixed
thru call
routers maintain per-call state
Introduction 1-19
Introduction 1-20
Network Taxonomy
Telecommunication
networks
Circuit-switched Packet-switched
networks networks
Keep in mind:
bandwidth (bits per
second) of access
network?
shared or dedicated?
Introduction 1-22
Residential access: point to point access
Introduction 1-24
Cable Network Architecture: Overview
cable headend
home
cable distribution
network (simplified)
Introduction 1-25
Cable Network Architecture: Overview
cable headend
home
cable distribution
network (simplified)
Introduction 1-26
Company access: local area networks
company/univ local area
network (LAN) connects
end system to edge router
Ethernet:
shared or dedicated link
connects end system
and router
10 Mbs, 100Mbps,
Gigabit Ethernet
LANs: chapter 5
Introduction 1-27
Wireless access networks
shared wireless access
network connects end system
to router router
via base station aka “access
point” base
wireless LANs: station
802.11b (WiFi): 11 Mbps
Introduction 1-28
Home networks
Typical home network components:
ADSL or cable modem
router/firewall/NAT
Ethernet
wireless access
point
wireless
to/from laptops
cable router/
cable
modem firewall
headend
wireless
access
Ethernet point
Introduction 1-29
Physical Media
Twisted Pair (TP)
Bit: propagates between two insulated copper
transmitter/rcvr pairs wires
physical link: what lies Category 3: traditional
between transmitter & phone wires, 10 Mbps
receiver Ethernet
guided media:
Category 5:
100Mbps Ethernet
signals propagate in solid
media: copper, fiber, coax
unguided media:
signals propagate freely,
e.g., radio
Introduction 1-30
Physical Media: coax, fiber
Coaxial cable: Fiber optic cable:
glass fiber carrying light
two concentric copper
pulses, each pulse a bit
conductors
high-speed operation:
bidirectional
high-speed point-to-point
baseband: transmission (e.g., 5 Gps)
single channel on cable low error rate: repeaters
legacy Ethernet spaced far apart ; immune
broadband: to electromagnetic noise
multiple channel on cable
HFC
Introduction 1-31
Physical media: radio
signal carried in Radio link types:
electromagnetic terrestrial microwave
spectrum e.g. up to 45 Mbps channels
Tier-1 providers
also interconnect
Tier-1 at public network
providers
Tier 1 ISP
NAP access points
interconnect (NAPs)
(peer)
privately
Tier 1 ISP Tier 1 ISP
Introduction 1-33
Tier-1 ISP: e.g., Sprint
Sprint US backbone network
Introduction 1-34
Internet structure: network of networks
“Tier-2” ISPs: smaller (often regional) ISPs
Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs
Tier-2 ISPs
Tier-2 ISP pays Tier-2 ISP also peer
Tier-2 ISP privately with
tier-1 ISP for
connectivity to Tier 1 ISP each other,
rest of Internet NAP interconnect
tier-2 ISP is at NAP
customer of
tier-1 provider Tier 1 ISP Tier 1 ISP Tier-2 ISP
Introduction 1-35
Internet structure: network of networks
“Tier-3” ISPs and local ISPs
last hop (“access”) network (closest to end systems)
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Local and tier- Tier-2 ISP Tier-2 ISP
3 ISPs are
customers of Tier 1 ISP
higher tier NAP
ISPs
connecting
them to rest
Tier 1 ISP Tier 1 ISP Tier-2 ISP
of Internet
local
Tier-2 ISP Tier-2 ISP
ISP
local local local
ISP ISP ISP Introduction 1-36
Internet structure: network of networks
a packet passes through many networks!
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Tier 1 ISP
NAP
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction 1-38
Four sources of packet delay
1. nodal processing: 2. queueing
check bit errors time waiting at output
determine output link link for transmission
depends on congestion
level of router
transmission
A propagation
B
nodal
processing queueing
Introduction 1-39
Delay in packet-switched networks
3. Transmission delay: 4. Propagation delay:
R=link bandwidth (bps) d = length of physical link
L=packet length (bits) s = propagation speed in
time to send bits into medium (~2x108 m/sec)
link = L/R propagation delay = d/s
B
nodal
processing queueing
Introduction 1-40
Nodal delay
d nodal d proc d queue d trans d prop
Introduction 1-41
Packet loss
queue (aka buffer) preceding link in buffer
has finite capacity
when packet arrives to full queue, packet is
dropped (aka lost)
lost packet may be retransmitted by
previous node, by source end system, or not
retransmitted at all
Introduction 1-42
Introduction 1-43