Skip to Content
T1: A Survival Guide
book

T1: A Survival Guide

by Matthew Gast
August 2001
Beginner
304 pages
10h 3m
English
O'Reilly Media, Inc.
Content preview from T1: A Survival Guide

PPP Encapsulation and Framing

Nearly every byte-oriented protocol has borrowed something from HDLC. In the case of PPP, it is the framing format, which is shown in Figure 9-5. PPP frames open and close with the familiar HDLC flag. Following the opening flag, PPP uses a 1-byte address field. The address field is normally all ones, which means it is a broadcast address. Serial lines deliver frames in the order in which they are received, so frames are unnumbered by default. As in HDLC, a single byte set to 0x03 is used to indicate unnumbered information.

PPP framing and encapsulation

Figure 9-5. PPP framing and encapsulation

The protocol field follows the control byte. Two bytes are used to identify the encapsulated protocol. PPP protocol numbers for higher-layer protocols are assigned so as to ensure that protocol numbers begin with zero and end with one. Additionally, the PPP protocol number for an NCP is obtained by adding 32,768 to the corresponding network protocol. Protocols in the range of 0xc000 to 0xffff are reserved for link layer operations. Table 9-3 shows common PPP protocol numbers.

Table 9-3. PPP protocol numbers

Protocol number (hexadecimal)

Protocol

0021

IP

8021

IPCP (NCP for IP)

002d

Van Jacobson TCP/IP header compression (RFC 1144)

002f

Van Jacobson IP header compression

c021

Link Control Protocol

c025

Link Quality Report

The protocol numbers 802d and 802f are not used because ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JUNOS® FOR DUMMIES®

JUNOS® FOR DUMMIES®

Aviva Garrett, Cathy Gadecki, Michael Bushong
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian

Publisher Resources

ISBN: 0596001274Catalog PageErrata