62
Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P.

Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Embed Size (px)

Citation preview

Page 1: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Chapter 7

Data Link Control &

Data Link Protocol

By Dr.Sukchatri P.

Page 2: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Contents

2/62

•Data Link Control•Line Discipline•Flow Control•Error Control•Data Link Protocols•Asynchronous Protocols•Synchronous Protocols•Character Protocol•Bit-Oriented Protocol

Page 3: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Data Link Control

3/62

Page 4: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Data Link Control Functions

4/62

Page 5: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Line discipline categories

5/62

Page 6: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Line discipline concept : ENQ/ACK

6/62

Page 7: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

ENQ/ACK line discipline

7/62

Page 8: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Poll/Select discipline

8/62

Multipoint discipline

Page 9: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Select

9/62

Page 10: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Poll

10/62

Page 11: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Categories of flow control

11/62

Page 12: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Stop-and-wait

12/62

Page 13: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Sliding window

13/62

Page 14: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Sender sliding window

14/62

Page 15: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Receiver sliding window

15/62

Page 16: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Example of sliding window

16/62

Page 17: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Categories of error control

17/62

Page 18: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Stop-and-wait ARQ

18/62

Page 19: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Stop-and-wait ARQ

19/62

Page 20: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Go-back-n

20/62

Page 21: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Go-back-n

21/62

Page 22: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Go-back-n

22/62

Page 23: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Data Link Protocols

23/62

Page 24: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Asynchronous Protocols

24/62

Page 25: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

XMODEM Frames

25/62

Page 26: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Synchronous Protocols

26/62

Page 27: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

BSC Frames

27/62

Page 28: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

A Simple BSC data frame

28/62

Page 29: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

A BSC frame with a header

29/62

Page 30: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Multiblock frame

30/62

Page 31: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Multiframe transmission

31/62

Page 32: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

BSC Control frame

32/62

Page 33: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Control Frame

33/62

Page 34: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Control Frame

34/62

Page 35: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Control Frame

35/62

Page 36: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Byte stuffing

36/62

Page 37: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Bit-Oriented Protocols

37/62

Page 38: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLS Configurations

38/62

Page 39: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLS Configurations

39/62

Page 40: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLS Configurations

40/62

Page 41: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Modes

41/62

Page 42: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Frame types

42/62

Page 43: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Frame types

43/62

Page 44: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Frame types

44/62

Page 45: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Flag Field

45/62

Page 46: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Bit Stuffing in HDLC

46/62

Page 47: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Address field

47/62

Page 48: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Control Fields

48/62

I-Frame : Information field , contains the user’s dataS-Frame : Supervisory frames, acknowledgment, flow control, & error controlU-Frame : Unnumbered frames , exchange session management and control information between connected devices.

Page 49: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Poll/Final in HDLC

49/62

Page 50: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

HDLC Information Field

50/62

Page 51: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

FCS Field

51/62

Page 52: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

S-frame control field in HDLC

52/62

Page 53: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Use of P/F bit in polling and selecting

53/62

RR : Receive Ready

Page 54: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Use of P/F bit in polling and selecting

54/62

RR : Receive Not Ready

Page 55: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Use of P/F bit in polling and selecting

55/62

Page 56: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

U-frame control field in HDLC

56/62

Page 57: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

U-frame control field in HDLC

57/62

Page 58: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Example of polling using HDLC

58/62

Page 59: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Example of selecting using HDLC

59/62

Page 60: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Example of peer-to-peer communication

60/62

Page 61: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Example of peer-to-peer communication

61/62

Page 62: Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P

Questions/Answers

62/62