Docsity

Data Link Layer - Computer Communication Networks - Lecture Slides, Slides of Data Communication Systems and Computer Networks

Partial preview of the text

Download Data Link Layer - Computer Communication Networks - Lecture Slides and more Slides Data Communication Systems and Computer Networks in PDF only on Docsity!

The data link layer

Data Link Layer Design Issues

  • Services Provided to the Network Layer
  • Framing
  • Error Control
  • Flow Control

Functions of the Data Link Layer (2)

Relationship between packets and frames.

Services Provided to Network Layer (a) Virtual communication. (b) Actual communication.

Framing

A character stream. (a) Without errors. (b)

With one error.

Framing (2)

(a) A frame delimited by flag bytes. (b) Four examples of byte sequences before and after stuffing.

Error Detection and Correction

  • Error-Correcting Codes
  • Error-Detecting Codes

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

Elementary Data Link Protocols

  • An Unrestricted Simplex Protocol
  • A Simplex Stop-and-Wait Protocol
  • A Simplex Protocol for a Noisy Channel

Protocol Definitions

Continued ๏ƒ  Some definitions needed in the protocols to follow. These are located in the file protocol.h.

ted

Simplex

Protocol

Stop-

and-

Wait

Protoc

ol

A Simplex Protocol for a Noisy

Channel (ctd.)

A positive acknowledgement with retransmission protocol.

Sliding Window Protocols

  • A One-Bit Sliding Window Protocol
  • A Protocol Using Go Back N
  • A Protocol Using Selective Repeat