2. PPP-Kapselung
Die PPP-Kapselung dient dazu, Datagramme mehrerer Protokolle eindeutig zuzuordnen. Diese Kapselung erfordert ein Framing, das Anfang und Ende der Kapselung kennzeichnet. Verfahren zur Bereitstellung des Framings sind in begleitenden Dokumenten spezifiziert.
Eine Zusammenfassung der PPP-Kapselung ist unten dargestellt. Die Felder werden von links nach rechts übertragen.
+----------+-------------+---------+
| Protocol | Information | Padding |
| 16 bits | * | * |
+----------+-------------+---------+
+----------+-------------+---------+
| Protocol | Information | Padding |
| 16 bits | * | * |
+----------+-------------+---------+
Protocol-Feld
Das Protocol-Feld ist zwei Oktette lang, und sein Wert kennzeichnet das im Information-Feld des Pakets gekapselte Datagramm. Das Feld wird mit dem am deutlichsten signifikanten Oktett zuerst übertragen und empfangen.
Die Struktur dieses Feldes entspricht dem ISO-3309-Erweiterungsmechanismus für Adressfelder. Alle Protokolle MUST ungerade sein; das am wenigsten signifikante Bit des am wenigsten signifikanten Oktetts MUST gleich "1" sein. Darüber hinaus MUST alle Protokolle so zugewiesen werden, dass das am wenigsten signifikante Bit des am deutlichsten signifikanten Oktetts gleich "0" ist. Empfangene Frames, die diesen Regeln nicht entsprechen, MUST als Protokoll mit unbekanntem Wert behandelt werden.
Protocol-Feldwerte im Bereich "0***" bis "3***" kennzeichnen das Netzwerkschichtprotokoll bestimmter Pakete, und Werte im Bereich "8***" bis "b***" kennzeichnen Pakete, die zu den zugehörigen Network Control Protocols (NCPs) gehören, sofern vorhanden.
Value (in hex) Protocol Name
0001 Padding Protocol
0003 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
Protocol-Feldwerte im Bereich "4***" bis "7***" werden für Protokolle mit geringem Datenaufkommen verwendet, die kein zugehöriges NCP haben. Protocol-Feldwerte im Bereich "c***" bis "f***" kennzeichnen Pakete als Link-Layer-Kontrollprotokolle (wie LCP).
0031 Bridging PDU
0033 Stream Protocol (ST-II)
0035 Banyan Vines
0037 unused
0039 AppleTalk EDDP
003b AppleTalk SmartBuffered
003d Multi-Link
005d reserved (compression inefficient)
00cf reserved (PPP NLPID)
00fd 1st choice compression
00ff reserved (compression inefficient)
0201 802.1d Hello Packets
0203 IBM Source Routing BPDU
0231 Luxcom
0233 Sigma Network Systems
Aktuelle Werte des Protocol-Feldes sind in der jeweils neuesten "Assigned Numbers"-RFC [2] festgelegt. Die derzeitigen Werte sind wie folgt zugewiesen:
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 unused
8039 Reserved
803b Reserved
803d Multi-Link Control Protocol
80fd Compression Control Protocol
80ff Reserved
c021 Link Control Protocol
c023 Password Authentication Protocol
c025 Link Quality Report
c223 Challenge Handshake Authentication Protocol
Value (in hex) Protocol Name
0001 Padding Protocol
0003 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