10/27/2004 10. Data Link Layer - Lin 1 CPET/ECET 355 10. Data Link Layer Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.

Slides:



Advertisements
Similar presentations
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Advertisements

Chapter 7 Data Link Layer
Error Detection and Correction
Transmission Errors Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
PART III DATA LINK LAYER. Position of the Data-Link Layer.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 Introduction to Computer Networks.
Transmission Errors1 Error Detection and Correction.
The Data Link Layer Chapter 3. Position of the data-link layer.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
1 ITC242 – Introduction to Data Communications Week 10 Topic 16 Data link control.
Chapter 5 Link Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 20.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 expanded by Jozef Goetz PART III.
CS352- Link Layer Dept. of Computer Science Rutgers University.
Chapter 10 Error Detection and Correction
Shashank Srivastava Motilal Nehru National Institute Of Technology, Allahabad Error Detection and Correction : Data Link Layer.
Transmission Errors Error Detection and Correction
Introduction 1 Lecture 23 Link Layer (Error Detection/Correction) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Part 1: Overview of the Data Link layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose,
Feb. 25, 2004 Prof. Paul Lin 1 CPET The Data Link Layer Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University,
CSE331: Introduction to Networks and Security Lecture 3 Fall 2002.
William Stallings Data and Computer Communications 7th Edition
1 Kyung Hee University Data Link Layer PART III. 2 Kyung Hee University Position of the data-link layer.
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
TOBB ETÜ ELE46/ELE563 Communications Networks Lecture 01 May 6, 2014 Fall 2011 Tuesday 10:30 – 12:20 (310) Thursday 15:30 – 17:20 (372) İsrafil Bahçeci.
1 Data Link Layer Lecture 20 Imran Ahmed University of Management & Technology.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Datornätverk A – lektion 7 Forts. Kapitel 9: SDH och SONET. Kapitel 10: Felhantering.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
4: DataLink Layer1 Chapter 4: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m sharing.
Data Communications, Kwangwoon University10-1 Part 3 Data Link Layer Chapter 10 Error Detection and Correction Chapter 11 Data Link Control Chapter 12.
Cyclic Redundancy Check CRC Chapter CYCLIC CODES Cyclic codes are special linear block codes with one extra property. In a cyclic code, if a codeword.
ECE453 – Introduction to Computer Networks Lecture 4 – Data Link Layer (I)
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1. Error Detection Techniques:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
5: DataLink Layer5-1 Error Detection EDC= Error Detection and Correction bits (redundancy) D = Data protected by error checking, may include header fields.
Chapter 6 – Layer 2 MAC, Frames, Hex, etc.. Layer 1 / Layer 2 Layer 1 Signals, media, bit streams Layer 2 –Communicates with upper layers using Logical.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer introduction,
Overview All data can be corrupted, for reliable communications we must be able to detect and correct errors implemented at the data link and transport.
Computer Networks Lecture 2: Data Link Based on slides from D. Choffnes Northeastern U. and P. Gill from StonyBrook University Revised Autumn 2015 by S.
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
Error Detection.
Computer Communication & Networks Lecture 10 Datalink Layer: Error Correction Waleed Ejaz
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Error Detection & Correction  Data can be corrupted during transmission.  For reliable transmission, errors must be detected and corrected.  Error detection.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 5 Data Link Layer.
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.
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.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Error Correction/Detection.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Data Link Layer.
CIS 321 Data Communications & Networking
Part III Datalink Layer 10.
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
PART III Data Link Layer.
Link Layer and LANs Its not about how hard you hit... It's about how hard you can get hit and keep moving forward 5: DataLink Layer.
Transmission Errors Error Detection and Correction
Error Detection and Correction
DATA COMMUNICATION Lecture-34.
Transmission Errors Error Detection and Correction
Data Link Layer. Position of the data-link layer.
Presentation transcript:

