From Wikipedia, the free encyclopedia
- "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 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.
[edit] IP Frame
| Code |
ID |
Length |
IP Information |
| 1 byte |
1 byte |
2 bytes |
variable |
IP packet encapsulated in a PPP frame
| Flag |
Address |
Control |
8021(hex) |
Payload (and padding) |
FCS |
flag |
The information contained in an IPCP packet is such:
- Configure-request
- Configure-ack
- Configure-nak
- Configure-reject
- Terminate-request
- Terminate-ack
- Code-reject
After the configuration is done, the link is able to carry IP data as a payload of the PPP frame. The protocol field value is 8021(hex). This code indicates that IP data is being carried.
[edit] 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.
- 1: IP-Addresses
- 2: IP-Compression-Protocol
- 3: IP-Address
[edit] Ip-Addresses
[edit] IP-Compression-Protocol
| Type |
Length |
IP-Compression-Protocol |
Data |
| 1 byte |
1 byte |
2 bytes |
variable |
[edit] IP-Address
| Type |
Length |
IP adress |
| 1 byte |
1 byte |
4 bytes |
[edit] References