Top Banner
Computer Communication Networks Mr. Kunjan D Shinde Assistant Professor Department of Electronics and Communication Engineering PESITM Shivamogga.
49

Computer communication networks chapter 2 ppt (vtu odd sem EC)

Feb 20, 2017

Download

Engineering

Kunjan Shinde
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer communication networks chapter 2 ppt (vtu odd sem EC)

Computer Communication Networks

Mr. Kunjan D Shinde

Assistant ProfessorDepartment of Electronics and Communication Engineering

PESITM Shivamogga.

Page 2: Computer communication networks chapter 2 ppt (vtu odd sem EC)

2Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Data Link ControlFraming

Fixed Size framingVariable size framing

Flow and Error Control

ProtocolsNoiseless Channel and Noisy Channel

Simplest stop and wait ARQStop and Wait Go back N ARQ (sliding window, )

Selective Repeat ARQ HDLC

Modes of operationHDLC frames

Computer Communication Networks

Contents Chapter 2

Page 3: Computer communication networks chapter 2 ppt (vtu odd sem EC)

3Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

A frame in a character-oriented protocol

Page 4: Computer communication networks chapter 2 ppt (vtu odd sem EC)

4Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Byte stuffing and unstuffing

Page 5: Computer communication networks chapter 2 ppt (vtu odd sem EC)

6Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

A frame in a bit-oriented protocol

Page 6: Computer communication networks chapter 2 ppt (vtu odd sem EC)

8Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Bit stuffing and unstuffing

Page 7: Computer communication networks chapter 2 ppt (vtu odd sem EC)

9Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

The most important responsibilities of the data link layer are flow control and error control. Collectively, these functions are known as data link control.

Flow Control

Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment.

Page 8: Computer communication networks chapter 2 ppt (vtu odd sem EC)

10Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 9: Computer communication networks chapter 2 ppt (vtu odd sem EC)

12Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Simplest Protocol

Page 10: Computer communication networks chapter 2 ppt (vtu odd sem EC)

13Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender site Algorithm for Simplest Protocol

Page 11: Computer communication networks chapter 2 ppt (vtu odd sem EC)

14Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

receiver site Algorithm for Simplest Protocol

Page 12: Computer communication networks chapter 2 ppt (vtu odd sem EC)

15Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Flow diagram for Simplest Protocol

Page 13: Computer communication networks chapter 2 ppt (vtu odd sem EC)

16Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Stop-and-Wait Protocol

Page 14: Computer communication networks chapter 2 ppt (vtu odd sem EC)

17Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender site Algorithm for Stop-and-Wait Protocol

Page 15: Computer communication networks chapter 2 ppt (vtu odd sem EC)

18Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Receiver site Algorithm for Stop-and-Wait Protocol

Page 16: Computer communication networks chapter 2 ppt (vtu odd sem EC)

19Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Flow diagram for Stop-and-Wait Protocol

Page 17: Computer communication networks chapter 2 ppt (vtu odd sem EC)

20Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Although the Stop-and-Wait Protocol gives us an idea of how to add flow control, noiseless channels are nonexistent. We discuss three protocols in this section that use error control.

In a Data Link Layer, at any time if a error is detected , then that specific frame is retransmitted this process is call Automatic Repeat Request (ARQ)

The following are the protocols used in Noisy Channel

Stop-and-Wait Automatic Repeat RequestGo-Back-N Automatic Repeat RequestSelective Repeat Automatic Repeat Request

Page 18: Computer communication networks chapter 2 ppt (vtu odd sem EC)

22Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Stop-and-Wait ARQ Protocol

Page 19: Computer communication networks chapter 2 ppt (vtu odd sem EC)

23Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Stop-and-Wait ARQ

Page 20: Computer communication networks chapter 2 ppt (vtu odd sem EC)

24Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Stop-and-Wait ARQ

Page 21: Computer communication networks chapter 2 ppt (vtu odd sem EC)

25Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Receiver-site algorithm for Stop-and-Wait ARQ Protocol

Page 22: Computer communication networks chapter 2 ppt (vtu odd sem EC)

26Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Flow diagram Stop-and-Wait ARQ Protocol

Page 23: Computer communication networks chapter 2 ppt (vtu odd sem EC)

28Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Go back N ARQ Protocol

Page 24: Computer communication networks chapter 2 ppt (vtu odd sem EC)

29Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Go back N ARQ

Page 25: Computer communication networks chapter 2 ppt (vtu odd sem EC)

32Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Receiver-site algorithm for Go back N ARQ

Page 26: Computer communication networks chapter 2 ppt (vtu odd sem EC)

34Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 27: Computer communication networks chapter 2 ppt (vtu odd sem EC)

36Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Go back N ARQ

Page 28: Computer communication networks chapter 2 ppt (vtu odd sem EC)

37Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Go back N ARQ

Page 29: Computer communication networks chapter 2 ppt (vtu odd sem EC)

38Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Receiver-site algorithm for Go back N ARQ

Page 30: Computer communication networks chapter 2 ppt (vtu odd sem EC)

39Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Flow Diagram for Go back N Protocol

Page 31: Computer communication networks chapter 2 ppt (vtu odd sem EC)

40Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 32: Computer communication networks chapter 2 ppt (vtu odd sem EC)

41Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Stop-and-Wait ARQ is a special case of Go-Back-N ARQ in which the size of the send

window is 1.

Page 33: Computer communication networks chapter 2 ppt (vtu odd sem EC)

42Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Window format for Selective Repeat ARQ

Page 34: Computer communication networks chapter 2 ppt (vtu odd sem EC)

43Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Window format for Selective Repeat ARQ

Page 35: Computer communication networks chapter 2 ppt (vtu odd sem EC)

44Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Design for Selective Repeat ARQ

Page 36: Computer communication networks chapter 2 ppt (vtu odd sem EC)

45Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

In Selective Repeat ARQ, the size of the sender and receiver windowmust be at most one-half of 2m.

Sender-site algorithm for Selective Repeat ARQ

Page 37: Computer communication networks chapter 2 ppt (vtu odd sem EC)

46Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Selective Repeat ARQ

Page 38: Computer communication networks chapter 2 ppt (vtu odd sem EC)

47Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Sender-site algorithm for Selective Repeat ARQ

Page 39: Computer communication networks chapter 2 ppt (vtu odd sem EC)

48Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Receiver-site algorithm for Selective Repeat ARQ

Page 40: Computer communication networks chapter 2 ppt (vtu odd sem EC)

49Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 41: Computer communication networks chapter 2 ppt (vtu odd sem EC)

50Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 42: Computer communication networks chapter 2 ppt (vtu odd sem EC)

51Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Design of piggybacking in Go-Back-N ARQ

Page 43: Computer communication networks chapter 2 ppt (vtu odd sem EC)

52Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links.

Page 44: Computer communication networks chapter 2 ppt (vtu odd sem EC)

53Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 45: Computer communication networks chapter 2 ppt (vtu odd sem EC)

54Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 46: Computer communication networks chapter 2 ppt (vtu odd sem EC)

55Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 47: Computer communication networks chapter 2 ppt (vtu odd sem EC)

56Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Page 48: Computer communication networks chapter 2 ppt (vtu odd sem EC)

57Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Study point to point protocol

Page 49: Computer communication networks chapter 2 ppt (vtu odd sem EC)

58Mr. Kunjan D. Shinde, Asst. Professor, Dept. of E&CE, PESITM Shivamogga.

Computer Communication Networks

Chapter 2: Data Link Control

Thank u

More informationUpcoming soon