CE463-Chapter01-Introduction
CE463-Chapter01-Introduction
Introduction
Class textbook:
Computer Networking: A Top-
Down Approach (8th ed.)
A note on the use of these Powerpoint slides: J.F. Kurose, K.W. Ross
We’re making these slides freely available to all (faculty, students, readers). Pearson, 2020
They’re in PowerPoint form so you see the animations; and can add, modify, http://gaia.cs.umass.edu/kurose_ross
and delete slides (including this one) and slide content to suit your needs.
They obviously represent a lot of work on our part. In return for use, we only
ask the following:
If you use these slides (e.g., in a class) that you mention their source
(after all, we’d like people to use our book!)
If you post any slides on a www site, that you note that they are adapted
from (or perhaps identical to) our slides, and note our copyright of this
material.
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.4 Delay, loss, throughput in networks
1.5 Protocol layers, service models
Introduction 1-2
What’s the Internet: “nuts and bolts” view
PC Millions of connected computing mobile network
server devices:
Hosts = End systems global ISP
wireless
laptop Running network apps
smartphone
home
network
Communication Links regional ISP
wireless Fiber, copper, radio.
links Transmission rate:
wired
links bandwidth (bps)
bps
switch
Routers and Switches
Forward packets (chunks
of data) institutional
network
router
Packet
Message
Introduction 1-4
Hub Switch Router
(Layer 1) (Layer 2) (Layer 3)
Introduction 2-5
What’s a Protocol?
Hi TCP connection
Client request
Hi TCP connection
response Server
Got the
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time
Introduction 1-6
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 Delay, loss, throughput in networks
1.5 Protocol layers, service models
Introduction 1-7
A closer look at network structure
home
Access networks, physical media: network
Wired, wireless communication regional ISP
links
Network core:
Interconnected routers
Network of networks
institutional
network
Introduction 1-8
Access Net: Digital Subscriber Line (DSL) 1
Central office Telephone
network
DSL splitter
modem DSLAM
ISP
voice, data transmitted
at different frequencies over DSL access
dedicated line to central office multiplexer
DSLAM: Digital Subscriber Line Access Multiplexer
Cable splitter
modem
C
O
V V V V V V N
I I I I I I D D T
D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channels
Introduction 1-10
Access Net: Cable Network 2
Cable headend
keep in mind:
Bandwidth (bits per second)
Shared or dedicated?
Cable DSL
Introduction 1-12
LTE: Long-Term Evolution
to Internet
to Internet
Introduction 1-13
II. Residential Network
Wireless
Devices
Introduction 1-14
III. Institutional Access Networks
institutional link to
ISP (Internet)
institutional router
Introduction 1-15
Physical Media: Guided vs Unguided
Physical Media
Unguided Media
Guided Media
(Free
(Solid Media)
Propagation
Introduction 1-16
I. Guided Media: Twisted Pair, Coax and Fiber
I. Twisted Pair (TP) III. Fiber optic cable:
II. Coaxial cable:
Introduction 1-17
II. Unguided Media: Radio
Introduction 1-18
Chapter 1: Roadmap
Introduction 1-19
Core Nodes
Core Nodes
Packet Circuit
Switching Switching
(Unit: Packet) (Unit: Message)
Introduction 1-20
I. Packet Switching
Introduction 1-21
Topologies
Introduction 1-22
Fully Connected Topology
N * ( N 1)
L
2
Introduction 2-23
Two Key Network-Core Functions
Routing Algorithms
Routing Algorithm
Characteristics
Call setup
Low Utilization
Introduction 1-25
Circuit Switching: FDM versus TDM
Example:
FDM 4 users
frequency
time
TDM
frequency
time
FDM: Frequency Division Multiplexing
Introduction 1-26
TDM: Time Division Multiplexing
1.536 Mbps
24 slots
Numerical Example
How long does it take to send a file of 640,000 bits from host A to
host B over a circuit-switched network?
All links are 1.536 Mbps= 1.536x106 bps bits
Time sec
Each link uses TDM with 24 slots bits / sec
500 msec to establish end-to-end circuit
Answer
• L=640,000 bits
• Rper_slot =1.536Mbps/24 = 64,000bps
• Rper_slot=64,000bps
𝑳
• Transmission Time= =640,000bits/64,000bps=10 sec
𝑹
• Call Setup Time=500msec=500*10-3sec=0.5 sec
Introduction 1-29
FOUR sources of packet delay
Transmission
Delay
Tx Rx
Propagation
Delay
Introduction 2-31
Caravan Analogy Scenario 1
100 km 100 km
ten-car toll toll
caravan booth booth 100km 1hr
100km X
Cars “propagate” at 100 km/hr X=1hr=60min
Toll booth takes 12 sec to service car (bit transmission time)
car~bit; caravan ~ packet
Time to “push” entire caravan through toll booth onto highway = 12*10
= 120 sec
Time for last car to propagate from 1st to 2nd toll both:
100km/(100km/hr)= 1 hr
A: 62 minutes
Introduction 1-32
Caravan Analogy Scenario 2
100 km 100 km
ten-car toll toll
caravan booth booth
1000km 1hr
Suppose cars now “propagate” at 1000 km/hr 100km X
X=0.1hr = 6min
and suppose toll booth now takes one min to service a car
Q: Will cars arrive to 2nd booth before all cars serviced at 1st booth?
1000km 60 min
100km x
X=(100km*60min)/1000km=6min
Yes after 7 min, 1st car arrives at second booth; but three cars still
at 1st booth. Introduction 1-33
Queuing delay (revisited)
R: link bandwidth (bps)
Average Queueing
L: packet length (bits)
a: average packet arrival rate
Delay
Traffic Intensity
La/R ~ 0: Avg. queueing delay small
La/R 1: Avg. queueing delay large
La/R > 1: More “work” arriving Traffic Intensity
than can be serviced, average delay infinite! = La/R
La/R ~ 0
L : bits/packe ts
a : packets/se c
R : bits/sec
bits packets
*
La packets sec bits / sec
Traffic Intensity La/R unitless
R bits bits / sec
sec
La/R -> 1
Introduction 1-34
Packet Loss
Queue (aka buffer) preceding link in buffer has finite capacity
B
packet arriving to
full buffer is lost
Introduction 1-35
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
Introduction 1-36
Throughput (more)
Rs < Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
Bottleneck link
Link on end-end path that constrains end-end throughput
Introduction 1-37
Throughput: Internet scenario
Rs Rs
In practice:
Rc or Rs is often the bottleneck
Eg:
min(Rc,Rs,R/10) Rc
Rc Rc
min(6,7,80/10)
Introduction 1-39
Layering of Airline Functionality
airplane routing airplane routing airplane routing airplane routing airplane routing
Introduction 1-40
Internet Protocol Stack
Application: Supporting network applications Application 5
FTP, SMTP, HTTP
Introduction 1-42
Internet Protocol Stack
Routing
P2P
Network Layer
Link Layer
3
2
1
A B
E2E
Transport Layer
Introduction 1-43
Protocol Data Units
source
Encapsulation
Message M Application
Segment Ht M Transport
Datagram Hn H t M Network
Frame Hl Hn Ht M Link
Packet
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 H n Ht M Link router
Physical
Message Message
Segment Segment
Datagram Datagram
Frame Frame
Packet Packet
Introduction 3-45