UNIT 4 Data Link Control Line Discipline Flow Control Error Control

Slides:



Advertisements
Similar presentations
Sliding window protocols:  Window: subset of consecutive frames  only frames in window can be sent.
Advertisements

Chapter 11 Data Link Protocols Asynchronous Protocols Synchronous Protocols Character-Oriented Protocols Bit-Oriented Protocols WCB/McGraw-Hill  The McGraw-Hill.
11-1 FRAMING The data link layer needs to pack bits into frames, so that each frame is distinguishable from another. Our postal system practices a type.
Assume that a file is transferred from a node A to a node B. The file has been fragmented in 5 frames. Frame 0 is corrupted, the ACK of frame 1 is corrupted,
ICSA341 Data Communications and Computer Networks 1 Data Link Control •General principles.
Data Link Control We want to minimize the amount of error correcting and detecting we need to do.
Chapter 11 Data Link Control
Data link control. Data Link Control –Flow Control how much data may sent –Error Control How can error be detected and corrected.
Flow and Error Control. Flow Control Flow control coordinates the amount of data that can be sent before receiving acknowledgement It is one of the most.
11-5 NOISY CHANNELS Although the Stop-and-Wait Protocol gives us an idea of how to add flow control to its predecessor, noiseless channels are nonexistent.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
ELEN 602 Lecture 5 Review of last lecture –Error Detection -- parity/CRC etc. Automatic Retransmission Request (ARQ) Reading: Chap
Figure 10-9 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Chapter 10 Data Link Control Line Discipline Flow Control Error Control WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
15 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Data Link Control Physical layer is only responsible for data transmission Data link.
Data Link Control Line Discipline Flow Control Error Control.
Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 11: Flow Control – can occur at layer 2 (data link) and at layer 4 (transport)  You saw the need in the most recent assignment.  Data packets.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Link Layer We have now discussed the prevalent shared channel technologies  Ethernet/IEEE  Wireless LANs (802.11) We have now covered chapters.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
Chapter 3: Channel Coding (part 3). Automatic repeat request (ARQ) protocols ▫Used in combination with error detection/correction ▫Block of data with.
Lecture Focus: Data Communications and Networking  Data Link Layer  Data Link Control Lecture 22 CSCS 311.
11.1 Flow and Error Control Flow Control Error Control.
1 Flow&Error Control R. Supakorn. 2 Flow Control Flow control refers to a set of procedure used to restrict the amount of data that the sender can send.
Part III. Data Link Layer Chapter 11. Data Link Control COMP 3270 Computer Networks Computing Science Thompson Rivers University.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Data Link Layer.
Chapter 3: The Data Link Layer –to achieve reliable, efficient communication between two physically connected machines. –Design issues: services interface.
Chapter 11 Data Link Protocols
Computer Communication & Networks
2.10 Flow and Error Control Before that ...
Chapter 11 Data Link Control
Data Link Layer Flow Control.
Data Link Layer - 3 Dr. Sanjay P. Ahuja, Ph.D.
Part III Datalink Layer 10.
Chapter 11 Data Link Control
Chapter 23 Introduction To Transport Layer
Chapter 3 OSI Model The model Functions of the layers
Chapter 11 Data Link Control
Chapter 11 Data Link Control
Instructor Mazhar Hussain
Chapter 3 Data Link Layer.
CIS 321 Data Communications & Networking
Subject Name: Computer Communication Networks Subject Code: 10EC71
Flow Control.
Data Link Layer: Data Link Control
Flow and Error Control.
Overview Jaringan Komputer (2)
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
DATA COMMUNICATION Lecture-39.
DATA COMMUNICATION Lecture-40.
Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment. Error control.
Sliding Window Protocol
Kendali Data Link dan Protokol
DATA COMMUNICATION Lecture-38.
Chapter 11 Data Link Control
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 3 OSI Model The model Functions of the layers
Chapter 1 Introduction Data Communication Networks
Presentation transcript:

UNIT 4 Data Link Control Line Discipline Flow Control Error Control WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Data Link Layer  The McGraw-Hill Companies, Inc., 1998 Figure 10-1 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 10-2 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 10-3 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

ENQ/ACK  The McGraw-Hill Companies, Inc., 1998 Figure 10-4 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

ENQ/ACK  The McGraw-Hill Companies, Inc., 1998 Figure 10-5 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Multipoint Discipline Figure 10-6 Multipoint Discipline WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Select  The McGraw-Hill Companies, Inc., 1998 Figure 10-7 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Poll  The McGraw-Hill Companies, Inc., 1998 Figure 10-8 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Flow Control

Stop-and-Wait

Sender Sliding Window

Receiver Sliding Window

Error Control

Stop-and-Wait ARQ .

Go-Back-N ARQ, normal operation The sender keeps track of the outstanding frames and updates the variables and windows as the ACKs arrive.

Go-Back-N ARQ, lost frame 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)

Go-Back-N ARQ, damaged/lost/delayed ACK If an ACK is damaged/lost, we can have two situations: If the next ACK arrives before the expiration of any timer, there is no need for retransmission of frames because ACKs are cumulative in this protocol. If ACK1, ACK2, and ACk3 are lost, ACK4 covers them if it arrives before the timer expires. If ACK4 arrives after time-out, the last frame and all the frames after that are resent. Receiver never resends an ACK.

Selective Repeat ARQ, lost frame Frames 0 and 1 are accepted when received because they are in the range specified by the receiver window. Same for frame 3. Receiver sends a NAK2 to show that frame 2 has not been received and then sender resends only frame 2 and it is accepted as it is in the range of the window.

Data Link Protocols Asynchronous Protocols Synchronous Protocols Character-Oriented Protocols Bit-Oriented Protocols WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 11-1 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 11-2 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

XMODEM  The McGraw-Hill Companies, Inc., 1998 Figure 11-3 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 11-4 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

 The McGraw-Hill Companies, Inc., 1998 Figure 11-5 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Simple Frame  The McGraw-Hill Companies, Inc., 1998 Figure 11-6 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

A Frame with Header  The McGraw-Hill Companies, Inc., 1998 Figure 11-7 A Frame with Header WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Multiblock Frame  The McGraw-Hill Companies, Inc., 1998 Figure 11-8 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Multiframe Transmission Figure 11-9 Multiframe Transmission WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Control Frame  The McGraw-Hill Companies, Inc., 1998 Figure 11-10 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Control Frames  The McGraw-Hill Companies, Inc., 1998 Figure 11-11 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Control Frames  The McGraw-Hill Companies, Inc., 1998 Figure 11-11-continued Control Frames WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Control Frames  The McGraw-Hill Companies, Inc., 1998 Figure 11-11-continued Control Frames WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998

Byte Stuffing  The McGraw-Hill Companies, Inc., 1998 Figure 11-12 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998