CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.

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.
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.
EE 4272Spring, 2003 Chapter 7 Data Link Control Objectives: Effective & reliable data communication between two directly connected transmitting-receiving.
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,
Data Communication and Networks Lecture 5 Link Protocol Performance, Bit Stuffing, Multiplexing October 6, 2005.
EIE325: Telecommunication TechnologiesMaciej J. Ogorza ł ek, PolyU, EIE Telecommunication Technologies Week 8 Flow Control Error 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.
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.
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.
Chapter 7 – Data Link Control Protocols
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 13 Introduction to Computer Networks.
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.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
1 Comnet 2006 Communication Networks Recitation 8 ARQ Protocols & Performance.
1 K. Salah Module 4.0: Data Link Layer The Logical Link Control (LLC) sublayer –Framing –Flow Control –Error Control The Media Access Control (MAC) sublayer.
Chapter 9: Data Link Control Business Data Communications, 4e.
Data Communication and Networks Lecture 4 Data Link Control (Part 2) September 29, 2005.
Data Communications Data Link Control. What Is Data Link Control? The Data Link layer of a model typically has the following responsibilities: 1. Creates.
EE 4272Spring, 2003 Chapter 7 Data Link Control Objectives: Effective & reliable data communication between two directly connected transmitting-receiving.
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
D ATA L INK L AYER By Dr. Nawaporn Wisitpongphan.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
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.
COMT 4291 Performance of Data Communications Protocols General Protocol Concepts.
Chapter 3 THE DATA LINK LAYER
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.
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.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Computer Networks Lecture 3: Data Link - part II Based on slides from D. Choffnes Northeastern U. and P. Gill from StonyBrook University Revised Autumn.
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.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
CS 453 Computer Networks Lecture 11 Layer 2 – Data Link Layer Protocols.
11.1 Flow and Error Control Flow Control Error Control.
1 FIT1005 Topic 6 - Data Link Layer Reference: Chapter 7 -Stallings.
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 11 Martin van Bommel CSCI 465 Data Communications & Networks 1.
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.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Computer Networking Lecture 16 – Reliable Transport.
Chapter 9: Data Link Control Business Data Communications, 4e.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Data and Computer Communications Data Link Control Protocols.
NETWORKING CONCEPTS. STOP AND WAIT FLOW CONTROL simplest form of flow control, After the destination entity receives the frame, it indicates its willingness.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
William Stallings Data and Computer Communications 7th Edition
Data Link Layer Flow Control.
Instructor Mazhar Hussain
MODULE I NETWORKING CONCEPTS.
Flow Control.
Data Link Layer: Data Link Control
Chapter 10 Data Link Control
William Stallings Data and Computer Communications
Chapter 9: Data Link Control
Presentation transcript:

CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1

Data Link Control Protocols when sending data, to achieve control, a layer of logic is added above the Physical layer – data link control or a data link control protocol to manage exchange of data over a link: – frame synchronization, flow control, error control – Addressing – control and data on same link – link management CSCI 465 Data Communications & Networks 2

Flow Control Necessary when data is being sent faster than it can be processed by receiver – Computer to printer is typical setting – Can be from computer to computer when a processing program is limited in capacity Influenced by: – transmission time – propagation time – a bit to traverse the link Usually a buffer is filled, and transfer is stopped until buffer is emptied CSCI 465 Data Communications & Networks 3

X-On / X-Off Byte-oriented flow control When all is well, X-On signal active When buffers near full, X-Off signal to tell sender to wait When buffers near empty, X-On again Pause on screen CSCI 465 Data Communications & Networks 4

Model of Frame Transmission CSCI 465 Data Communications & Networks 5

Stop-and-Wait Simplest form of Frame-Oriented Control Source may not send new frame until receiver acknowledges previous one Very inefficient, especially when a single message is broken into many small frames – buffer size of receiver is limited – No one station can dominate medium – if error, detected sooner and less data need be retransmitted CSCI 465 Data Communications & Networks 6

Bit Length of Link B = R  d/V – B = length of link in bits – R = data rate of link, in bps – d = length, or distance, of link in meters – V = velocity of propagation in m/s a = B / L – a = propagation time (normalized) – L = length of frame in bits CSCI 465 Data Communications & Networks 7

Stop-and-Wait Link Utilization 8

Stop-and-Wait Example 40 km link, 10 Mbps rate, 1000 bit frame Signal in copper propagates at 2 x 10 8 m/sec Takes 0.1 msec to transmit frame 0.2 msec delay to begin arriving Total 0.3 msec to receive, 0.2 msec to ACK Line busy for 0.5 msec for 0.1 msec frame 20% efficiency CSCI 465 Data Communications & Networks 9

Sliding-Window Flow Control allows multiple numbered frames to be in transit – receiver has buffer W frames long – transmitter sends up to W frames without ACK – ACK includes number of next frame expected – sequence number is bounded by size of field (k) frames are numbered modulo 2 k giving max window size of up to 2 k – 1 – receiver can ACK frames without permitting further transmission (Receive Not Ready) – must send a normal acknowledge to resume if have full-duplex link, can piggyback ACKs CSCI 465 Data Communications & Networks 10

Sliding Window Diagram 11

Sliding Window Example 12