Data Link Layer Flow Control
Data Link Layer Flow Control
FLOW CONTROL
Noiseless channel
Simplest
Stop and Wait
Noisy channel
Stop and Wait ARQ
Go back N ARQ
Selective Repeat
1
12-10-2022
SIMPLEST
2
12-10-2022
Go-Back-N ARQ
Go-Back-N ARQ - normal operation
Go-Back-N ARQ - lost frame
Go-Back-N ARQ - damaged/lost/delayed ACK
Selective-Repeat ARQ
Sender and receiver windows
Selective Repeat ARQ - lost frame
STOP-AND-WAIT ARQ
3
12-10-2022
STOP-AND-WAIT ARQ
STOP-AND-WAIT ARQ
4
12-10-2022
5
12-10-2022
PIGGYBACKING
6
12-10-2022
DISADVANTAGE OF STOP-AND-WAIT
GO-BACK-N ARQ
7
12-10-2022
SEQUENCE NUMBERS
8
12-10-2022
CONTROL VARIABLES
9
12-10-2022
CONTROL VARIABLES …
ACKNOWLEDGEMENT
10
12-10-2022
11
12-10-2022
The sender keeps track of the outstanding frames and updates the variables and windows as the
ACKs arrive.
12
12-10-2022
Frame 2 is lost
When the receiver receives frame 3, it discards frame 3 as it
is expecting frame 2 (according to window).
After the timer for frame 2 expires at the sender site, the
sender sends frame 2 and 3. (go back to 2)
13
12-10-2022
14
12-10-2022
15
12-10-2022
16
12-10-2022
REFERENCES
Computer Networks: A Systems Approach, Larry Peterson and Bruce Davie, 5th Ed, The Morgan
Kaufmann Series, Elsevier, 2011.
Computer Networking: A Top-Down Approach Featuring the Internet, J. F. Kurose and K. W. Ross,
6th Ed., Pearson Education,2012.
Data Communications and Networking, Behrouz A. Forouzan, McGraw Hill Education, 5th Ed., 2012
TCP/IP Protocol Suite, Behrouz A. Forouzan, McGraw-Hill Education, 4 Ed., 2009
Data and Computer Communications,William Stallings, Pearson Education,10th Ed,2013.
17