Jump to content

Internet Protocol Control Protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by VladPiersec (talk | contribs) at 17:52, 28 February 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
"IPCP" redirects here. For the Philippine law, see Intellectual Property Code of the Philippines.

In computer networking, Internet Protocol Control Protocol (IPCP) is a network control protocol for establishing and configuring Internet Protocol over a Point-to-Point Protocol link. IPCP is responsible for configuring, enabling, and disabling the IP protocol modules on both ends of the point-to-point link. IPCP uses the same packet exchange mechanism as the Link Control Protocol. IPCP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase, and any IPCP packets received before this phase is reached should be silently discarded.

IP Frame

After the configuration is done, the link is able to carry IP data as a payload of the PPP frame. This code indicates that IP data is being carried.

PPP header IPCP header Data :::

IPCP header:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
Code Identifier Length
Data :::

Code.

8 bits.
Specifies the function to be performed.

CodeDescriptionReferences
0Vendor Specific. RFC 2153
1Configure-Request. 
2Configure-Ack. 
3Configure-Nak. 
4Configure-Reject. 
5Terminate-Request. 
6Terminate-Ack. 
7Code-Reject. 

Identifier. 8 bits.

Used to match requests and replies.

Length. 16 bits.
Size of the packet including the header.

Data. Variable length.
Zero or more bytes of data as indicated by the Length. This field may contain one or more Options.


Configuration Options

IPCP Configuration Options allow negotiatiation of desirable Internet Protocol parameters. IPCP uses the same Configuration Option format defined for LCP Link Control Protocol, with a separate set of Options.

IPCP Configuration Options:

0001020304050607 0809101112131415
Option Length
Data :::

Option. 8 bits.

OptionLengthDescriptionReferences
1 IP-Addresses (deprecated). RFC 1332
2>= 14IP-Compression-Protocol.

RFC 1332, RFC 3241,

RFC 3544
3 6IP-Address. RFC 1332
46Mobile-IPv4. RFC 2290
1296Primary DNS Server Address. RFC 1877
1306Primary NBNS Server Address. RFC 1877
1316Secondary DNS Server Address. RFC 1877
1326Secondary NBNS Server Address. RFC 1877

Length. 8 bits.

Data. Variable length.

IP-Compression-Protocol

Type Length IP-Compression-Protocol Data
1 byte 1 byte 2 bytes variable

IP-Address

Type Length IP address
1 byte 1 byte 4 bytes

References