IPCP

Reference standard: RFC 1332 updated by RFC 1877.

This document defines the Network Control Protocol for establishing and configuring the Internet Protocol over PPP, and a method to negotiate and use Van Jacobson TCP/IP header compression with PPP.

The IP Control Protocol (IPCP) is responsible for configuring, enabling, and disabling the IP protocol modules on both ends of the point-to-point link.

Exactly one IPCP packet is encapsulated in the PPP Information field, where the PPP Protocol field indicates type hex 8021 (IP Control Protocol).

Packet structure: fields

bits 0 _ _ _ _ _ _ 7 field
octet 1 Code
octet 2 Identifier
The identifier field aids in matching requests and replies.
octets 3-4 Length
The length field indicates the length of the IPCP packet including the Code, Identifier, Length and Data fields.
octets 5-n Data (for example Configuration Options)
The data field is zero or more octets.

Bit 0 is the most significant bit.

Code 

bits 0 _ _ _ _ _ _ 7 Dec Code designation
Link Configuration packets
0 0 0 0 0 0 0 1 1 Configure Request
0 0 0 0 0 0 1 0 2 Configure Ack
0 0 0 0 0 0 1 1 3 Configure Nack
0 0 0 0 0 1 0 0 4 Configure Reject
Link Termination packets
0 0 0 0 0 1 0 1 5 Terminate Request
0 0 0 0 0 1 1 0 6 Terminate Ack
Link Maintenance packets
0 0 0 0 0 1 1 1 7 Code Reject

Configuration Options

bits 0 _ _ _ _ _ _ 7 field
octet 1 Configuration Option type.
octet 2 Length
The length field indicates the length of the Configuration Option including the Type, Length and Data fields.
octets 3-n Data
The data field is zero or more octets, and contains information specific to the Configuration Option.

 

bits 0 _ _ _ _ _ _ 7 Dec Type designation
0 0 0 0 0 0 0 1 1 IP-Addresses
0 0 0 0 0 0 1 0 2 IP-Compression-Protocol
0 0 0 0 0 0 1 1 3 IP-Address
1 0 0 0 0 0 0 1 129 Primary-DNS-Address
1 0 0 0 0 0 1 1 130 Primary-NBNS-Address
1 0 0 0 0 1 0 0 131 Secondary-DNS-Address
1 0 0 0 0 1 0 1 132 Secondary-NBNS-Address
 

home     Quick start     Specifications     Connections     Features     How to?     Notes     Search     Site Map

updated:  27-Feb-04