PPP: LCP, NCP and PAP/CHAP authentication
Sign in to read this lesson
PPP (Point-to-Point Protocol) works at the data link layer and consists of two parts. LCP (Link Control Protocol) sets up the link and handles authentication. NCP (Network Control Protocol) makes it possible to carry protocols such as IPv4, IPv6 and CDP over the link (IPCP, IPv6CP, CDPCP). PPP has two authentication methods. PAP sends the name and password in clear text. CHAP uses a three-way handshake: a challenge is sent, and the reply is not the password itself but an MD5 hash. Authentication is not encryption: traffic still travels in the clear.
What you will learn
- PPP is a data link (layer 2) protocol made of two parts: LCP and NCP.
- LCP: sets up and tests the link; if authentication is enabled, it handles that too. NCP: one per layer 3 protocol (IPCP for IPv4, IPv6CP for IPv6, CDPCP for CDP).
- Order: LCP → (authentication) → NCP.
- PAP: two steps; the name and password are sent in clear text, which is not secure.
- CHAP (Challenge Handshake Authentication Protocol): three steps (challenge → response → success/failure); the password never crosses the link, only an MD5 hash is sent. Authentication is not encryption: for encryption you need a VPN.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.