Professional Documents
Culture Documents
An Internet Perspective
Fall 2010
HKUST
• Communication services
provided to apps:
– Reliable data delivery from
source to destination
– “Best effort” (unreliable) data
delivery
Hi
TCP connection
request
Hi
TCP connection
Got the response
time?
Get http://www.awl.com/kurose-ross
2:00
time <file>
Access networks,
physical media: wired,
wireless communication
links
Network core:
Interconnected routers
Network of networks
Client/server model
Client host requests, receives
service from always-on server
E.g. Web browser/server; email
client/server
client/server
Peer-peer model:
Minimal (or no) use of dedicated
servers
E.g. Skype, BitTorrent
coverage Bluetooth
WWAN (3G,4G?) UWB
RFID
WMAN (Wi-Max)
WLAN (Wi-Fi)
WPAN
wireless
laptops
to/from
cable router/
cable
modem firewall
headend
wireless
access
Ethernet point
CSIT 561 (Fall 2010) Introduction 1-25
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
– Category 5:
• Guided media:
100Mbps Ethernet
– Signals propagate in solid media:
copper, fiber, coax
• Unguided media:
– Signals propagate freely, e.g.,
radio
Signal at Receiver
Signal at Sender
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
1.5 Mb/s
B
queue of packets
waiting for output
link
D E
• Roughly hierarchical
• At center: “tier-1” ISPs (e.g., Verizon, Sprint, AT&T, Cable and
Wireless), national/international coverage
– Treat each other as equals
Tier-1
providers
Tier 1 ISP
interconnect
(peer)
privately
Tier 1 ISP Tier 1 ISP
to/from backbone
peering
… …
.
…
…
to/from customers
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
Tier-2 ISP is
customer of
tier-1 provider Tier 1 ISP Tier 1 ISP Tier-2 ISP
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
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
CSIT 561 (Fall 2010) Introduction 1-42
Internet Structure: Network of Networks
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Tier 1 ISP
B
packets queueing (delay)
B
nodal
processing queueing
B
nodal
CSIT 561 (Fall 2010) processing queueing
Introduction 1-47
Caravan Analogy
100 km 100 km
ten-car toll toll
caravan booth booth
• Cars “propagate” at • Time to “push” entire
100 km/hr caravan through toll booth
• Toll booth takes 12 sec to onto highway = 12*10 = 120
service a car (transmission sec
time) • Time for last car to
• car~bit; caravan ~ packet propagate from 1st to 2nd
toll both:
• Q: How long until caravan is
100km/(100km/hr)= 1 hr
lined up before 2nd toll
booth? • A: 62 minutes
CSIT 561 (Fall 2010) Introduction 1-48
Caravan Analogy (more)
100 km 100 km
ten-car toll toll
caravan booth booth
• Yes! After 7 min, 1st car at 2nd
• Cars now “propagate” at booth and 3 cars still at 1st
1000 km/hr booth.
• Toll booth now takes 1 min • 1st bit of packet can arrive at
to service a car 2nd router before packet is
• Q: Will cars arrive to 2nd fully transmitted at 1st router!
booth before all cars – See Ethernet applet at AWL Web
serviced at 1st booth? site
3 probes 3 probes
3 probes
buffer
(waiting area) packet being transmitted
A
B
packet arriving to
full buffer is lost
CSIT 561 (Fall 2010) Introduction 1-53
Throughput
• Throughput: rate (bits/time unit) at which bits transferred
between sender/receiver
– Instantaneous: rate at given point in time
– Average: rate over long(er) period of time
server,
server sendswith link
bits pipe capacity
that can carry link that
pipe capacity
can carry
file of
(fluid) F bits
into pipe Rs bits/sec
fluid at rate Rfluid
c bits/sec
at rate
to send to client Rs bits/sec) Rc bits/sec)
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck link
link on end-end path that constrains end-end throughput
CSIT 561 (Fall 2010) Introduction 1-55
Throughput: Internet Scenario
Rs
• Per-connection end-end
Rs Rs
throughput:
min(Rc,Rs,R/10)
• In practice: Rc or Rs is R
often bottleneck
Rc Rc
Rc
1. Select target
2. Break into hosts
around the network
(see malware)
target
3. Send packets toward
target from
compromised hosts
A C
A C
C
A
later …..
C
A
2007:
• ~500 million hosts
• Voice, Video over IP
• P2P applications: BitTorrent (file
sharing), Skype (VoIP), PPLive
(video)
• More applications: YouTube,
gaming
• Wireless, mobility