Lecture 2 CN
Lecture 2 CN
Lecture 02
Outline
What is the Internet?
What is a protocol?
Network edge: hosts, access
network, physical media
Network core: packet/circuit
switching, internet structure
Performance: loss, delay, throughput
Security
Protocol layers, service models
History
Introduction: 1-2
A closer look at Internet structure
mobile network
enterprise
network
Introduction: 1-3
A closer look at Internet structure
mobile network
enterprise
network
Introduction: 1-4
A closer look at Internet structure
mobile network
Network core:
network
interconnected routers
network of networks enterprise
network
Introduction: 1-5
Access networks and physical media
Q: How to connect end systems mobile network
to edge router?
national or global ISP
enterprise
network
Introduction: 1-6
Access networks: cable-based access
cable headend
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
DSL splitter
modem DSLAM
to/from headend or
central office
often combined
in single box
to Internet
to Internet
Introduction: 1-11
Access networks: enterprise networks
Enterprise link to
ISP (Internet)
institutional router
Ethernet institutional mail,
switch web servers
local or
regional ISP
Introduction: 1-13
Host: sends packets of data
host sending function:
takes application message
breaks into smaller chunks, known two packets,
as packets, of length L bits L bits each
transmits packet into access
network at transmission rate R 2 1
Introduction: 1-16
Links: physical media
Wireless radio Radio link types:
signal carried in various Wireless LAN (WiFi)
“bands” in electromagnetic • 10-100’s Mbps; 10’s of meters
spectrum wide-area (e.g., 4G/5G cellular)
no physical “wire” • 10’s Mbps (4G) over ~10 Km
broadcast, “half-duplex” (sender Bluetooth: cable replacement
to receiver) • short distances, limited rates
propagation environment terrestrial microwave
effects: • point-to-point; 45 Mbps channels
• reflection satellite
• obstruction by objects • up to < 100 Mbps (Starlink) downlink
• Interference/noise • 270 msec end-end delay (geostationary)
Introduction: 1-17
Chapter 1: roadmap
What is the Internet?
What is a protocol?
Network edge: hosts, access
network, physical media
Network core: packet/circuit
switching, internet structure
Performance: loss, delay, throughput
Security
Protocol layers, service models
History
Introduction: 1-18
The network core
mesh of interconnected routers mobile network
national or global ISP
packet-switching: hosts break
application-layer messages into packets
• network forwards packets from one
router to the next, across links on local or
path from source to destination regional ISP
enterprise
network
Introduction: 1-19
Two key network-core functions
Introduction: 1-21
forwarding
forwarding
Introduction: 1-22
Packet-switching: store-and-
forward
L bits
per packet
3 2 1
source destination
R bps R bps
Introduction: 1-23
Packet-switching: queueing
R = 100 Mb/s
A C
D
B R = 1.5 Mb/s
E
queue of packets
waiting for transmission
over output link
Introduction: 1-24
Packet-switching: queueing
R = 100 Mb/s
A C
D
B R = 1.5 Mb/s
E
queue of packets
waiting for transmission
over output link
Packet queuing and loss: if arrival rate (in bps) to link exceeds
transmission rate (bps) of link for some period of time:
packets will queue, waiting to be transmitted on output link
packets can be dropped (lost) if memory (buffer) in router fills up
Introduction: 1-25
How do packet delay and loss occur?
packets queue in router buffers, waiting for turn for transmission
queue length grows when arrival rate to link (temporarily) exceeds output link
capacity
packet loss occurs when memory to hold queued packets fills up
packet being transmitted (transmission delay)
B
packets in buffers (queueing delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction: 1-26
Packet delay: four sources
transmission
A propagation
B
nodal
processing queueing
B
nodal
processing queueing