Internet Protocol Control Protocol. More...
Methods | |
Close | |
Perform an administrative close on the IPCP protocol. More... | |
Description.Get | |
Returns a textual description of the object. | |
Destructor | |
IpAddress.Get | |
Returns local the IPv4 address. More... | |
IpAddress.PeerProvided | |
Request the peer to provide an IP address. More... | |
IpAddress.Remote.Get | |
Returns the IP address of the remote peer. More... | |
IpAddress.Set ipAddress | |
Configures the IPv4 address to be used at the local end of the link. More... | |
Open | |
Perform an administrative open on the IPCP protocol. More... | |
Parent.Get | |
Returns the parent object. | |
Internet Protocol Control Protocol.
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.
The implementation is conform RFC1332
IP-Addresses
configuration option. ByteBlower does not provide the (optional) backward compatibility for this option. Layer2.Ppp.NetworkControl.Ipcp::Close |
Perform an administrative close on the IPCP protocol.
This event indicates that the link is not available for traffic.
In the closed state, the protocol will not come up when the PPP session is established. When the PPP/IPCP session was already established, the IPCP session will properly terminate the network layer.
See also RFC1661, section 4.3 (RFC1661, page 17) for detailed information about the Close event.
Layer2.Ppp.NetworkControl.Ipcp::Destructor |
Layer2.Ppp.NetworkControl.Ipcp::IpAddress.Get |
Returns local the IPv4 address.
This method returns the IP address to be used at the local end of the link. Before the IPCP protocol negotiated the IP address, this method will return the value configured with IpAddress.Set. After IP address negotiation with the remote peer, the method will return the IP address negotiated with the remote peer.
The latter will be either:
Returns:
172.16.0.63
Layer2.Ppp.NetworkControl.Ipcp::IpAddress.PeerProvided |
Request the peer to provide an IP address.
During IP address negotiation, we will request to peer to provide an IP address.
Layer2.Ppp.NetworkControl.Ipcp::IpAddress.Remote.Get |
Returns the IP address of the remote peer.
This method will return the IP address which has been requested by the remote peer during (the last) address negotiation.
Returns:
172.16.0.1
Layer2.Ppp.NetworkControl.Ipcp::IpAddress.Set | ipAddress | ||
Configures the IPv4 address to be used at the local end of the link.
During IP address negotiation, the given address will be proposed to the remote end of the link.
ipAddress | The IPv4 address to be used during negotiation at the local peer. |
BadIPv4Address | When an incorrect IPv4 address string was provided. |
Layer2.Ppp.NetworkControl.Ipcp::Open |
Perform an administrative open on the IPCP protocol.
This event indicates that the link is administratively available for traffic.
In the opened state, the protocol will come up when the PPP session is established. When the PPP/IPCP session was already established, the IPCP will start negotiation.
See also RFC1661, section 4.3 (RFC1661, page 17) for detailed information about the Open event.