Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Regulating data flow Slow receivers not.

Slides:



Advertisements
Similar presentations
9-1 Chapter 9 - Communication Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of Computer.
Advertisements

Chapter 3 The Data Link Layer.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
5-1 Data Link Layer l Objective: to achieve reliable and efficient communication between 2 adjacent machines l Data link layer design issues n services.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Error Detection and Correction
Transmission Errors Error Detection and Correction
Error Detection and Correction
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Error Detection and Correction
Transmission Errors1 Error Detection and Correction.
The Data Link Layer Chapter 3. Position of the data-link layer.
Circuit Switching (a) Circuit switching. (b) Packet switching.
SYST5030/4030 ☻Error control☻ ☻ Network architecture ☻ ☻ Protocols ☻ ☻ Transmission Efficiency and Throughput ☻
Error detection and correction
CSC 450/550 Part 2: The Data Link Layer. CSC 450/550 Summary Part A Functions (1)Functions of the data link layer (2)Framing (3)Error control (3.1) Error.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao (Part of the slides are based on materials supplied by Dr. Louise Moser at UCSB and.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Reliability and Channel Coding
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Error Detection and Reliable Transmission EECS 122: Lecture 24 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Hamming Code Rachel Ah Chuen. Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted.
Transmission Errors Error Detection and Correction
Channel Coding Part 1: Block Coding
Data and Computer Communications. The Data Link Layer.
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.
© 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.
Data Link Layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Data Link Layer : Services, Framing, Error Detection and Correction2.
The Data Link Layer Goal –As reliable as possible, efficient communication Point-to-Point –single connection –bits arrive in order sent Not necessarily.
The data link layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Error detection.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Frame delineation Dealing with transmission errors.
The Data Link Layer Chapter 3 10/28/2015www.noteshit.com1.
ECE453 – Introduction to Computer Networks Lecture 4 – Data Link Layer (I)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
Error/Flow Control Modeling (ARQ Modeling). © Tallal Elshabrawy 2 Data Link Layer  Data Link Layer provides a service for Network Layer (transfer of.
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
Computer Communication & Networks Lecture 10 Datalink Layer: Error Correction Waleed Ejaz
Review.
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
Tufts University. EE194-WIR Wireless Sensor Networks. February 17, 2005 Increased QoS through a Degraded Channel using a Cross-Layered HARQ Protocol Elliot.
Review. Layers Physical layer – sending bits from one place to another, ensuring an okay BER Data link layer – encapsulate information bits into frames,
Data Communications and Networking
The Data Link Layer Chapter 3 1/21/2016www.ishuchita.com1.
COMPUTER NETWORKS. Unit -2 Continue... Physical Layer Connection –Oriented Networks : X.25 Relay Frames Types of cables Co-axial Fiber optics Twisted.
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 1. 2 Single-bit error 3 Multiple-bit error 4.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Data Link Layer Chapter 3.
1 University of Calgary CS 441 Part 3 The Data Link Layer 3.1 Framing & Error Control 3.2 Error & Flow Control.
Computer Networks NYUS FCSIT Spring 2008 Igor TRAJKOVSKI, Ph.D. Associate Professor
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
Data Link Layer.
Part III. Data Link Layer
Chapter 3 Review on Data Link Layer
Chapter 3 – Part 1 The Data Link Layer.
Overview Jaringan Komputer (2)
Net 221D : Computer Networks Fundamentals
Chapter 3 The Data Link Layer.
EEC-484/584 Computer Networks
Lecture 7 review Consider a link running the Go-Back-N protocol. Suppose the transmission delay and propagation delay are both 1ms, the window size is.
DATA COMMUNICATION Lecture-33.
EEC-484/584 Computer Networks
Reliability and Channel Coding
Types of Errors Data transmission suffers unpredictable changes because of interference The interference can change the shape of the signal Single-bit.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Regulating data flow Slow receivers not swamped by fast senders

Functions of the Data Link Layer (2) Relationship between packets and frames.

Errors in transmission Basics of transmission – variation of (amplitude/phase/frequency) SNR –10 log ((peak signal/(RMS Noise)^2) Regenerative Repeaters Bit Error Ratio (BER) –Optical medium is around 10^-14 –Wireless is around 10^-3 –Copper in between Gaussian Noise/AWGN Burst errors

Error Detection and Correction Error-Correcting, Error-Detecting Codes Some Basics Msg (m) + Redundant(r) = Code(n) Not all codewords are legal Hamming Distance is the number of positions where two codewords differ If 2 codewords are distance d apart, then it takes d errors to convert one to the other => d+1 distance for d error detection 2d+1 distance for d error correction

Error Detection and Correction Parity as an EDC 1 bit parity creates a code with distance > 000, 01 --> 011 Suppose we want to correct all single errors in an m bit message. How efficient can such a code be in terms of length ? n bit code => n single bit errors => n+1 codes/valid msg (n+1)2^m <= 2^n or m+r+1 <= 2^r

Hamming Codes Hamming codes obtain the theoretical lower bounds (perfect parity codes) –In a codeword, powers of 2 are the check bits, and the other bits contain data –The parity of a data bit is checked by several check bits, as directed by the binary representation of its position. Bit 11s parity is checked by –Reciever “adds” parity bits in error, and this gives the location of the error bit! –Interleaving to detect burst errors

Error-Correcting Codes Use of a Hamming code to correct burst errors.

Error Detecting Codes Useful when BERs are low and overhead of ECC is significant compared to Re-Tx. Still use the interleaving idea to convert burst errors into single bit errors Polynomial (CRC) codes –A k+1 bit number is represented as a polynomial of degree k in some dummy variable, with leftmost bit being most significnt. –Sender and receiver agree on the “generator” of the code, another polynomial G(x), with 1s in msb and lsb –Polynomial arithmetic is done modulo 2 (no carries or borrows, GF(2))

CRC Codes Append a “checksum” to the end of the msg –If G(x) is of degree r, then append r 0s to end of the m msg bits. The new number is now x^rM(x) –Divide this by G(x) modulo 2 –Subtract the remainder from X^rM(x) modulo 2, and let this be T(x). This number is now divisible by G(x) Transmit T(x), and have receiver check if the received data is divisible by G(x) Suppose T(x)+E(x) arrives. (T(x)+E(x)/G(x) ) = E(x)/G(x) Detection whenever E(x)/G(x) != 0

Error detection in CRC 1 bit error will be caught as long as G has 2 or more terms For 2 isolated bit errors if G(x) does not divide x^k+1 where k = distance between error bits CRC-CCITT 1+x^5 +x^12 +x^16 IEEE 802 (32,26,23,22,16,12,11,10,8,7,5,4,2,1,0) BCH Codes are GF(2^m). Reed-Solomon are BCH codes with block size 2^m Convolution codes (Trellis or Viterbi)

Error-Detecting Codes Calculation of the polynomial code checksum.