Lecture Notes 1 - Introduction
Lecture Notes 1 - Introduction
INTRODUCTION
INTRO 1
one switch network:
INTRO 2
(2) packet switched eg. ATM networks
- i.e., paths used on a per packet basis and, hence, one link
can carry packets from many different paths
associated with different sessions (link is shared in
time)
LAN architecture:
INTRO 3
- small hardware complexity (no switches, few links) and
control complexity distributed to stations rather than
network
INTRO 4
- output queues required because if a link is busy sending a
packet, other packets destined for that link must wait
in a queue
- not all switches have both input and output queues but all
packets will be saved into a queue (or buffer of
memory) at least once in a switch
INTRO 5
(i) Stop-and-Wait Flow Control
Example:
INTRO 6
INTRO 7
(ii) Sliding Window Flow Control
See figures.
Example:
INTRO 8
INTRO 9
(e) Error Control
(1) damaged:
(2) lost:
INTRO 10
(i) Stop-and-Wait ARQ
INTRO 11
(iii) Selective Reject ARQ
Consider W = 8, k = 3:
INTRO 12
(f) Error Detection
Example:
INTRO 13
(ii) Cyclic Redundancy Check (CRC)
- let T = 2rM ⊕ F
INTRO 14
How to choose F so that T/P has no remainder?
and set F = R
Is T now divisible by P?
T/P = (2rM ⊕ R) / P
= (Q ⊕ R/P) ⊕ R/P = Q ∴ yes, divisible by P
eg.
INTRO 15
Example:
INTRO 16
- often binary strings represented as polynomials
eg. 1 1 0 0 1 → x4 + x3 + 1
INTRO 17
- let input = 10110010011011
INTRO 18
(g) Error Detection Calculations
INTRO 19
- probability of k bit errors in a character:
Note that P(1) > P(2) > ... so parity makes sense, since
single bit errors most likely and these will be detected.
INTRO 20
- probability packet has errors but that no errors are
detected:
INTRO 21
(ii) CRC
- probability of no errors:
INTRO 22
- probability that received packet must be retransmitted:
INTRO 23
(h) Communication Architectures
INTRO 24
Application layer: - file transfer commands, file data
See figures.
INTRO 25