跳到主要内容

Point-to-Point 协议字段分配

PPP DLL 协议号​

点对点协议 (PPP) 数据链路层 [146,147,175] 包含一个 16 位协议字段, 用于标识被封装的协议. 该协议字段与 ISO 3309 (HDLC) 针对地址字段的扩展机制一致. 所有协议都必须这样分配: 最高有效八位组的最低有效位等于 "0", 而最低有效八位组的最低有效位等于 "1".

已分配的 PPP DLL 协议号​

   Value (in hex)  Protocol Name

0001 to 001f reserved (transparency inefficient)
0021 Internet Protocol
0023 OSI Network Layer
0025 Xerox NS IDP
0027 DECnet Phase IV
0029 Appletalk
002b Novell IPX
002d Van Jacobson Compressed TCP/IP
002f Van Jacobson Uncompressed TCP/IP
0031 Bridging PDU
0033 Stream Protocol (ST-II)
0035 Banyan Vines
0037 reserved (until 1993)
00ff reserved (compression inefficient)

0201 802.1d Hello Packets
0231 Luxcom
0233 Sigma Network Systems

8021 Internet Protocol Control Protocol
8023 OSI Network Layer Control Protocol
8025 Xerox NS IDP Control Protocol
8027 DECnet Phase IV Control Protocol
8029 Appletalk Control Protocol
802b Novell IPX Control Protocol
802d Reserved
802f Reserved
8031 Bridging NCP
8033 Stream Protocol Control Protocol
8035 Banyan Vines Control Protocol
8037 reserved till 1993
80ff reserved (compression inefficient



c021 Link Control Protocol
c023 Password Authentication Protocol
c025 Link Quality Report
c223 Challenge Handshake Authentication Protocol

在 "0---" 到 "3---" 范围内的协议字段取值标识特定数据报的网络层协议, 而在 "8-- -" 到 "b---" 范围内的取值标识属于相应网络控制协议 (NCP) (如有) 的数据报.

建议不要分配 "02--" 到 "1e--" 以及 "--01" 到 "--1f" 范围内的取值, 因为它们压缩效率低下.

在 "4---" 到 "7---" 范围内的协议字段取值用于没有相应 NCP 的低流量协议.

在 "c---" 到 "e---" 范围内的协议字段取值将数据报标识为控制协议 (例如 LCP).

   Code       Packet Type
---- -----------
1 Configure-Request
2 Configure-Ack
3 Configure-Nak
4 Configure-Reject
5 Terminate-Request
6 Terminate-Ack
7 Code-Reject
8 * Protocol-Reject
9 * Echo-Request
10 * Echo-Reply
11 * Discard-Request
12 * RESERVED
  • LCP Only

PPP LCP CONFIGURATION OPTION TYPES​

点对点协议 (PPP) 的链路控制协议 (LCP) 规定了若干配置选项 [146], 这些选项由一个 8 位 Type 字段加以区分. 这些 Type 的取值分配如下:

   Type       Configuration Option
---- --------------------
1 Maximum-Receive-Unit
2 Async-Control-Character-Map
3 Authentication-Protocol
4 Quality-Protocol
5 Magic-Number
6 RESERVED
7 Protocol-Field-Compression
8 Address-and-Control-Field-Compression
9 FCS-Alternatives

PPP LCP 配置选项类型​

点对点协议 (PPP) 链路控制协议 (LCP) [146] 规定了若干配置选项, 它们由一个 8 位类型字段区分. 这些类型的分配如下:

   Type       Configuration Option
---- --------------------
1 IP-Addresses (deprecated)
2 IP-Compression-Protocol
3 IP-Address

PPP IPCP 配置选项类型​

点对点协议 (PPP) 互联网协议控制协议 (IPCP) [147] 规定了若干配置选项, 它们由一个 8 位类型字段区分. 这些类型的分配如下:

   Type       Configuration Option
---- --------------------
1 Remote Ring Identification
2 Line Identification
3 MAC Type Selection
4 Tinygram Compression
5 LAN Identification

PPP 桥接配置选项类型​

点对点协议 (PPP) 桥接扩展 [176] 规定了若干配置选项, 它们由一个 8 位类型字段区分. 这些类型的分配如下:

   encapsulated.  These Types are assigned as follows:

Type MAC
---- -----------
0 Reserved
1 IEEE 802.3/Ethernet
2 IEEE 802.4
3 IEEE 802.5
4 FDDI

PPP 桥接 MAC 类型​

点对点协议 (PPP) 桥接扩展 [176] 包含一个 8 位 MAC 类型字段, 用于标识 MAC