final ppt in cn

20
Data Link Control

Upload: ajay

Post on 13-Dec-2015

14 views

Category:

Documents


4 download

DESCRIPTION

data link control

TRANSCRIPT

Page 1: final ppt in CN

Data Link Control

Page 2: final ppt in CN

Data Link Layer ProtocolsCategories:– Noiseless channels– Noisy channels

Page 3: final ppt in CN
Page 4: final ppt in CN

Data Link Layer Protocols• Noiseless channels– No requirement for error control (no noise, no

errors)

• Noisy channels– Requires error control

Page 5: final ppt in CN

Noiseless Channel Protocols• Simplest Protocol– No flow control

• Stop and wait

Page 6: final ppt in CN

Noiseless Simplest Protocol• No noise, so no error control required

• No flow control is required

Page 7: final ppt in CN

The design of the simplest protocol with no flow or error control

Page 8: final ppt in CN

1.Data Link Layer sender•Get the data from the Network Layer•Make the Data Link Layer Frame•Send the Frame to the Physical Layer

2.Data Link Layer Receiver•Receive the frame from the Physical Layer•Extract the data from the Frame•Deliver the data to the Network Layer

Page 9: final ppt in CN

11.9

Flow diagram

Page 10: final ppt in CN

Noiseless Stop & Wait Protocol• This protocol includes flow control.• Includes an acknowledgement frame.• No error control.

Page 11: final ppt in CN

11.11

Design of Stop-and-Wait Protocol

Page 12: final ppt in CN

Stop & Wait: Sender Side•Get the data from the Network layer•Make the Frame•Send Frame to the Physical Layer•Wait for an acknowledgement before sending the next frame

Stop & Wait: Receiver•Receive Frame from the Physical Layer•Extract data from the frame.•Deliver data to the Network Layer•Send an acknowledgement frame back to the sender.

Page 13: final ppt in CN

11.13

Flow diagram

Page 14: final ppt in CN

Noisy Channel Protocols• Stop & Wait ARQ <- start here• Go Back N ARQ• Selective Repeat ARQ

Page 15: final ppt in CN

Stop & Wait ARQ Protocol• Stop & Wait ARQ– ARQ = automatic repeat request

• This protocol has flow control and error control.

Page 16: final ppt in CN

Frame Sequence Numbers• The frames are numbered as the current

frame and the next frame. • Only one bit is required to number the frames.

Zero and one are the only frame numbers.

Page 17: final ppt in CN

Design of the Stop-and-Wait ARQ Protocol

Page 18: final ppt in CN

Flow diagram for Example

Page 19: final ppt in CN

PipeliningWhat is the efficiency if fifteen 1000 bit frames

can be sent before waiting for an acknowledgement?

The efficiency is 75%.

Page 20: final ppt in CN

THANK YOU