Internet Protocol Control Protocol
From Wikipedia, the free encyclopedia
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 machanism 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] IPCP Frame
Code | ID | Length | IPCP Information |
---|---|---|---|
1 byte | 1 byte | 2 bytes | variable |
IPCP 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 capable to carry IP data as a payload of the PPP frame. The protocol field value is 0021(hex). This code indicates that IP data is being carried.