Data Link Control. Surasak Sanguanpong Last updated: 11 July 2000

Similar documents
Data Link Layer (part 2)

10.1 REVIEW QUESTIONS

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

4. Error correction and link control. Contents

2.4 Error Detection Bit errors in a frame will occur. How do we detect (and then. (or both) frames contains an error. This is inefficient (and not

The flow of data must not be allowed to overwhelm the receiver

DATA LINK LAYER UNIT 7.

Telecom Systems Chae Y. Lee. Contents. Flow Control Error Detection/Correction Link Control (Error Control) Link Performance (Utility)

Error Detection Codes. Error Detection. Two Dimensional Parity. Internet Checksum Algorithm. Cyclic Redundancy Check.

William Stallings Data and Computer Communications. Chapter 7 Data Link Control

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

Data Link Control Protocols

Lecture 6: Reliable Transmission. CSE 123: Computer Networks Alex Snoeren (guest lecture) Alex Sn

Lecture 5. Homework 2 posted, due September 15. Reminder: Homework 1 due today. Questions? Thursday, September 8 CS 475 Networks - Lecture 5 1

EE 122: Error detection and reliable transmission. Ion Stoica September 16, 2002

Data Link Layer. Srinidhi Varadarajan

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

Lecture 4: CRC & Reliable Transmission. Lecture 4 Overview. Checksum review. CRC toward a better EDC. Reliable Transmission

ERROR AND FLOW CONTROL. Lecture: 10 Instructor Mazhar Hussain

High Level View. EE 122: Error detection and reliable transmission. Overview. Error Detection

Lecture 2 Error Detection & Correction. Types of Errors Detection Correction

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection

Chapter 3. The Data Link Layer

Data Link Control Layer, Error Detection, Error Correction, and Framing

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer

EITF25 Internet Techniques and Applications L3: Data Link layer. Stefan Höst

Data Link Layer, Part 5 Sliding Window Protocols. Preface

Chapter Six. Errors, Error Detection, and Error Control. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY COMPUTER NETWORKS UNIT - II DATA LINK LAYER

Outline. EEC-484/584 Computer Networks. Data Link Layer Design Issues. Framing. Lecture 6. Wenbing Zhao Review.

Chapter 6 Digital Data Communications Techniques

(Refer Slide Time: 2:20)

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

CSE 461: Framing, Error Detection and Correction

The data link layer has a number of specific functions it can carry out. These functions include. Figure 2-1. Relationship between packets and frames.

Overview. Data Link Technology. Role of the data-link layer. Role of the data-link layer. Function of the physical layer

LECTURE #34. Data Communication (CS601)

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science


Point-to-Point Links. Outline Encoding Framing Error Detection Sliding Window Algorithm. Fall 2004 CS 691 1

3. Data Link Layer 3-2

Data Link Layer. Goals of This Lecture. Engineering Questions. Outline of the Class

Inst: Chris Davison

CSN Telecommunications. 5: Error Coding. Data, Audio, Video and Images Prof Bill Buchanan

CSCI-1680 Link Layer Reliability Rodrigo Fonseca

CPE 548 Exam #1 (50 pts) February 17, 2016

Problem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.

COMPUTER NETWORKS UNIT-3

CSCI-1680 Link Layer Reliability John Jannotti

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

CSE123A discussion session

PART III. Data Link Layer MGH T MGH C I 204

UNIT-II 1. Discuss the issues in the data link layer. Answer:

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

Data Link Layer: Overview, operations

Ch. 7 Error Detection and Correction

INF Data Communication Data Link Layer

Lecture 5: Flow Control. CSE 123: Computer Networks Alex C. Snoeren

Advanced Computer Networks. Rab Nawaz Jadoon DCS. Assistant Professor COMSATS University, Lahore Pakistan. Department of Computer Science

Data Link Control Protocols

Communication Networks. Part I

CMSC 2833 Lecture 18. Parity Add a bit to make the number of ones (1s) transmitted odd.

Flow control: Ensuring the source sending frames does not overflow the receiver

OSI Reference Model. Application Layer. Presentation Layer. Session Layer. Chapter 4: Application Protocols. Transport Layer.

Lecture 7: Flow Control"

Data Link Layer. Overview. Links. Shivkumar Kalyanaraman

Ș.l. dr. ing. Lucian-Florentin Bărbulescu

CSE 123: Computer Networks

CSE 123: Computer Networks

CS 640 Introduction to Computer Networks. Role of data link layer. Today s lecture. Lecture16

INTERNET ARCHITECTURE & PROTOCOLS

TCP/IP-2. Transmission control protocol:

Networking Link Layer

Mobile Transport Layer Lesson 10 Timeout Freezing, Selective Retransmission, Transaction Oriented TCP and Explicit Notification Methods

1. Divide by using long division. (8x 3 + 6x 2 + 7) (x + 2)

The Data Link Layer Chapter 3

Chapter 3 The Data Link Layer

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination

Page 1. Review: Internet Protocol Stack. Transport Layer Services. Design Issue EEC173B/ECS152C. Review: TCP

CSCI-1680 Link Layer I Rodrigo Fonseca

MYcsvtu Notes DATA REPRESENTATION. Data Types. Complements. Fixed Point Representations. Floating Point Representations. Other Binary Codes

Introduction to Computer Networks. 03 Data Link Layer Introduction

CS422 Computer Networks

Link layer, LANs: outline. Chapter 5-1 Link Layer. Link layer: introduction. Link layer services

Administrivia. FEC vs. ARQ. Reliable Transmission FEC. Last time: Framing Error detection. FEC provides constant throughput and predictable delay

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service

Transmission SIGNALs

Jaringan Komputer. Data Link Layer. The Data Link Layer. Study the design principles

Networked Systems and Services, Fall 2018 Chapter 2. Jussi Kangasharju Markku Kojo Lea Kutvonen

CS43: Computer Networks Reliable Data Transfer. Kevin Webb Swarthmore College October 5, 2017

The Transport Layer Reliability

TYPES OF ERRORS. Data can be corrupted during transmission. Some applications require that errors be detected and corrected.

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

Data and Computer Communications

Computer Networks Summer 2013

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer:

16.682: Communication Systems Engineering. Lecture 17. ARQ Protocols

CS 4453 Computer Networks Winter

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

Transcription:

1/14 Data Link Control Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: 11 July 2000 Flow Control 2/14 technique for controlling the data transmission so that s have sufficient buffer space to accept before processing common flow control schemes : X-ON and X-OFF Stop-and-Wait Sliding Windows 1

X-On and X-OFF 3/14 transmit stop transmit dddddd dddddd X-OFF X-ON sends X-OFF (DC3) if its buffer is full stops sending when receives X-OFF sends X-ON (DC1) when buffer space becomes available s starts sending when receives X-ON Stop-and-Wait Flow Control 4/14 transmits aframe data i ACK sends back an acknowledgement to the frame just received wait until it receives ACK before sending the next frame data i+1 2

Sliding-Window Flow Control 5/14 Sender s buffer frames already transmitted frames that may be transmitted frame sequence number lower window pointer upper window pointer s buffer frames already received frames that may be accepted frame sequence number lower window pointer upper window pointer Sliding-Window example 6/14 0,1,2 ACK3 ACK4 3,4,5,6 3

Error Detection 7/14 Parity check oddorevenparity undetected error, it two or any even number of bits are inverted CRC uses dynamic bit pattern attached with data can detect various errors with appropriated code all single bit error all double bit errors any odd number of errors CRC concepts M k-bit F n-bit 8/14 T T=2 n M+F What should be F? 2 n M P = Q+ R P Q,R quotient, remainder P is predetermine divisor T=2 n M+R let F equals R T P = 2n M+R divides T by R P P R = Q+ + R = Q T is divisible by P P P Given a k-bit block of bits (M), the transmitter generates an n-bit sequence (F), so that the resulting frame, consisting of k+n bits (T), is exactly divisible by some predetermine divisor (P). The then divides the incoming frame (T) by that number (P), if there is no remainder, assume there was no error. 4

CRC in polynomials 9/14 M = 110011 then M(X) = X 5 +X 4 +X+1 P = 1101 then P(X) = X 3 +X+1 Standard P(X) CRC-16 = X 16 +X 15 +X 2 +1 CRC-CCITT = X 16 +X 12 +X 5 +1 CRC-32 = X 32 +X 26 +X 23 +X 22 +X 16 +X 12 +X 11 + X 10 +X 8 +X 7 +X 5 +X 4 ++X 2 +1 Error Control 10/14 What is error control detect and correct errors occurs in transmission Type of errors loss frame damaged frame 5

Error Control Techniques 11/14 Error control techniques error detection positive ACK Retransmission after timeout Negative ACK Standard techniques Stop-and-wait ARQ Go-back-N ARQ Selective Repeat ARQ } known as Automatic Repeat Request (ARQ) Stop-and-Wait ARQ 12/14 time out time out frame I+1 frame I+2 frame I+2 frame I+3 frame I+3 frame i ACK i ACK I+1 ACK I+2 ACK I+3 ACK I+3 frame lost retransmit ACK lost retransmit & duplicate discard 6

Go-back-N ARQ 13/14 6, 7 and 8 retransmitted frame 3 frame 2 frame 1 ACK 4 frame 5 frame 4 ACK 6 frame 7 frame 8 NACK 6 frame 7 frame 8 ACK 9 error 7and8 will be discarded Selective-repeat ARQ 14/14 only 6 is retransmitted frame 3 frame 2 frame 1 ACK 4 frame 5 frame 4 ACK 6 frame 7 frame 8 frame 9 NACK 6 frame 10 ACK 9 error 7