On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTIP-32 Programming Manual
Introduction
TCP/IP Networking
Programming with RTIP-32
Demo Programs
PPP
PPP Phases and States
PPP Commands
PPP Authentication
DHCP Client
DHCP Server
FTP Client
FTP Server
TFTP Client
TFTP Server
Telnet Client
Telnet Server
Web Server
SNMP Agent
POP3 Client
SMTP Client
SNTP Client
SMB Server
SMB Client
SMB3 Server
SMB3 Client
WLAN Driver
RTIP-32 Reference Manual
RTPEG-32
RTUSB-32
|
PPP Phases and States
In opening a PPP connection, PPP progresses through the following phases: DEAD, LCP (Link Control Protocol), AUTHENTICATION, READY and TERMINATE. PPP is initially in the DEAD phase and remains there until an LCP open has been performed and returns to the DEAD phase after a close event has occurred. PPP transitions to the LCP phase after an open event. During the LCP phase, its options are negotiated. After successful negotiation of the LCP options, and if an authentication protocol was negotiated, PPP transitions to the authentication phase. If no authentication was negotiated or authentication has been performed, PPP transitions to the READY phase where IPCP (IP control protocol) options are negotiated. After IPCP options are negotiated, the connection is open and IP packets can be transferred over the interface.
See the section on PPP Commands below for a discussion of commands sent to transition to the next phase.
In order for PPP to transition through LCP, Authentication and IPCP negotiation, it moves through the following states: CLOSED, LISTEN, REQUEST SENT, ACK RECEIVED, ACK SENT, OPENED, and TERMINATE SENT.
PPP
PPP Commands
|