PPPoE Quiz

Point-to-Point Protocol over Ethernet

Undergraduate Communication Engineering

📚 12 Questions
⏱️ 30 Minutes
📝 Total: 100 Points
Correct answers are highlighted in green with checkmarks

🔹 Part A: Basic Questions (20 Points) 5 points each

1 What does PPPoE stand for?
A) Point-to-Point Protocol over Ethernet Correct
B) Point-to-Point Protocol over Ethernet
C) Packet-to-Packet Protocol over Ethernet
D) Private-to-Public Protocol over Ethernet
2 Which EtherType value is used for PPPoE Discovery stage?
A) 0x0800
B) 0x8863 Correct
C) 0x8864
D) 0x0806
3 What is the primary purpose of the PADS packet in PPPoE?
A) To initiate the discovery process
B) To offer PPPoE service from server to client
C) To confirm session establishment and assign Session ID Correct
D) To terminate an existing PPPoE session
4 Which authentication protocol transmits passwords in plaintext?
A) CHAP (Challenge Handshake Authentication Protocol)
B) PAP (Password Authentication Protocol) Correct
C) EAP (Extensible Authentication Protocol)
D) RADIUS (Remote Authentication Dial-In User Service)

📝 Part B: Descriptive Questions (40 Points) 10 points each

5 Describe the four steps of the PPPoE Discovery stage in the correct order.
A) PADO → PADI → PADS → PADR
B) PADI → PADO → PADR → PADS Correct
C) PADI → PADR → PADO → PADS
D) PADR → PADO → PADI → PADS
6 Which three phases occur during the PPPoE Session stage after discovery is complete?
A) ARP, RARP, ICMP
B) LCP, Authentication, NCP Correct
C) DHCP, DNS, HTTP
D) TCP, UDP, IP
7 What is the function of the AC-Cookie tag in PPPoE Discovery?
A) To encrypt the username and password
B) To prevent Denial of Service (DoS) attacks Correct
C) To assign IP addresses to the client
D) To compress data packets
8 Which protocol is primarily used during the NCP (Network Control Protocol) phase to assign IP addresses?
A) LCP (Link Control Protocol)
B) IPCP (IP Control Protocol) Correct
C) CHAP (Challenge Handshake Authentication Protocol)
D) PAP (Password Authentication Protocol)

🧠 Part C: Analytical Questions (40 Points) 10 points each

9 A network engineer observes that PPPoE connection attempts fail after the PADO packet is received but before PADS. Which is the MOST likely cause?
A) The client is not receiving IP addresses from DHCP
B) The PPPoE server is unable to generate a unique Session ID
C) The client's PADR packet is not reaching the server Correct
D) The LCP negotiation is failing
10 Compare PPPoE and DHCP: Which statement accurately describes their relationship?
A) PPPoE and DHCP are competing protocols at the same OSI layer
B) PPPoE operates at Layer 2 for authentication while DHCP operates at Layer 7 for IP allocation; they can work together Correct
C) PPPoE has replaced DHCP in modern broadband networks
D) DHCP provides authentication while PPPoE provides IP allocation
11 In a CHAP authentication scenario, why is it more secure than PAP even if both use the same password?
A) CHAP uses three-way handshake and never transmits the actual password over the network Correct
B) CHAP encrypts all data packets using AES-256
C) CHAP uses a longer password format
D) CHAP operates at the transport layer instead of the data link layer
12 An ISP wants to implement per-user bandwidth accounting and access control for broadband subscribers. Why would PPPoE be preferred over static IP or DHCP for this scenario?
A) PPPoE provides faster data transmission speeds than DHCP
B) PPPoE enables per-user authentication, session tracking with unique Session IDs, and centralized accounting via RADIUS Correct
C) PPPoE eliminates the need for IP addresses entirely
D) PPPoE operates without any overhead compared to DHCP

📋 Detailed Answer Key & Explanations

Question 1 (Basic) Concept Recall
Correct Answer: A) Point-to-Point Protocol over Ethernet
Explanation: PPPoE stands for Point-to-Point Protocol over Ethernet. It is defined in RFC 2516 and is designed to encapsulate PPP frames inside Ethernet frames. PPPoE combines the authentication and encryption features of PPP with the multi-user support of Ethernet, making it ideal for ISP broadband deployments.
Question 2 (Basic) Technical Specification
Correct Answer: B) 0x8863
Explanation: PPPoE uses two distinct EtherType values: 0x8863 for the Discovery stage (PADI, PADO, PADR, PADS packets) and 0x8864 for the Session stage (after the session is established). The value 0x0800 is for IPv4, and 0x0806 is for ARP.
Question 3 (Basic) Protocol Mechanism
Correct Answer: C) To confirm session establishment and assign Session ID
Explanation: PADS (PPPoE Active Discovery Session-confirmation) is the final packet of the Discovery stage. When the PPPoE server receives a PADR (Request) packet, it generates a unique Session ID to identify the PPPoE session and sends it back to the client in the PADS packet. This Session ID is used in all subsequent communications during the session.
Question 4 (Basic) Security Comparison
Correct Answer: B) PAP (Password Authentication Protocol)
Explanation: PAP is a two-way handshake protocol that transmits passwords in plaintext over the network. In contrast, CHAP uses a three-way handshake and transmits only a hashed response (using MD5), never sending the actual password. Therefore, CHAP is significantly more secure than PAP.
Question 5 (Descriptive) Process Sequence
Correct Answer: B) PADI → PADO → PADR → PADS
Explanation: The Discovery stage follows this exact sequence:
1. PADI (PPPoE Active Discovery Initiation) - Client broadcasts to find servers
2. PADO (PPPoE Active Discovery Offer) - Server(s) unicast response offering service
3. PADR (PPPoE Active Discovery Request) - Client unicast to selected server
4. PADS (PPPoE Active Discovery Session-confirmation) - Server confirms with Session ID
This four-step process establishes the PPPoE session before moving to the Session stage.
Question 6 (Descriptive) Protocol Architecture
Correct Answer: B) LCP, Authentication, NCP
Explanation: The PPPoE Session stage includes three PPP sub-phases:

