TechKnowSurge
Cisco CCNA 1.2
VideoNetworkFree

HDLC and PPP

This topic covers HDLC and Point-to-Point Protocol (PPP) as Layer 2 WAN protocols, explaining how they differ from Ethernet and how they operate over T1 serial connections between routers.

Complete this video to capture a CTF flag worth 1 point.

About this video

HDLC and PPP are Layer 2 WAN encapsulation protocols commonly configured on serial interfaces, such as T1 connections, to carry traffic between routers across wide area networks. While a device like the Cisco 1841 operates as a Layer 3 router using IP addresses to forward traffic, each physical connection still requires a Layer 1 medium and a Layer 2 protocol to frame and deliver data. The router's built-in Ethernet ports handle LAN-side connectivity at Layers 1 and 2, while an optional WAN interface card provides the T1 CSU/DSU functionality needed for point-to-point router links. Comparing HDLC and PPP to Ethernet clarifies key structural differences at Layer 2. An Ethernet frame carries both a 6-byte destination MAC address and a 6-byte source MAC address, resulting in a larger frame header. HDLC and PPP, by contrast, use a much simpler address field—typically a single byte set to all ones—with no source address, since point-to-point links have only two endpoints and address resolution is unnecessary. PPP adds a protocol field not present in HDLC, but both protocols are intentionally lightweight compared to Ethernet. In a practical network scenario, data originating from a LAN host travels through a switch to a Layer 3 device, which routes the packet to a router. At that router's serial interface, the original Ethernet Layer 1 and Layer 2 framing is stripped away and the payload is re-encapsulated in either HDLC or PPP before being transmitted across the T1 line. On the receiving end, the process reverses and the traffic is handed off to the destination Ethernet network. Configuring these protocols on Cisco serial interfaces is the next hands-on step after understanding their frame structures and how they compare to Ethernet.

What you'll learn

What's covered

HDLC & PPP on Cisco Router

Aligned to

Cisco CCNA
1.2 Describe characteristics of network topology architectures

Key terms

Data Link Layer
Layer 2 of the OSI model responsible for node-to-node data transfer and error detection on a single network segment.
Encapsulation
The process of wrapping data with protocol headers as it passes down the layers of the OSI model.
Point-to-Point Protocol
PPP
A data link protocol used to establish a direct connection between two nodes.
Wide Area Network
WAN
A network that spans a large geographic area, connecting multiple local area networks.
Media Access Control
MAC
A sublayer of the Data Link layer that controls how devices on a network gain access to a medium and transmit data.
High-Level Data Link Control
HDLC
A bit-oriented synchronous data link layer protocol used for point-to-point WAN connections, providing framing, flow control, and error detection. Cisco's proprietary version of HDLC is the default encapsulation on Cisco serial interfaces and adds a protocol type field absent from the ISO standard.
T1
A digital WAN transmission line that operates at Layer 1 and provides 1.544 Mbps of bandwidth, commonly used to connect routers over serial point-to-point links.

Topics

Hdlc Point To Point Protocol Wan Protocols Layer 2 Encapsulation Serial Connections Networking

Transcript

A Router with a T1 Card

I have a router here that I'm going to connect into my network. This is a Cisco 1841. Now, the Cisco 1841 has two Ethernet ports. This is a layer 3 device, meaning that it is designed to route traffic on layer 3 using IP addresses. It will route traffic to where it needs to go. But since I have two Ethernet ports on here, it provides layer 1 and 2 Ethernet services. Ethernet operates on layer 1 and layer 2, so that is what I'm mainly going to be using on my networks.

However, that's not the only thing that this is capable of providing. I also have a card in here, so this gives it extra functionality. There's two spaces here where I can slip cards in here to provide extra functionality, and what I have is a card slipped into here which is a T1. Key one is a layer 1 protocol call, and so it is that CSU/DSU, or that data communication equipment, that is integrated into here. So that is what I'm going to be making connection between my routers with. So I'll use my Ethernet to connect into my local area networks, my LANs, for my business, but I'm going to use this T1 to connect from router to router.

Now that's the layer 1 technology, and this is a layer 3 device. That still leaves layer 2 that we need to configure on here. And the two things that I'm going to configure on these Cisco devices is going to be HDLC and PPP, point-to-point protocol. What we're going to do is we're going to configure this T1 interface, and we're going to configure our point-to-point protocol and HDLC protocols at layer 2.

Comparing These Protocols to Ethernet

We're actually going to compare it to Ethernet, because we've talked a lot about Ethernet, so let's just compare and contrast the difference between these protocols and Ethernet.

Up until now we've been configuring a router, a few switches, some pies and a demo laptop, so this is what we currently have right here. Although what we also will see is that we have these different connections here that we need to establish across our network. And what I'm going to do, so we can understand that there are different protocols out there, is we're going to set up our T1 lines across here, and we're going to set up HDLC across one of them and point-to-point protocol across the other.

So what will happen is the data that gets sent, let's say it's going from this demo laptop to the switch over here, it's going to carry up to this layer 3 switch right here. From this layer 3 switch the traffic is going to be routed to this router that's right here, and then from this router it's going to be routed across this HDLC line and then across this point-to-point protocol line, and then into this network right here, which is going to be another Ethernet network. And so across here we have this LAN connection and then it will switch. And once again, if we recall, we actually tear down that layer 1 and layer 2 and have to reform it, and this is going to show us how that gets reformed into these different protocols to be sent across to a whole other network.

You don't really need to know HDLC and point-to-point protocol real in depth. Both of those are very simplistic and we don't really need to cover it to any huge degree, but I thought let's just take a glance at some of the differences.

The Frames

One of the differences we see is within the frame and what the frame looks like, and it answers a lot of our questions when we look at the frame. So here I have an Ethernet frame right here, a layer 2 Ethernet frame, because remember Ethernet operates on both layer 1 and layer 2, so this is the layer 2 part of this Ethernet frame, versus HDLC and point-to-point protocol, which are just layer 2. And then it goes across what we're going to be going across as a T1. You could have some sort of serial connection, or there are other types of connections as well.

So the Ethernet frame has a destination MAC address, which is six bytes, and a source MAC address, which is six bytes. You can see that with HDLC and point-to-point protocol, there's just an address field. It's just a destination address, there is no source address, and it's just one byte. HDLC and point-to-point protocol have a few minor variances, but they're very similar protocols.

So we can see that the header on this Ethernet frame is much larger, and the trailer can be a little bit smaller on these HDLC and point-to-point protocol frames. So there's some differences that we see within there. And then we see a little variation between this point-to-point protocol and HDLC: they both have control fields, and this one has a protocol field for point-to-point protocol.

The Addresses

And that address, as we saw in those frames, is much simpler. HDLC is just all ones, point-to-point protocol is all ones, versus Ethernet uses the MAC address, which can vary depending on what the equipment is that it's being sent on. So there you have it, that's some of the differences between Ethernet, HDLC and point-to-point protocol.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →