Skip to Main Content
Fundamentals of Data Communication Networks
book

Fundamentals of Data Communication Networks

by Oliver C. Ibe
November 2017
Beginner content levelBeginner
320 pages
8h 38m
English
Wiley
Content preview from Fundamentals of Data Communication Networks

Chapter 3Data Link Layer Protocols

3.1 Introduction

As discussed in Chapter 1, the data link layer is responsible for organizing data in frames and for detecting errors that occur in a frame. It is also responsible for hop-by-hop (or link-by-link) flow control. In this chapter, we examine the structure of a frame, the data link layer flow control schemes, and two of the protocols defined for this layer, namely the high-level data link control (HDLC) and the point-to-point protocol (PPP).

3.2 Framing

The data link layer breaks up the bitstream it receives from the network layer into discrete frames and computes the checksum for each frame. In the past, many schemes were used to create frames, especially when character-oriented transmission was still used. Today, the common method is the bit-oriented scheme in which a frame consists of the following:

  • A leading flag
  • A header
  • The data to be transmitted (or payload)
  • The checksum
  • A trailing flag.

The format of a frame is shown in Figure 3.1. The exact structure of the header depends on the type of data link control (DLC) protocol in use. The checksum is used for error detection in the frame at the receiver.

Scheme for Format of Data Link Layer Frame.

Figure 3.1 Format of Data Link Layer Frame.

3.3 Bit Stuffing

The flag is a special bit pattern 01111110, which is 1 byte (or octet) long. A process called bit stuffing is used to preserve the uniqueness of the flag in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Zero Trust Networks, 2nd Edition

Zero Trust Networks, 2nd Edition

Razi Rais, Christina Morillo, Evan Gilman, Doug Barth
CCNP and CCIE Enterprise Core ENCOR 350-401 Official Cert Guide, 2nd Edition

CCNP and CCIE Enterprise Core ENCOR 350-401 Official Cert Guide, 2nd Edition

Brad Edgeworth, Ramiro Garza Rios, David Hucaby, Jason Gooley

Publisher Resources

ISBN: 9781119436256Purchase book