Chapter 4 Data Link Layer

Slides:



Advertisements
Similar presentations
1 Chapter 4. Data Link Layer Business Data Communications and Networking Fitzgerald and Dennis, 7th Edition Copyright © 2002 John Wiley & Sons, Inc.
Advertisements

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.
Chapter 6 Errors, Error Detection, and Error Control
Error Detection and Correction
Chapter 6 Errors, Error Detection, and Error Control.
Transmission Errors Error Detection and Correction
Data Link Layer – Part 1 V.T.Raja Oregon State University.
Error Detection and Correction
Chapter Six Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Sixth Edition.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Transmission Errors1 Error Detection and Correction.
1 ITC242 – Introduction to Data Communications Week 10 Topic 16 Data link control.
Chapter 6: Errors, Error Detection, and Error Control
Chapter 5 Link Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 20.
Chapter 6 Errors, Error Detection, and Error Control
Chapter 4 Chapter 4 Data Link Layer MIS Chapter 4 Data Link Layer Functions Media access control – when computers can transmit Detects and corrects.
Transmission Errors Error Detection and Correction
Midterm Review - Network Layers. Computer 1Computer 2 2.
Chapter 5 Data Link Layer.
Lecture 06 Errors, Error Detection, and Error Control.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
1 Chapter 6 Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach.
Chapter Six Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, October 2011.
Errors, Error Detection, and Error Control
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
Session 4. Objectives: By the end of this session, the student will be able to: Identify the different types of noise commonly found in computer networks.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer introduction,
1 Chapter 7 Switching, Packets, Frames, Parity, Checksums, and CRCs.
Copyright ©2011 Cengage Learning. All rights reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible web site, in whole.
Transmission Media II (06.523) Types and properties of physical transmission media II.
FUNDAMENTALS OF NETWORKING
Network Layer4-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m sharing.
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
Simple Parity Check The simplest form of error detection is the parity check used with ASCII codes, originally on asynchronous modem links Each 7 bit ASCII.
Chapter 9: Data Link Control
Chapter 6 Errors, Error Detection, and Error Control
Chapter Six Errors, Error Detection, and Error Control
ERROR CORRECTING CODES
Chapter 4 Data Link Layer.
The Three Main Sources of Transmission Errors
Chapter Six - Errors, Error Detection, and Error Control
Part III Datalink Layer 10.
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
Chapter 4 Data Link Layer 9/18/2018 5:27:13 AM9/18/2018 5:27:13 AM.
Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
Chapter 4 Data Link Layer.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, August 2010.
Business Data Communications
Chapter Nine: Data Transmission
Chapter 4 Data Link Layer.
Transmission Errors Error Detection and Correction
Reliability and Channel Coding
Transmission Errors Error Detection and Correction
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Switching, Packets, Frames, Parity, Checksums, and CRCs
Agenda Miscellaneous Business Week Learning Outline DQ & Lab Recap
Chapter 9: Data Link Control
Presentation transcript:

Chapter 4 Data Link Layer S305 – Network Infrastructure

Announcements and Outline Recap 3 Physical Layer 3.1 Circuits 3.2 Media 3.3 Digital Transmission (Digital Data) 3.4 Analog Transmission (Digital Data) 3.5 Digital Transmission (Analog Data) Outline 4 Data Link Layer 4.1 Media Access Control 4.2 Error Control 4.3 Data Link Protocols Copyright 2010 John Wiley & Sons, Inc 2

Network Layers Computer 1 Computer 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 Network Layer Data Link Layer Physical Layer 4

Data Link Layer – Ethernet Address 5

4.1 Media Access Control (MAC) Controlling when and what computer transmit Why used: When to use: Two possible approaches Controlled access Contention based access 6

4.1.1 Controlled Access Controlling access to shared resources Commonly used by mainframes (or its front end processor) Also used by some LAN protocols 7

4.1.2 Contention Collisions ? Common Use: Problematic? 8

4.1.3 MAC - Relative Performance Depends on network conditions Cross-over point 9

4.2 Error Control Handling of network errors caused by problems in transmission Network errors Human errors Categories of Network Errors Corrupted Lost data 10

4.2 Error Control (Cont.) Error Rate Burst Error 11

4.2.1 Sources of Errors Line noise and distortion – major cause More likely on electrical media Undesirable electrical signal Introduced by equipment and natural disturbances Degrades performance of a circuit Manifestation Extra bits “Flipped” bits Missing bits 12

4.2.1 Sources of Errors White Noise Impulse Noise 13

4.2.1 Sources of Errors Cross Talk Echo 14

4.2.1 Sources of Errors Source Examples What do you think is a major cause of impulse noise? 15

Sources of Errors and Prevention Source of Error What causes it How to prevent it Line Outages   Faulty equipment, Storms, Accidents (circuit fails) White Noise Movement of electrons (thermal energy) Increase signal strength (increase SNR) Impulse Noise Sudden increases in electricity (e.g., lightning, power surges) Shield or move the wires Cross-talk Multiplexer guard bands are too small or wires too close together Increase the guard bands, or move or shield the wires Echo Poor connections (causing signal to be reflected back to the source) Fix the connections, or tune equipment Attenuation Gradual decrease in signal over distance (weakening of a signal) Use repeaters or amplifiers Intermodulation Noise Signals from several circuits combine Move or shield the wires Jitter Analog signals change (small changes in amp., freq., and phase) Tune equipment Harmonic Distortion Amplifier changes phase (does not correctly amplify its input signal) More important mostly on analog 16  

4.2.2 Major Functions of Error Control Error prevention Error detection Parity checks Cyclic Redundancy Check (CRC) Error correction 17

4.2.2 Error Detection Sender calculates an Error Detection Value (EDV) and transmits it along with data Receiver recalculates EDV and checks it against the received EDV Mathematical calculations Mathematical calculations DATA EDV DATA EDV DATA ? = EDV EDV 18

4.2.2 Error Detection Techniques Parity checks Cyclic Redundancy Check (CRC) 19

4.2.2.1 Parity Checking One of the oldest and simplest A single bit added to each character Even parity: Odd parity: Receiving end recalculates parity bit If one bit has been transmitted in error the received parity bit will differ from the recalculated one 20

4.2.2.1 Examples of Using Parity Sending the letter A (01100010) using odd parity bit sender receiver 21

4.2.2.2 Cyclic Redundancy Check (CRC) Treats entire message as a number, divides by a preset number and uses the remainder as the check code in the message Preset number is chosen by sender and receiver to ensure that the remainder is no longer than 16 or 32 bits depending on detection mode. Detection modes: CRC-16 CRC-32 22

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