DATA COMMUNICATION Lecture-38.

Slides:



Advertisements
Similar presentations
Network Operations & administration CS 4592 Lecture 15 Instructor: Ibrahim Tariq.
Advertisements

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 (denoted as f0, f1, f2, f3, f4). Show the flow of.
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.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 10-9 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Chapter 7 – Data Link Control Protocols
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 13 Introduction to Computer Networks.
1 10 장. 데이터 링크 제어 (Data Link Control) 10.1 Line Discipline 10.2 흐름 제어 (Flow Control) 10.3 에러 제어 (Error Control) 10.4 요약.
Link-Level Flow and Error Control
Data Link Control ผศ. ดร. อนันต์ ผลเพิ่ม
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.
Data Link Control Protocols
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
CSC 311 Chapter Eight FLOW CONTROL TECHNIQUES. CSC 311 Chapter Eight How do we manage the large amount of data on the network? How do we react to a damaged.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
Error/Flow Control Modeling (ARQ Modeling). Modeling of Go Back N.
Eighth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange.
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.
Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.
CSCI 465 D ata Communications and Networks Lecture 11 Martin van Bommel CSCI 465 Data Communications & Networks 1.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Data Link Layer.
Computer Communication & Networks
2.10 Flow and Error Control Before that ...
DATA COMMUNICATION Lecture-41.
Chapter 9: 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
UNIT 4 Data Link Control Line Discipline Flow Control Error Control
Sliding Window Protocol | Go-Back-N
DATA COMMUNICATION Lecture-5.
DATA COMMUNICATION Lecture-6.
Chapter 11 Data Link Control
Chap. 4 Data link layer 2.
Instructor Mazhar Hussain
MODULE I NETWORKING CONCEPTS.
CIS 321 Data Communications & Networking
Flow Control.
Data Link Layer: Data Link Control
Chapter 10 Data Link Control
Rivier College CS575: Advanced LANs Chapter 6: Logical Link Control
DATA COMMUNICATION Lecture-9.
Flow and Error Control.
DATA COMMUNICATION Lecture-7.
Overview Jaringan Komputer (2)
Communication Networks NETW 501
DATA COMMUNICATION Lecture-39.
Data Link Layer (cont’d)
DATA COMMUNICATION Lecture-8.
DATA COMMUNICATION Lecture-40.
Kendali Data Link dan Protokol
Chapter 11 Data Link Control
Data Link Layer (cont’d)
DATA COMMUNICATION Lecture-37.
DATA COMMUNICATION Lecture-36.
Assume that a file is transferred from a node A to a node B
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 9: Data Link Control
Presentation transcript:

DATA COMMUNICATION Lecture-38

Recap of Lecture 37 Line Discipline ENQ/ACK POLL/SELECT Flow Control

Overview of Lecture 38 Flow Control -Stop-and-Wait -Sliding Window Error Control

Flow Control A set of procedures used to restrict the amount of data the sender can send before waiting for acknowledgment Each receiving device has a buffer

Flow Control

Stop-and-Wait Sender sends one frame and waits for an acknowledgment before sending the next frame Simple, but inefficient

Stop-and-Wait

Sliding Window Sliding window is an imaginary box At both sender and the receiver Frames are numbered modulo-n, window size is n-1 An ACK includes the number of next frame it expects

Sliding Window The sender can transmit several frames before needing an acknowledgment

Sender Window Sliding window of the sender Shrink from the left when frames are sent Expands to the right when ACKs are received

Sender Window

Receiver Window Sliding window of the receiver Shrink from the left when frames are received Expands to the right when ACKs are sent

Receiver Window

Error Control Error control in the data link layer is based on ARQ (Automatic Repeat Request) Retransmission in three cases Damaged frame, lost frame, and lost ACK

Error Control

Stop-and-Wait ARQ: Damaged Frame

Stop-and-Wait ARQ: Lost Frame

Stop-and-Wait ARQ: Lost ACK

Summary Flow Control -Stop-and-Wait- -Sliding Window Error Control

Suggested Reading Section 10.2,10.3 “Data Communications and Networking” 2nd Edition by Behrouz A. Forouzan