Vol. I · No. 46The protocol sectionSat, 10 Oct 2026
Layer 2 · The Link · a link between exactly two

PPP

Point-to-Point Protocol

PPP is the handshake for a link with only two ends. Where Ethernet addresses many stations on a shared medium, PPP frames traffic over a single dedicated link, negotiates the options both sides will use, and authenticates the far end before any data flows.

PPP brings up a two-ended link and agrees its terms — framing, authentication and addressing in one negotiation.

Operates at
Layer 2
Data Link
Topology
Point-to-point
no addresses needed
Negotiates
LCP + NCP
link, then network
Seen as
PPPoE
DSL and fibre

How it works

Bringing the link up, one phase at a time
Your endThe far end
1 · LCP — agree how to talk
Configure-Request → Configure-Ack
Maximum frame size, authentication method, compression, keepalives
2 · Authenticate — prove who you are
CHAP challenge → response → success
A hashed challenge, so the password never crosses the link
3 · NCP — configure the network layer
IPCP assigns an IP address — the link is now open for traffic

Nothing is assumed: every option is negotiated, identity is checked, and only then does IP get an address. A Terminate request or a missed keepalive brings the whole link back down.

The main points

What PPP does, step by step

1
Establish with LCP

The Link Control Protocol negotiates frame size, authentication and keepalives until both ends agree.

2
Authenticate

CHAP challenges the far end with a nonce it must hash with the shared secret; PAP sends a password and is obsolete.

3
Configure with NCP

A network control protocol — IPCP for IPv4 — assigns addresses and options for each protocol to be carried.

4
Carry, then tear down

Frames flow until either side sends a terminate request or the echo keepalives stop being answered.

Where you still meet it
PPPoE — PPP inside Ethernet, for DSL and fibre
PPTP / L2TP — PPP tunnelled for older VPNs
Serial & console — the original leased-line use

In cybersecurity

PPP was the first link layer to authenticate before carrying traffic — but the mechanisms it shipped with are old, and some are broken outright.

Never PAP

PAP sends the password in the clear over the link; CHAP or EAP is the minimum.

CHAP is only a hash

It resists replay but not an offline crack of a weak secret — length still matters.

MS-CHAPv2 is broken

Its strength reduces to a single DES key; treat any tunnel relying on it as plaintext.

No confidentiality

PPP authenticates the link but doesn’t encrypt it — wrap it in IPsec or use a modern VPN.

PPPoE on shared media

A rogue concentrator on the segment can answer discovery and become the far end.

Credential reuse

ISP PPPoE credentials sit in router config in plain text more often than anyone would like.

Rides in the stack

The linkPPPIP, IPv6, …

On DSL and fibre it is PPPoE — the same negotiation, carried inside Ethernet frames to reach the ISP.

Works with

EthernetIPv4

Phases & auth

Phases
LCPlink options
Authidentity
NCPaddresses
Terminateshut down
Auth methods
EAPpreferred
CHAPchallenge
MS-CHAPv2broken
PAPplaintext