COMP 361 - "Networks ": WWW - Cs.ust - HK/ Golin
COMP 361 - "Networks ": WWW - Cs.ust - HK/ Golin
http://course.cs.ust.hk/comp361/fall2003/html/comp361.html
(or via instructor’s web site) contains all notes,
announcements, etc. Check it regularly!
There is one project (to be announced at start of Oct. Will take one month)
Labs are actually tutorials to review material and time to work on project.
You will be given homework questions to practice on but they will not be
marked
The project will have to be written in Java. Please see the notes
section of the web site
http://course.cs.ust.hk/comp361/spr2003/html/spr03sch.html
under Lab notes (week 1) for a tutorial (re)introduction to Java.
communication services
provided:
Connectionless
Vs.
Connection-oriented
The dichotomy of
connectionless/connection-oriented
service can be applied to different
communication layers. We will return
later to the concept of layering.
network protocols:
human protocols: machines rather than
“what’s the time?”
humans
“I have a question” all communication activity in
introductions Internet governed by
protocols
An important concept is that Communication protocols are
structured in layers. Each protocol layer makes uses of the
services provided by the layer below and provides a service to
the layer above.
Comp361, Fall 2003 Chapter 1: Introduction 11
What’s a protocol?
a human protocol and a computer network protocol:
Hi TCP connection
req.
Hi
TCP connection
Got the reply.
time? Get http://gaia.cs.umass.edu/index.htm
2:00
<file>
time
Switching Paradigm
Circuit Switching vs Packet Switching (or Message Switching) occurs at
the physical switching layer. Circuit Switching is the system usually
used by telephone networks but is not used in the Internet (except, e.g.,
when you dial up to an ISP using a modem).
Circuit Switching
call setup (and tear-down)
required
split bandwidth into “pieces”
by
frequency division or
time division
Bandwidth and switch
resources reserved for the
duration of a call
dedicated resources:
no sharing
circuit-like (guaranteed)
performance
Ex: telephone network
1.5 Mbs
B
queue of packets 45 Mbs
waiting for output
link
D E
Switching Paradigm
Circuit Switching vs Packet Switching (or Message Switching) occurs at
the physical switching layer. Circuit Switching is the system usually
used by telephone networks but is not used in the Internet (except, e.g.,
when you dial up to an ISP using a modem).
Keep in mind:
bandwidth (bits per
second) of access
network?
shared or dedicated?
B
packets queuing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Comp361, Fall 2003 Chapter 1: Introduction 37
Delay in packet-switched networks
packets experience delay 1. nodal processing:
check bit errors
on end-to-end path
determine output link
four sources of delay at
2. queuing:
each hop time waiting at output link
for transmission
depends on congestion
level of router
transmission
A propagation
B
nodal
processing queuing
3 probes 3 probes
3 probes
source destination
M Layer 5 M 5-PDU
Layer 5
H4 M Layer 4 Layer 4 H4 M 4-PDU
H3H4 M Layer 3 Layer 3 H3H4 M 3-PDU
H2 H3H4 M Layer 2 Layer 2 H2 H3H4 M 2-PDU
Layer 1 Layer 1