Chapter 1 V6.1
Chapter 1 V6.1
Introduction
Introduction 1-1
Chapter 1: roadmap
Introduction 1-2
Internet: history
1942 1956 1960’s 1964 1966 1970’s 1976 1978 1983 1984 1985
OSI
ENIAC Transistor IC MULTICS VLSI Apple UNIX
BSD Windows
router
1-3
What’s the Internet: “nuts and bolts” view
PC mobile network
❖ millions of connected computing
server devices:
▪ hosts = end systems global ISP
wireless
laptop ▪ running network apps
smartphone
home
❖ communication links network
regional ISP
▪ fiber, copper, radio,
wireless satellite
links
▪ transmission rate:
wired bandwidth
links
Introduction 1-4
What’s the Internet: “nuts and bolts” view
mobile network
❖ Internet: “network of networks”
▪ Interconnected ISPs
❖ protocols control sending, receiving of global ISP
msgs
▪ e.g., TCP, IP, HTTP, Skype, 802.11
❖ Internet standards home
network
▪ RFC: Request for comments regional ISP
▪ IETF: Internet Engineering Task Force
institutional
network
Introduction 1-5
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 to
home
apps network
▪ hooks that allow sending and receiving regional ISP
app programs to “connect” to Internet
▪ provides service options, analogous to
postal service
institutional
network
Introduction 1-6
What’s a protocol?
Introduction 1-7
What’s a protocol?
Hi TCP connection
request
Hi
TCP connection
response
Got the
time?
Get http://www.awl.com/kurose-ross
2:00
<file>
time
Introduction 1-9
A closer look at network structure:
home
❖ access networks, physical network
regional ISP
media: wired, wireless
communication links
❖ network core:
▪ interconnected routers
▪ network of networks
institutional
network
Introduction 1-10
Host: sends packets of data
1-11
Chapter 1: roadmap
Introduction 1-12
The network core
Introduction 1-13
Packet-switching: store-and-forward
L bits
per packet
source 2 1
destination
R bps R bps
Introduction 1-14
Packet Switching: queueing delay, loss
R = 100 Mb/s C
A
R = 1.5 Mb/s
D
B
queue of packets E
waiting for output link
Introduction 1-15
Two key network-core functions
routing: determines source-destination route forwarding: move packets from router’s input
taken by packets to appropriate router output
▪ routing algorithms
routing algorithm
1
01
1
Introduction 1-17
Packet switching versus circuit switching
example:
▪ 1 Mbps link
▪ each user:
…..
N
• 100 kbps when “active” users
• active 10% of time 1 Mbps link
❖ circuit-switching:
▪ 10 users
❖ packet switching:
▪ with 35 users, probability > 10 active Q: how did we get value 0.0004?
at same time is less than .0004 *
Q: what happens if > 35 users ?
* Check out the online interactive exercises for more examples Introduction 1-18
Packet switching versus circuit switching
Introduction 1-19
Internet structure: network of networks
… access
net
access
net
…
access
net
access
access net
net
access
access net
net
…
…
access access
net net
access
net
access
net
access
net
access
net
… access access …
net access net
net
Internet structure: network of networks
… access
net
access
net
…
access
net
access
access net
net
… … access
access net
net
…
…
…
access access
…
net
scale: O(N2) connections. net
access
net
access
net
access
net
access
…
net
… access access …
net access net
net
Internet structure: network of networks
…
…
global
access ISP access
net net
access
net
access
net
access
net
access
net
… access access …
net access net
net
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors ….
… access
net
access
net
…
access
net
access
access net
net
access
access net
net
ISP A
…
…
access access
net ISP B net
ISP C
access
net
access
net
access
net
access
net
… access access …
net access net
net
Chapter 1: roadmap
Introduction 1-25
How do loss and delay occur?
B
packets queueing (delay)
Introduction 1-26
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
Introduction 1-27
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
* Check out the Java applet for an interactive animation on trans vs. prop delay Introduction 1-28
Caravan analogy
100 km 100 km
ten-car toll toll
caravan booth booth
Introduction 1-29
Queueing delay (revisited)
traffic intensity
= La/R
* Check out the Java applet for an interactive animation on queuing and loss La/R -> 1
Introduction 1-30
Packet loss
buffer
(waiting area) packet being transmitted
A
B
packet arriving to
full buffer is lost
* Check out the Java applet for an interactive animation on queuing and loss Introduction 1-31
Throughput
Introduction 1-32
Chapter 1: roadmap
Introduction 1-33
Protocol “layers”
Introduction 1-34
Organization of air travel
airplane routing
❖ a series of steps
Introduction 1-35
Layering of airline functionality
airplane routing airplane routing airplane routing airplane routing airplane routing
Introduction 1-36
Why layering?
Introduction 1-37
Internet protocol stack
Introduction 1-38
ISO/OSI reference model
Introduction 1-39
source Encapsulation
message M application
segment Ht M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
Hl Hn Ht M link
physical
switch
destination network Hn Ht M
M
application Hl Hn Ht M link Hl Hn Ht M
Ht M
transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Introduction 1-40