1. LCP (Link Control Protocol): Establishes and configures the data link connection, negotiating parameters like MRU (Maximum Receive Unit) and authentication protocols.

2. Authentication Phase: Verifies user credentials using PAP or CHAP against a local user table or RADIUS server.

3. NCP (Network Control Protocol): Configures network-layer parameters, primarily using IPCP (IP Control Protocol) to assign IP addresses, DNS servers, and other network settings.
Question 7 (Descriptive) Security Feature
Correct Answer: B) To prevent Denial of Service (DoS) attacks
Explanation: The AC-Cookie (Access Concentrator Cookie) is a security mechanism included in PADO packets by the PPPoE server. It contains a unique value that the client must return in the PADR packet. This prevents certain DoS attacks where an attacker might flood the server with spoofed PADR requests, as the server can verify the cookie to ensure the request is legitimate and part of an ongoing discovery process.
Question 8 (Descriptive) Protocol Function
Correct Answer: B) IPCP (IP Control Protocol)
Explanation: IPCP (IP Control Protocol) is the specific NCP used for configuring IP-related parameters. During IPCP negotiation, the PPPoE client and server exchange Configure-Request packets to negotiate IP addresses, DNS server addresses, and WINS server addresses. Once both sides send and receive Configure-ACK packets, the PPPoE client can access the network with the assigned IP configuration.
Question 9 (Analytical) Troubleshooting
Correct Answer: C) The client's PADR packet is not reaching the server
Explanation: The sequence indicates the failure occurs between PADO (received) and PADS (not received). Since PADO was received, the client should send a PADR (PPPoE Active Discovery Request) to the selected server. If PADS is never received, the most likely causes are:

1. The PADR packet is being dropped or not reaching the server (network issues, MAC address filtering)
2. The server is unable to allocate resources for the session

Option B is less likely because server resource exhaustion is rare. Option D is incorrect because LCP negotiation occurs after the Session stage begins (after PADS), not during Discovery. The timing clearly points to a PADR delivery issue.
Question 10 (Analytical) Protocol Comparison
Correct Answer: B) PPPoE operates at Layer 2 for authentication while DHCP operates at Layer 7 for IP allocation; they can work together
Explanation: PPPoE and DHCP serve fundamentally different purposes and are not competitors:

PPPoE: Operates at the Data Link Layer (Layer 2), provides user authentication (PAP/CHAP), session management, and creates a point-to-point connection over Ethernet. It is connection-oriented.

DHCP: Operates at the Application Layer (Layer 7) over UDP, provides automatic IP address allocation without authentication. It is connectionless.

In many ISP deployments, they work together: PPPoE authenticates the user and establishes the session, then DHCP may be used within that session for IP allocation, or IPCP may be used instead.
Question 11 (Analytical) Security Analysis
Correct Answer: A) CHAP uses three-way handshake and never transmits the actual password over the network
Explanation: CHAP security superiority stems from its mechanism:

Three-way Handshake:
1. Server sends Challenge (random value)
2. Client computes hash = MD5(Packet ID + Password + Challenge) and sends Response (hash + username)
3. Server computes expected hash using stored password and compares

The actual password never traverses the network—only a hash response. Additionally, CHAP uses a unique Challenge for each authentication, preventing replay attacks. PAP simply sends username:password in plaintext, making it vulnerable to eavesdropping.
Question 12 (Analytical) Design Decision
Correct Answer: B) PPPoE enables per-user authentication, session tracking with unique Session IDs, and centralized accounting via RADIUS
Explanation: PPPoE is specifically designed for ISP subscriber management:

Per-user Authentication: Each subscriber must provide valid credentials (username/password) via PAP or CHAP, enabling individual access control.

Session Tracking: The unique Session ID assigned during PADS allows the ISP to track individual subscriber sessions, monitor online status, and distinguish traffic between users sharing the same access concentrator.

RADIUS Integration: PPPoE servers (BRAS/BNG) can forward authentication and accounting requests to RADIUS servers, enabling centralized user management, bandwidth control, and detailed usage logging for billing purposes.

Static IP lacks authentication and session management. DHCP lacks built-in authentication and per-session tracking capabilities.