1
Data Link Layer
Protocols
krraju.in
2
What you’ll learn
Data link layer: Design issues, Framing: fixed size framing, variable size framing, flow control, error control, error detection and correction codes, CRC, Checksum: idea, one’s complement internet checksum, services provided to Network Layer, Elementary Data Link Layer protocols: simplex protocol, Simplex stop and wait, Simplex protocol for Noisy Channel. Sliding window protocol: One bit, Go back N, Selective repeat-Stop and wait protocol, Data link layer in HDLC, Point to point protocol (PPP).
Unit-2
krraju.in
Data Link Protocol
3
Is a set of specifications used to implement the data link layer. Data link protocols differ by message delineation, frame length, and frame field structure.
krraju.in
Asynchronous Protocols
4
It is sometimes called as start-stop transmission.
krraju.in
Synchronous Protocols
5
krraju.in
Bit-oriented Protocols
6
Bit-oriented Protocols
LANs
SDLC
HDLC
LAPs
Local Area Networks
Link Access Procedures
High-level Data Link Control
Synchronous Data Link Control
krraju.in
Data Link Layer Protocols
7
For Noiseless Channel
Simplest/ Unrestricted Simplex
Stop-and Wait
For Noisy Channel
Go-Back-N ARQ
Stop-and Wait ARQ
Selective Repeat ARQ
krraju.in
Unrestricted Simplex Protocol
8
An ideal channel in which no frames are lost, duplicated, or corrupted.
krraju.in
Simplex Stop-and-Wait Protocol
9
Stop-and-Wait Protocol adds flow control to the previous protocol.
However noiseless channels are nonexistent.
krraju.in
Simplex Protocol for Noisy Channel
10
Automatic Repeat reQuest (ARQ): If errors in a transmitted message are detected by the receiving device, it requests the sending device to retransmit the message together with any other messages that may have been affected.
Continuous RQ: If a frame is corrupted during transmission, another copy of the frame is sent.
krraju.in
Stop-and-Wait ARQ
11
In Stop and Wait ARQ, at any point in time for a sender, there is only one frame, the outstanding frame, that is sent and waiting to be acknowledged
krraju.in
Sliding Window Protocol
12
krraju.in
Stop-and-Wait ARQ
13
krraju.in
Stop and Wait ARQ
14
krraju.in
Stop-and-Wait ARQ
15
krraju.in
Stop-and-Wait ARQ
16
krraju.in
Stop-and-Wait ARQ
17
krraju.in
Stop-and-Wait ARQ
18
krraju.in
Stop and Wait Protocol
19
krraju.in
FSM for the Stop and Wait Protocol
20
krraju.in
Recap
21
krraju.in