What is PPPoE?
Many fibre and DSL internet plans need your router to log in with a username and password before it gets online. PPPoE is how it does that: it wraps the old dial-up protocol PPP inside Ethernet frames so the ISP can run a login session per customer.
The router first discovers the ISP's access server, then PPP agrees on settings, checks the password with PAP or CHAP, and hands out a public IP address. If your internet stops after changing routers, a missing PPPoE username or password is a common cause.
Think of it like this. PPPoE is like checking in at a hotel front desk. You walk in and ask if anyone is at the desk (discovery), agree on the house rules (LCP), show your booking (login), and get a room number (your IP address). Only then can you use the facilities.
Step by step
Normal
5 stepsA home router finds the ISP's access server, logs in with CHAP and gets a public IP address.
Normal
5 stepsA home router finds the ISP's access server, logs in with CHAP and gets a public IP address.
- 1
Discovery
PADI, PADO, PADR, PADS
The router broadcasts a PADI. The ISP's access server answers with a PADO, the router requests a session with a PADR, and the server confirms with a PADS and a session ID.
- 2
LCP
Agree on link settings
Both ends send Configure-Request with their settings, such as the 1492 byte maximum size and the login method, and acknowledge each other.
- 3
CHAP login
Prove the password
The server sends a random challenge. The router replies with an MD5 hash of the challenge and the password. The server checks it with the ISP's RADIUS login server.
- 4
IPCP
Get an IP address
The router asks for address 0.0.0.0, which means please give me one. The server answers with a Configure-Nak carrying the real address and DNS servers, and the router asks again with those.
- 5
Online
Traffic and keepalives
Every packet now travels inside PPPoE session frames. LCP echo requests check now and then that the line is still alive.
Wrong password
3 stepsThe router still has an old password saved, so the ISP rejects the login and the session ends.
Wrong password
3 stepsThe router still has an old password saved, so the ISP rejects the login and the session ends.
- 1
Discovery and LCP
The line itself works
Discovery and LCP succeed. They do not depend on the password, so lights on the modem look normal.
- 2
CHAP fails
Hash does not match
The router hashes the challenge with an old password. The ISP's login server computes a different hash and rejects it.
- 3
Session torn down
Terminate and PADT
The server sends CHAP Failure, closes PPP with LCP Terminate-Request and ends the PPPoE session with a PADT. The router log usually says authentication failed, and it retries after a pause.
1492 byte limit
3 stepsWhy some sites hang on PPPoE: full size 1500 byte packets do not fit, and how the router fixes it.
1492 byte limit
3 stepsWhy some sites hang on PPPoE: full size 1500 byte packets do not fit, and how the router fixes it.
- 1
Too big to fit
1500 plus 8 bytes
Ethernet carries 1500 bytes. PPPoE takes 8 of them, so only 1492 bytes are left for your IP packet. A 1500 byte packet with Do not fragment set cannot pass.
- 2
The warning
ICMP Fragmentation needed
The router sends back an ICMP message saying the limit is 1492. If a firewall blocks these messages, the connection just hangs, which is called a black hole.
- 3
The fix
MSS clamping
Most routers rewrite the TCP setup to ask for 1452 byte segments (1492 minus 40 bytes of IP and TCP headers). Servers then never send packets that are too big.
Myths and mix-ups
- PPPoE is not a slow leftover from dial-up; it runs at full fibre speeds on modern access servers.
- The PPPoE password is not your Wi-Fi password; it is a separate account from your ISP.
- CHAP does not send your password over the line; it sends a hash of a random challenge mixed with it.
- An MTU of 1492 is not a fault; it is normal for PPPoE, because 8 bytes go to headers.
Try it yourself
Run these on your own computer to see PPPoE at work.
Check the PPPoE link (Linux router)
ip addr show ppp0Shows the public address and mtu 1492 when the session is up.
Find the path MTU (Windows)
ping -f -l 1464 example.com1464 bytes of data plus 28 bytes of headers is 1492. Try 1472 and it should fail on PPPoE.
Find the path MTU (Linux)
ping -M do -s 1464 example.com-M do sets do not fragment. Raise -s until it fails.
Find the path MTU (macOS)
ping -D -s 1464 example.com-D sets do not fragment.
Router log
Router admin page, System log, search PPPLook for PADO timeout (line problem) or authentication failed (wrong password).
PPPoE at a glance
- Layer
- Data link (2)
- EtherTypes
- 0x8863 discovery, 0x8864 session
- Header
- 6 bytes PPPoE plus 2 bytes PPP
- MTU
- 1492 bytes (1500 minus 8)
- Login methods
- PAP (plain) or CHAP (hashed challenge)
- Address
- IPCP for IPv4, IPv6CP plus DHCPv6 for IPv6
- Year
- 1999
- Defined in
- RFC 2516, PPP in RFC 1661
Defined inRFC 2516RFC 1661RFC 1994RFC 1332RFC 4638
Header fields
What PPPoE puts in its messages, with example values from the stories above.
PPPoE discovery
- Version and type
1, 1- Code
0x09 (PADI)- Session ID
0x0000Zero means no session exists yet.- Service-Name tag
(any)- Host-Uniq tag
0x5a1c0001A label the router picks so it can match the offers to its own request.- AC-Name tag
bng1.isp.example- AC-Cookie tag
16 bytesThe server checks this comes back in the request, which stops spoofed floods.
Test yourself
What is the first PPPoE message the router sends?
Questions people ask
What is PPPoE on my router?
A connection type where the router logs in to your ISP with a username and password before getting online. Your ISP gives you these details, often on the bill or welcome letter.
Where do I find my PPPoE username and password?
From your ISP: the welcome letter, your account page or support. It is not the same as your Wi-Fi password or router admin password.
What MTU should I use for PPPoE?
1492 is standard. Some ISPs support 1500 with RFC 4638 (baby jumbo frames), but only use it if your ISP says so.
What is the difference between PPPoE and DHCP for internet?
With DHCP the router just asks for an address. With PPPoE it must first log in. Both end with your router holding a public or ISP-side address.
Why does my router say PPPoE authentication failed?
The ISP rejected the username or password, or the account is suspended. Retype both carefully, including any @domain part of the username.