Data Link Layer Chapter 4. Announcements and Outline Announcements Review Assignment Due next Thurs., 9/17 Assessment #1 – Tues., 9/22 MC Short Answer.

Slides:



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

Copyright 2005 John Wiley & Sons, Inc3 - 1 Physical and Data Link Layers.
1 Chapter 4. Data Link Layer Business Data Communications and Networking Fitzgerald and Dennis, 7th Edition Copyright © 2002 John Wiley & Sons, Inc.
Copyright 2005 John Wiley & Sons, Inc4 - 1 Business Data Communications and Networking 8th Edition Jerry Fitzgerald and Alan Dennis John Wiley & Sons,
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Assessment 1 Review Network Layers. Computer 1Computer 2 2.
1 Topic 5: Data Link Layer - Chapter 9: Data Link Control Business Data Communications, 4e.
Chapter 6 Errors, Error Detection, and Error Control.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 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.
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.
Chapter 4 Chapter 4 Data Link Layer MIS Chapter 4 Data Link Layer Functions Media access control – when computers can transmit Detects and corrects.
Chapter 10 Data Link Control Protocols. Agenda Definition Functions Attributes Concepts Types Conversion.
TDC 461 Basic Communications Systems 8 May, 2001.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Data Link Protocols Asynchronous Protocols Synchronous Protocols
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
Link-Level Flow and Error Control
5-1 Business Data Communications and Networking, 6 th ed. FitzGerald and Dennis.
Midterm Review - Network Layers. Computer 1Computer 2 2.
5-1 Business Data Communications and Networking, 6 th ed. FitzGerald and Dennis.
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.
Data Link Layer We have now discussed the prevalent shared channel technologies  Ethernet/IEEE  Wireless LANs (802.11) We have now covered chapters.
© Agilent Technologies Copyright 2000 H7211A+212, Rev. 2.0 Review of WAN Protocol Basics.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Chapter 3 THE DATA LINK LAYER
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
1 Message Delineation Identify the start and end of messages by: Identify the start and end of messages by:
Chapter 11 Data Link Protocols A data link protocol is a set of specifications used to implement the data link layer [A protocol is the set of rules or.
Chapter 11 Data Link Control
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
Data Transmission n Keep errors to an acceptable low probability n Bit-serial transmission n Parallel transmission.
Error Correction and Flow Control Martin Weiss. Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error.
Data Link Layer. Link Layer The data unit to be transmited at the link layer is called a frame. Why link layer? How can it know where a frame begins and.
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.
Recap of Layers Application, Data Link and Physical.
Chapter 4 Data Link Layer.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
Chapter 5 Network and Transport Layers
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Chapter 4 Data Link Layer.
Data Transmission Keep errors to an acceptable low probability
Topic 5: Data Link Layer - Chapter 9: Data Link Control
Chapter 4 Data Link Layer
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
CIS 321 Data Communications & Networking
Chapter 4 Data Link Layer.
Business Data Communications
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
DATA COMMUNICATION Lecture-39.
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.
Chapter 4 Data Link Layer.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
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 Link Layer Chapter 4

Announcements and Outline Announcements Review Assignment Due next Thurs., 9/17 Assessment #1 – Tues., 9/22 MC Short Answer Career Day, Weds. 9/16 Register Outline 4Data Link Layer 4.1 Media Access Control 4.2 Error Control 4.3 Data Link Protocols 2 Copyright 2010 John Wiley & Sons, Inc

Network Layers 3 Computer 1Computer 2

Data Link Layer - Introduction Responsible for moving messages from one device to another Controls the way messages are sent on media Organizes physical layer bit streams into coherent messages for the network layer Major functions of a data link layer protocol  Media Access Control  Error Control  Message Delineation Data Link Layer Physical Layer Network Layer 4

Recap – Media Access Control and Error Detection Media Access Control Control Contention Error Control Source of errors Error Detection Parity Checks CRC-16 & CRC-32 5

4.2.3 Error Correction Once detected, the error must be corrected Error correction techniques  Retransmission (or, backward error correction)  Forward Error Correction 6

Automatic Repeat reQuest (ARQ) Process of requesting a data transmission be resent Main ARQ protocols  Stop and Wait ARQ (A half duplex technique)  Continuous ARQ (A full duplex technique) 7

Stop and Wait ARQ SenderReceiver 8

Stop and Wait ARQ – Timeouts SenderReceiver 9

Stop and Wait ARQ – Timeouts SenderReceiver 10

Continuous ARQ 11

Flow Control with ARQ Ensuring that sender is not transmitting too quickly for the receiver  Stop-and-wait ARQ  Continuous ARQ 12

Flow Control Example 13

4.3 Data Link Protocols Classification  Asynchronous transmission  Synchronous transmission Differ by  Message delineation  Frame length  Frame field structure frame k frame k+1frame k-1 14

4.3.1 Asynchronous File Transfer Used on:  Point-to-point asynchronous circuits  Typically over phone lines via modem  Computer to computer for transfer of data files Characteristics of file transfer protocols  Designed to transmit error-free data Popular File transfer Protocols  Xmodem, Zmodem, and Kermit 15

4.3.1 Asynchronous Transmission 16 Remember the Physical Layer…Bi-Polar Transmission

4.3.2 Synchronous Transmission Data sent in a large block Includes addressing information Includes a series of synchronization (SYN) characters  Used to help the receiver recognize incoming data Synchronous transmission protocols categories  Bit-oriented protocols: SDLC, HDLC  Byte-count protocols: Ethernet  Byte-oriented protocols: PPP 17

Ethernet (IEEE 802.3ac & II – Ethernet 2) Most widely used LAN protocol, developed jointly by Digital, Intel, and Xerox, now an IEEE standard Uses contention based media access control Byte-count data link layer protocol No transparency problem  uses a field containing the number of bytes (not flags) to delineate frames Error correction: optional 18

Ethernet II Frame 19

Point-to-Point Protocol (PPP) 20

ProtocolSizeError DetectionRetransmissionMedia Access Asynchronous Xmission1ParityContinuous ARQFull Duplex File Transfer Protocols XMODEM1328-bit ChecksumStop-and-wait ARQControlled Access XMODEM-CRC1328-bit CRCStop-and-wait ARQControlled Access XMODEM-1K10288-bit CRCStop-and-wait ARQControlled Access ZMODEM*32-bit CRCContinuous ARQControlled Access KERMIT*24-bit CRCContinuous ARQControlled Access Synchronous Protocols SDLC*16-bit CRCContinuous ARQControlled Access HDLC*16-bit CRCContinuous ARQControlled Access Token Ring*32-bit CRCStop-and wait ARQControlled Access Ethernet*32-bit CRCStop-and wait ARQContention SLIP*None Full Duplex PPP*16-bit CRCContinuous ARQFull Duplex * Varies depending on message length. 4.3 Data Link Protocol Summary 21

4.3 Transmission Efficiency An objective of the network:  Move as many bits as possible with minimum errors  higher efficiency and lower cost Factors affecting network efficiency:  Characteristics of circuit (error rate, speed)  Speed of equipment, Error control techniques  Protocol used Information bits (carrying user information) Overhead bits ( used for error checking, frame delimiting, etc.) 22

4.3 Transmission Efficiency Total number of info bits to be transmitted Total number of bits transmitted = 23

4.3 Optimum Packet Size Trade-off between packet size and throughput (more costly in terms of circuit capacity to retransmit if there is an error) (less likely to contain errors) Acceptable range 24

Transmission Efficiency of Protocols Async Transmission: Ethernet II Transmission However, large packets likely to have more errors and are more likely to require retransmission  wasted capacity 25

Throughput A more accurate definition of efficiency Total number of information bits received per second; takes into account:  Overhead bits (as in transmission efficiency)  Need to retransmit packets containing errors Complex to calculate; depends on:  Transmission efficiency  Error rate  Number of retransmission Transmission Rate of Information Bits (TRIB)  Used as a measurement of throughput 26

TRIB = K (M – C) (1 – P) (M / R) + T Info bits per character Average number of non-info characters per block Probability that a block will require retransmission Time between blocks (in seconds) (propagation time + turnaround time) (a.k.a., reclocking time) Packet length in characters Data xmission rate in char per second Number of info bits accepted Total time required to get the bits TRIB = Ex: K=7 bits/character M = 400 char/block R= 4.8 Kb/s C = 10 char/block P = 1% T = 25 ms 7(400-10)(1-0.01) (400/600)+0.025) = Kb/s TRIB = 27

Implications for Management Provide a few, widely used data link layer protocols for all networks  Minimize costly customization  Minimize costly translation among many protocols  Less training, simpler network management  Bigger pool of available experts  Less expensive, off-the-shelf equipment 28

Next Week: Start Chapter 5 – Network and Transport Layers 29