Chapter 1 Computer Network and Internet
Chapter 1 Computer Network and Internet
01/22/2024 1
Outline
Our goal: get “feel” some basic terminology and
concepts.
1.1 What is the Internet?
1.2 Network edge
• end systems, access networks, links
1.3 Network core
• network structure
1.4 Delay, loss and throughput
1.5 Protocol layers, service models (self-studying)
1.6 Networks under attack: security (self-studying)
1.7 History (self-studying)
01/22/2024 2
What’s the Internet?
PC millions of connected mobile network
server computing devices:
wireless
• hosts = end systems = global ISP
laptop end devices
smartphone • running network apps
home
communication links network
regional ISP
fiber, copper, radio,
wireless
links satellite
wired transmission rate:
links bandwidth
01/22/2024 1-3
What’s the Internet
mobile network
Internet: “network of networks”
• Interconnected ISPs
global ISP
protocolscontrol sending,
receiving of msgs home
network
• e.g., TCP, IP, HTTP, Skype, 802.11 regional ISP
Internet standards
• RFC: Request for comments
• IETF: Internet Engineering Task
Force
institutional
network
01/22/2024
1-6
What’s the Internet: a service view
mobile network
Infrastructure that provides
services to applications:
global ISP
• Web, VoIP, email, games, e-
commerce, social nets, …
provides programming interface home
network
to apps regional ISP
• hooks that allow sending and
receiving app programs to
“connect” to Internet
• provides service options,
analogous to postal service
institutional
network
01/22/2024 1-7
What’s a protocol?
human protocols: network protocols:
• “what’s the time?” • machines rather than humans
• “I have a question” • all communication activity in
• introductions Internet governed by
protocols
… specific msgs sent
… specific actions taken protocols define format,
when msgs received, or order of msgs sent and
other events received among network
entities, and actions taken
on msg transmission,
receipt
01/22/2024
1-8
What’s 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
01/22/2024 10
A closer look at network structure
home
access networks, physical network
media: wired, wireless regional ISP
communication links
network core:
interconnected routers
network of networks
institutional
network
01/22/2024 1-11
Access networks and physical media
01/22/2024 12
Access networks and physical media
keep in mind:
bandwidth (bits per
second) of access
network?
shared or dedicated?
01/22/2024 1-13
Ethernet Internet access
01/22/2024 14
Home networks
01/22/2024 15
Digital Subscriber Line (DSL)
01/22/2024 17
Residential access: cable modems
01/22/2024 18
Residential access: cable modems
01/22/2024 19
Outline
01/22/2024 21
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
01/22/2024 22
Network Core: Circuit Switching
01/22/2024 23
Network Core: Packet
Switching
Each end-end data stream divided into Resource contention:
packets • aggregate resource demand can
• user A, B packets share network exceed amount available
resources • congestion: packets queue, wait for
• each packet uses full link bandwidth link use
• resources used as needed • store and forward: packets move one
hop at a time
• node receives complete packet before
forwarding
01/22/2024 24
Packet-switching: store-and-forward
01/22/2024 25
Internet structure: network of networks
01/22/2024 26
Tier-1 ISP: e.g., Sprint
01/22/2024 27
Internet structure: network of networks
01/22/2024 28
Internet structure: network of networks
01/22/2024 29
Internet structure: network of networks
01/22/2024 30
Outline
01/22/2024 32
Four sources of packet delay
01/22/2024 33
Four sources of packet delay
01/22/2024 34
“Real” Internet delays and routes
01/22/2024 35
“Real” Internet delays and routes
01/22/2024 36
Packet loss
01/22/2024 37
Throughput
01/22/2024 38
Throughput (more)
01/22/2024 39
Throughput: Internet scenario
• per-connection end-end
throughput:
min(Rc,Rs,R/10)
• in practice: Rc or Rs is
often bottleneck
01/22/2024 40
Protocol “Layers”
01/22/2024 41
Organization of air travel
01/22/2024 42
Layering of airline functionality
01/22/2024 43
Why layering?
01/22/2024 44
Internet protocol stack
• application: supporting network applications
• FTP, SMTP, HTTP
• transport: process-process data transfer
• TCP, UDP
• network: routing of datagrams from source
to destination
• IP, routing protocols
• link: data transfer between neighboring
network elements
• Ethernet, 802.111 (WiFi), PPP
• physical: bits “on the wire”
01/22/2024 45
(F&M) Figure 1.13: Communication through an internet
01/22/2024 46
(F&M) Figure 1.14: Logical connections between layers in
TCP/IP
01/22/2024 47
Encapsulation
01/22/2024 48
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!
• these services, if needed, must be
implemented in application
• needed?
01/22/2024 49
Who runs Internet?
01/22/2024 50
Internet Standards
01/22/2024 51
Outline
1.1 What is the Internet?
1.2 Network edge
• end systems, access networks, links
1.3 Network core
• network structure
1.4 Delay, loss and throughput
1.5 Protocol layers, service models
1.6 Networks under attack: security
1.7 History
01/22/2024 52