Data Communication and Networks Lecture 4 Data Link Control (Part 2) September 29, 2005.

Slides:



Advertisements
Similar presentations
William Stallings Data and Computer Communications 7th Edition
Advertisements

CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
Telecommunication Technologies
Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
Data Communication and Networks Lecture 5 Link Protocol Performance, Bit Stuffing, Multiplexing October 6, 2005.
Chapter 14: Data Link Control
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
Data and Computer Communications Updated: 2/9/2009.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
Piggybacking A method to combine a data frame with ACK. Station A and B both have data to send. Instead of sending separately, station A sends a data frame.
Chapter 7 – Data Link Control Protocols
Data Link Control Protocols Data link control protocol Provides a layer of control between systems on a transmission medium referred to as data link. DLC.
1 Data Link Layer Lesson 6 NETS2150/ Position of the data-link layer McGraw-Hill © The McGraw-Hill Companies, Inc., 2004.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
Flow Control zEnsuring the sending entity does not overwhelm the receiving entity yPreventing buffer overflow zTransmission time yTime taken to emit all.
Chapter 9: Data Link Control Business Data Communications, 4e.
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Flow Control and Error Control En. Mohd Nazri Mahmud.
Data Communications Data Link Control. What Is Data Link Control? The Data Link layer of a model typically has the following responsibilities: 1. Creates.
Data Communication and Networks Lecture 4 Data Link Control (Part 2) September 25, 2003 Joseph Conron Computer Science Department New York University
Lect11.ppt - 03/15/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 11 Link-Level Flow and Error Control by Zornitza Genova Prodanoff.
Link-Level Flow and Error Control
Network Technology CSE Network Technology CSE3020 Week 6.
CS3502: Data and Computer Networks DATA LINK LAYER - 2 WB version.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols.
Data Link Control Protocols
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Aegis School of Telecommunication Chapter 7 Data Link Control Protocols Telecom Systems I by Dr. M. G. Sharma, Phd.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data and Computer Communications, Ninth Edition.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
Chapter 3 THE DATA LINK LAYER
1 Kyung Hee University Data Link Protocols. 2 Kyung Hee University 11 장 Data Link Control and Protocols 11.1 Flow and Error Control 11.2 Stop-and-Wait.
THE DATA LINK LAYER Chapter 3 1. H YBRID M ODEL The hybrid reference model to be used in this book. 2.
Data Link Layer - 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Error/Flow Control Modeling (ARQ Modeling). © Tallal Elshabrawy 2 Data Link Layer  Data Link Layer provides a service for Network Layer (transfer of.
Eighth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
Data Link Layer Flow and Error Control. Flow Control Flow Control Flow Control Specifies the amount of data can be transmitted by sender before receiving.
CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.
FIT – Monash University High-Level Data Link Control
Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.
Data and Computer Communications Data Link Control Protocols.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
Chapter 9: Data Link Control Business Data Communications, 4e.
Data and Computer Communications Data Link Control Protocols.
Data Communications Data Link Layer.
William Stallings Data and Computer Communications Chapter 7 Data Link Control.
Class #2 1 Chapter 6 – Logical Link Control (LLC)
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
HDLC and PPP.
Chapter 9: Data Link Control
William Stallings Data and Computer Communications 7th Edition
The Data Link Layer Supplementery Slides
Chapter 14: Data Link Control
Chapter 14: Data Link Control
Chapter 14: Data Link Control
Chapter 14: Data Link Control
William Stallings Data and Computer Communications
Chapter 9: Data Link Control
Protocols and the TCP/IP Suite ECE405- Computer Networks
Presentation transcript:

Data Communication and Networks Lecture 4 Data Link Control (Part 2) September 29, 2005

Data Link Performance Issues zPerformance is computed as a measure of the how efficiently a transmitter and receiver make use of the communications capacity of a give line (medium). zWe want to know how much of the potential capacity of the line a protocol can actually use. zThis is called utilization, and it varies based on the flow control and error control mechanisms used. zFirst, let’s review these mechanisms.

Stop and Wait zSource transmits frame zAfter reception, destination indicates willingness to accept another frame in acknowledgement zSource must wait for acknowledgement before sending another frame z2 kinds of errors: yDamaged frame at destination yDamaged acknowledgement at source

Figure 11.4

Error-Free Stop and Wait T = T frame + T prop + T proc + T ack + T prop + T proc T frame = time to transmit frame T prop = propagation time T proc = processing time at station T ack = time to transmit ack Assume T proc and T ack relatively small

T ≈ T frame + 2T prop Throughput = 1/T = 1/(T frame + 2T prop ) frames/sec Normalize by link data rate: 1/ T frame frames/sec U = 1/(T frame + 2T prop ) = T frame = 1 1/ T frame T frame + 2T prop 1 + 2a where a = T prop / T frame Error-Free Stop and Wait (2)

The Parameter a a = propagation time = d/V = Rd transmission time L/R VL where d = distance between stations V = velocity of signal propagation L = length of frame in bits R = data rate on link in bits per sec Rd/V ::= bit length of the link a ::= ratio of link bit length to the length of frame

Stop-and-Wait Link Utilization zIf T prop large relative to T frame then throughput reduced zIf propagation delay is long relative to transmission time, line is mostly idle zProblem is only one frame in transit at a time zStop-and-Wait rarely used because of inefficiency

Error-Free Sliding Window ARQ zCase 1: W ≥ 2a + 1 Ack for frame 1 reaches A before A has exhausted its window z Case 2: W < 2a +1 A exhausts its window at t = W and cannot send additional frames until t = 2a + 1

Figure 11.10

Normalized Throughput 1 for W ≥ 2a + 1 U = W for W < 2a +1 2a + 1

Stop-and-Wait ARQ with Errors P = probability a single frame is in error N x = P = average number of times each frame must be transmitted due to errors U = 1 = 1 - P N x (1 + 2a) (1 + 2a)

Selective Reject ARQ 1 - P for W ≥ 2a + 1 U = W(1 - P) for W < 2a +1 2a + 1

Go-Back-N ARQ 1 - P for W ≥ 2a + 1 U = 1 + 2aP W(1 - P) for W < 2a +1 (2a + 1)(1 – P + WP)

High-Level Data Link Control zHDLC is the most important data link control protocol zWidely used which forms basis of other data link control protocols

Frame Structure zSynchronous transmission zAll transmissions in frames zSingle frame format for all data and control exchanges

Frame Structure Diagram

Flag Fields zDelimit frame at both ends z zMay close one frame and open another zReceiver hunts for flag sequence to synchronize zBit stuffing used to avoid confusion with data containing y0 inserted after every sequence of five 1s yIf receiver detects five 1s it checks next bit yIf 0, it is deleted yIf 1 and seventh bit is 0, accept as flag yIf sixth and seventh bits 1, sender is indicating abort

Bit Stuffing zExample with possible errors

Other DLC Protocols (LLC) zLogical Link Control (LLC) yIEEE 802 yDifferent frame format yLink control split between medium access layer (MAC) and LLC (on top of MAC) yNo primary and secondary - all stations are peers yTwo addresses needed xSender and receiver yError detection at MAC layer x32 bit CRC yDestination and source access points (DSAP, SSAP)

Other DLC Protocols (Frame Relay) (1) zStreamlined capability over high speed packet witched networks zUsed in place of X.25 zUses Link Access Procedure for Frame-Mode Bearer Services (LAPF) zTwo protocols yControl - similar to HDLC yCore - subset of control

Other DLC Protocols (Frame Relay) (2) zABM z7-bit sequence numbers z16 bit CRC z2, 3 or 4 octet address field yData link connection identifier (DLCI) yIdentifies logical connection zMore on frame relay later

Other DLC Protocols (ATM) zAsynchronous Transfer Mode zStreamlined capability across high speed networks zNot HDLC based zFrame format called “cell” zFixed 53 octet (424 bit) zDetails later