PPPoE Basics and Client Configuration
Key Takeaways
- PPPoE carries PPP sessions over Ethernet so broadband ISPs can authenticate users and manage sessions on Ethernet last-mile handoffs.
- PPPoE has a Discovery stage (PADI, PADO, PADR, PADS) followed by a Session stage that runs PPP (LCP, auth, NCP).
- Home and SME Internet access commonly uses PPPoE client mode on the customer router toward the ISP.
- Huawei HCIA-level client design uses a dialer interface, binds it to the Ethernet WAN port, and configures PPP authentication (usually CHAP) with ISP credentials.
- Exam trap: PPPoE is not “Ethernet instead of PPP”—it is PPP over Ethernet; PAP vs CHAP security still applies inside the session.
PPPoE Basics and Client Configuration
Quick Answer: PPPoE runs a PPP session over Ethernet, which is how many home and SME broadband links authenticate to an ISP. Discovery uses PADI → PADO → PADR → PADS to build a session ID; then the Session stage runs normal PPP (LCP, PAP/CHAP, NCP/IPCP). On Huawei routers at HCIA level, configure a dialer client, bind it to the Ethernet WAN interface, set authentication mode and ISP username/password, and route via the dialer.
Ethernet won the access layer. Many ISPs still want PPP’s session model: per-subscriber authentication, accounting hooks, and familiar IPCP address assignment. PPPoE (PPP over Ethernet) is the glue. If you only memorize “PPPoE = home Internet,” you will miss exam items that test discovery order or dialer binding. If you forget that PPP still runs inside, you will mis-answer PAP/CHAP questions on broadband stems.
Why PPPoE exists
| Driver | Explanation |
|---|---|
| Ethernet last mile | DSL modem, cable, or ONT often presents Ethernet toward the customer router |
| Per-user sessions | ISP wants a session boundary for auth, idle policies, and troubleshooting |
| Reuse of PPP | Same LCP / auth / NCP skill set as serial PPP |
| Addressing | IPCP can assign the customer a public or private WAN IP |
Without PPPoE (or a similar session technology), a plain DHCP-on-WAN design may be used instead—some modern ISPs do exactly that. HCIA still expects PPPoE fluency because it remains common in training topologies and in many regional broadband deployments.
Exam trap: PPPoE is a frequent correct answer for “how does a small office authenticate to the ISP on an Ethernet broadband handoff?” Do not answer “configure OSPF to the ISP” or “enable MPLS on the PC.”
Two stages: Discovery and Session
PPPoE is not a single packet type. It is a Discovery conversation followed by a Session that carries PPP frames.
Discovery stage (build the session)
Discovery finds an access concentrator (the ISP PPPoE server/BRAS role) and agrees on a session ID.
| Message | Full name (conceptual) | Direction | Role |
|---|---|---|---|
| PADI | PPPoE Active Discovery Initiation | Client → broadcast | “Is any PPPoE server out there?” |
| PADO | PPPoE Active Discovery Offer | Server → client | “I can serve you” (may see multiple offers) |
| PADR | PPPoE Active Discovery Request | Client → chosen server | “I request a session from you” |
| PADS | PPPoE Active Discovery Session-confirmation | Server → client | Confirms session; provides session ID |
Optional PADT (Terminate) appears when either side ends the session—know the name as the teardown discovery-class message.
Memory aid: I-O-R-S → Initiation, Offer, Request, Session-confirmation (PADI, PADO, PADR, PADS).
If Discovery fails, you never reach PPP LCP. Causes include wrong VLAN on the WAN port, ISP requires a service-name the client does not request, Layer 1 modem issues, or filters blocking PPPoE ethertypes.
Session stage (run PPP)
After PADS, Ethernet frames carry PPP with the agreed session ID. From this point the earlier chapter material applies unchanged:
- LCP opens and negotiates options.
- Authentication runs (CHAP preferred; PAP if required).
- NCP/IPCP negotiates IPv4 parameters; the dialer obtains an address.
- The router installs routing (often a default route out the dialer) so LAN users reach the Internet via NAT or other edge services studied elsewhere.
| Stage | Success looks like | Failure looks like |
|---|---|---|
| Discovery | Session ID exists; client found a server | No PADO/PADS; dialer stays down |
| LCP | Link control open | Option mismatch, loop, keepalive fail |
| Auth | Accept | Bad password, wrong mode |
| IPCP | WAN IP present on dialer | Auth OK but no address / no default |
PPPoE client vs server roles
| Role | Who | HCIA focus |
|---|---|---|
| PPPoE client | Customer edge router (Huawei AR in labs) | Primary configuration skill |
| PPPoE server / AC | ISP BRAS or lab server router | Conceptual; optional light awareness |
Associate-level exams emphasize client setup: dialer, binding, credentials, verification. You should still recognize that the ISP side terminates many PPPoE sessions and authenticates them, often against RADIUS—tying back to AAA concepts without requiring full BRAS design.
Huawei client configuration concepts (HCIA)
Think in objects, not only in lines of CLI:
- Physical/Ethernet WAN interface toward the modem or ONT (often
GigabitEthernet0/0/0in diagrams). - Dialer interface that hosts PPP, authentication, and IP (negotiated).
- Binding so PPPoE client traffic uses the Ethernet WAN port.
- Credentials matching the ISP account.
- Routing via the dialer for Internet-bound traffic.
Illustrative configuration flow
[Huawei] dialer-rule
[Huawei-dialer-rule] dialer-rule 1 ip permit
[Huawei-dialer-rule] quit
[Huawei] interface Dialer0
[Huawei-Dialer0] dialer user customer@isp.example
[Huawei-Dialer0] dialer-group 1
[Huawei-Dialer0] dialer bundle enable
[Huawei-Dialer0] ppp chap user customer@isp.example
[Huawei-Dialer0] ppp chap password cipher IspP@ssw0rd
[Huawei-Dialer0] ip address ppp-negotiate
[Huawei-Dialer0] quit
[Huawei] interface GigabitEthernet0/0/0
[Huawei-GigabitEthernet0/0/0] pppoe-client dial-bundle-number 1
Notes for exam reading (platforms differ slightly; grasp the intent):
| Concept | Intent |
|---|---|
| Dialer interface | Logical PPP client endpoint |
| dialer-rule / dialer-group | What interesting traffic triggers or permits dial (lab patterns vary) |
| ppp chap user / password | CHAP client identity toward ISP (PAP variants exist) |
| ip address ppp-negotiate | Take address from IPCP |
| pppoe-client dial-bundle-number | Bind Ethernet interface to the dialer bundle |
Some courses show ppp authentication-mode on server-side interfaces; on a pure client, the critical pieces are user/password, CHAP/PAP method expected by ISP, and PPPoE bind. Always match the ISP’s required authentication method—CHAP is common.
Default route and LAN side
After the dialer is up:
[Huawei] ip route-static 0.0.0.0 0.0.0.0 Dialer0
LAN interfaces keep private addressing; Internet access for hosts usually needs NAT/Easy IP referencing the dialer as the outbound interface (covered in the NAT services chapter). For this section, know that the PPPoE dialer is the WAN next-hop surface.
Verification habits
[Huawei] display pppoe-client session summary
[Huawei] display interface Dialer0
[Huawei] display ip interface brief
Check for:
- Session state up with a session ID
- Dialer protocol up and an IP from negotiation
- Default route pointing at Dialer0
- Authentication errors if the session flaps
Mapping PPPoE to earlier PPP knowledge
| PPP idea | How it appears in PPPoE |
|---|---|
| Need for encapsulation | Ethernet carries PPPoE; PPPoE carries PPP |
| LCP | Still first inside the session |
| PAP vs CHAP | Still chosen for security vs requirement |
| NCP/IPCP | Still assigns/negotiates IPv4 |
| HDLC comparison | Irrelevant on pure Ethernet PPPoE access |
Double trap: Students say “PPPoE is more secure than CHAP.” PPPoE is a transport; CHAP is still the stronger password method inside PPP. Another trap: assuming Discovery messages replace authentication—PADS is not a password check; CHAP/PAP still run afterward.
Design scenarios you should narrate in one breath
- SME broadband primary: GE WAN → PPPoE client dialer → CHAP to ISP → default via dialer → NAT for LAN.
- Backup path: Same PPPoE primary; cellular interface with higher preference distance floating default (concept only).
- Lab server: One router as PPPoE server authenticating local users; another as client—mirrors ISP/customer roles.
Exam traps checklist
- Home/SME Ethernet broadband with ISP login → PPPoE client, not “blank Ethernet with OSPF to ASBR.”
- Order: PADI, PADO, PADR, PADS then PPP phases.
- PADS ≠ authentication success; PAP/CHAP still matter.
- CHAP remains preferred over PAP for security inside PPPoE.
- Dialer + bind to Ethernet is the Huawei client pattern; do not put the ISP password only on a VLANIF with no PPPoE.
- MPLS/SR still do not replace PPPoE on the branch Internet handoff.
Practice goals
- Recite PADI/PADO/PADR/PADS roles without looking.
- Explain why PPPoE Discovery can succeed while CHAP still fails.
- Sketch a minimal Huawei dialer + GE bind + CHAP user + ppp-negotiate + default route.
- Given a stem “small company fiber modem presents Ethernet and ISP gives a username,” choose PPPoE client design language immediately.
Mastering WAN concepts, PPP authentication, and PPPoE client behavior completes the WAN basics trio for HCIA-Datacom: you can place the edge technology, secure the session correctly, and configure the common broadband pattern Huawei expects at associate level.
What problem does PPPoE primarily solve for many broadband Internet access designs?
Which sequence correctly lists the standard PPPoE Discovery messages from client initiation to session confirmation?
In a typical Huawei HCIA-level PPPoE client design, which statement is most accurate?
PPPoE Discovery completes with PADS, but Internet access still fails because authentication is rejected. What is the best interpretation?