中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

IPCP & IPv6CP: IP Control Protocol and IPv6 Control Protocol

IP Control Protocol (IPCP) and IPv6 Control Protocol (IPv6CP) define the Network Control Protocol for establishing and configuring the Internet Protocol or IPv6 over PPP, and a method to negotiate and use Van Jacobson TCP/IP header compression with PPP.

IPCP is responsible for configuring, enabling, and disabling the IP protocol modules on both ands of the point-to-point link. IPCP uses the same packet exchange mechanism as the Link Control Protocol (LCP). IPCP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase. IPCP packets received before this phase is reached should be silently discarded.

Before any IP packets may be communicated, PPP must reach the Network-Layer Protocol phase, and the IP Control Protocol must reach the Opened state.

Van Jacobson TCP/IP header compression reduces the size of the TCP/IP headers to as few as three bytes. This can be a significant improvement on slow serial lines, particularly for interactive traffic.

The IP Compression Protocol Configuration Option is used to indicate the ability to receive compressed packets. Each end of the link must separately request this option if bidirectional compression is desired.

IPv6CP is responsible for configuring, enabling, and disabling the IPv6 protocol modules on both ends of the point-to-point link. IPv6CP uses the same packet exchange mechanism as the Link Control Protocol (LCP). IPv6CP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase. IPv6CP packets received before this phase is reached should be silently discarded.

Protocol Structure

IPCP and IPv6CP configuaration option packet header:

8 bits 8 bits 16 bits
Type Length Configuration Option

Type: 1 for IP-Address, 2 for IP-Compression Protocol, and 3 for IP-Address

Length >= 4

Configuration Option - the field is two octets and indicates one of the following options:

For IPCP:

  • Type 1: IP-Addresses
  • Type 2: IP-Compression Protocol
  • Type 3: IP-Address.

For IPv6CP:

  • Type 1: Interface - Identifier
  • Type 2: IPv6-Compression Protocol

IPCP and IPv6CP header structure:

8 bits 8 bits 16 bits
Code Identifier Length
Data
  • Code - Specifies the function to be performed.
  • Identifier - Used to match requests and replies.
  • Length - Size of the packet including the header.
  • Data -Zero or more bytes of data as indicated by the Length. This field may contain one or more Options.

Related Terms: IP, IPv6, TCP, PPP, Van Jacobson, PPP NCP

Sponsor Source: IPCP is defined by IETF (http://www.ietf.org) in RFC 1332 and IPv6CP is defined in RFC 2472.

Reference:
http://www.javvin.com/protocol/rfc1332.pdf: The PPP Internet Protocol Control Protocol (IPCP).
http://www.javvin.com/protocol/rfc2472.pdf: IP Version 6 over PPP
http://www.javvin.com/protocol/rfc3241.pdf: Robust Header Compression (ROHC) over PPP.
http://www.javvin.com/protocol/rfc3544.pdf: IP Header Compression over PPP.

Reply

The content of this field is kept private and will not be shown publicly.
  • Use <!--pagebreak--> to create page breaks.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <!--pagebreak--> <img> <br> <table> <tr> <td> <tbody> <p>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
5 + 15 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.