Chapter 1 3newversion
Chapter 1 3newversion
AND COMPUTER
NETWORKS (DCN) CSC339
Instructor
Shahzad Rizwan
Assiatant Professor
COMSATS University Islamabad, Attock Campus
1
Last class Topics
Chapter 1
network edge; hosts,
access net,
• Different types of
access network
Physical media
Computer
Networking: A Top
Down Approach
7th edition
Jim Kurose, Keith Ross
Pearson/Addison Wesley
April 2016
Computer
Networking: A Top
Down Approach
7th edition
Jim Kurose, Keith Ross
Pearson/Addison Wesley
April 2016
frequency
time
TDM
frequency
time
Introduction 1-6
circuit switching
mobile network
A
communicate B global ISP
with B, and
needs home
1.5MB data network
D regional ISP
rate
Call setup
Transmit data C
institutional
network
Introduction 1-7
Packet-switching: store-and- segment idle can b used by others
forward commonly used in Internet
For bursty data
in diagram, each link 2MB
• A wants to communicate
with B, and needs 1.5MB
data rate mobile network
Transmit data B
Transmit data
Sharing resources homeD
network
• No guaranteed delivery regional ISP
institutional
network Introduction 1-8
Packet-switching: store-and-forward
L bits L
per packet
R R R
source 3
destination
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
Introduction 1-11
Packet switching versus circuit switching
is packet switching a “slam dunk winner?”
great for bursty data
• resource sharing
• simpler, no call setup
excessive congestion possible: packet delay and loss
• protocols needed for reliable data transfer, congestion
control
Q: How to provide circuit-like behavior?
• bandwidth guarantees needed for audio/video apps
• still an unsolved problem (chapter 7)
L5 , L4 , L3 , L2 , L1 R L1 R R
L1
L2 destination
L3 L2 L L3 L2 L1
5sec4sec3sec2sec 1sec L4 L3 4
5 packets example: L5 L4 L5
L5
L = 7.5 Mbits One packet example:
Divide it in 5 packets, L1 , L2 , L3 , L4 , L = 7.5 Mbits
L5 ,=7.5/5=1.5Mbps R = 1.5 Mbps
one-hop transmission
delay = 5 sec
3 hops delay = 3*5
Introduction 1-14
Switching Strategies
routing algorithm