10/27/ Data Link Layer - Lin 1 CPET/ECET Data Link Layer Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and Computer Engineering Technology Indiana University-Purdue University Fort Wayne

10/27/ Data Link Layer - Lin 2 Data Link Layer Packetizing Flow Control Media Access Control Addressing Error Control

10/27/ Data Link Layer - Lin 3 Data Link Layer IEEE LAN Standards  CSMA/CD  Token Bus  Token Ring  DQDB  Wireless Data Link Layer (Internet Model)  Medium Access Layer  Logical Link Control

10/27/ Data Link Layer - Lin 4 Data Link Layer Ch 10 – Error Detection and Correction Ch 11 – Data Link Control and Protocols Ch 12 – Point-to-Point Access: PPP Ch 13 – Multiple Access Ch 14 – Local Area Networks: Ethernet Ch 15 – Wireless LANs

10/27/ Data Link Layer - Lin 5 Data Link Layer Ch 16 – Connecting LANs, Backbone Networks, and Virtual LANs Ch 17 – Cellular Telephone and Satellite Networks Ch 18 – Virtual Circuit Switching: Frame Relay and ATM

10/27/ Data Link Layer - Lin 6 Error Detection and Correction 10.1 Types of Errors  Single-Bit Error  Burst Error 10.2 Detection  Redundancy  Parity Check  Cyclic Redundancy Check (CRC)  Checksum

10/27/ Data Link Layer - Lin 7 Error Detection and Correction 10.3 Error Correction  Retransmission  Forward Error Correction  Hamming Code  Burst Error Correction

10/27/ Data Link Layer - Lin Types of Errors  Single-Bit Error  One bit error  Happen often in parallel communications From p. 244, Figure 10.1 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin Types of Errors  Burst Error  2 or more bits affected by noise  Not necessarily in consecutive bits From p. 244, Figure 10.2 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin Detection  Redundancy From p. 245, Figure 10.3 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin Detection  Parity Checking (based on addition)  Even parity  Odd parity  Performance  Check all single bit errors  Detect burst errors with a total number of bits changed is ODD (1, 3, 5, etc)

10/27/ Data Link Layer - Lin Detection  Even Parity Check From p. 246, Figure 10.5 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin Detection  Two-Dimensional Parity Check From p. 248, Figure 10.6 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin 14 Two-Dimensional Parity Check  Method  Calculate parity bit for each data unit (row)  Calculate parity bit for each column to create a new parity row  Add parity row to the end of the data stream for transmitting  Performance  Can detect a burst errors of n bits  Cannot detect one pattern of errors: 2 bit in one data unit is damaged and another 2 bit in exactly the same positions in another data unit is also damaged

10/27/ Data Link Layer - Lin Detection  CRC Generator and Checker  Based on binary division (remainder) From p. 250, Figure 10.7 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin 16 CRC Generator  Binary Division (modulo-2)  C code, (VHDL)  Assembly language From p. 251, Figure 10.8 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin 17 CRC Checker  Binary Division – CRC Cheker From p. 252, Figure 10.9 of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin 18 CRC - Polynomial  Polynomial selecting criteria  It should not be divisible by x -> all burst errors of a length equal to the degree of the polynomial are detected  It should be divisible by x + 1 -> all burst errors affecting an ODD number of bits are detected From p. 252, Figure of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin Detection  Standard Polynomials From p. 253, Table 10.1 of Data Communications and Networking, Forouzan, McGrawHill NamePolynomialApplicationCRC-8x 8 + x 2 + x + 1ATM header CRC-10x 10 + x 9 + x 5 + x 4 + x 2 + 1ATM AAL ITU-16x 16 + x 12 + x 5 + 1HDLC ITU-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 + x + 1 LANs

10/27/ Data Link Layer - Lin Detection  Checksum From p. 254, Figure of Data Communications and Networking, Forouzan, McGrawHill

10/27/ Data Link Layer - Lin 21 Summary Questions?