2. Contents
1. Point to Point protocol
2. Point to Point over Ethernet
3. PPPoE Characteristics
4. PPPOE Packet Flow
5. Operational Description of PPPoE
6. Troubleshooting Discovery part in Access Network
7. Real Time Packet Flow
3. • PPP is a point-to-point protocol, meaning that one node
can access only one another specified node.
• PPP is located at the second layer of the Open Systems
Interconnection (OSI) reference model and the data link
layer of the TCP/IP model.
• An important function of PPP is identity authentication
for both communication parties, it does not provide
address information. Because Ethernet is a broadcast
multi-access network, PPP cannot be directly applied to
Ethernet links.
Point-to-Point Protocol
4. Huawei Proprietary - Restricted Distribution
4
• Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol that facilitates communication
between network endpoints.
• PPPoE encapsulates Point-to-Point Protocol (PPP) frames inside Ethernet frames, offering the same
benefits as PPP, while providing connectivity across Ethernet networks.
Point-to-Point Protocol over Ethernet (PPPoE)
5. Huawei Proprietary - Restricted Distribution
5
• PPPoE provides the following characteristics:
• In terms of functions:
• PPPoE integrates the advantages of PPP and implements functions such as identity authentication,
encryption, and compression unsupported by traditional Ethernet.
• PPPoE uses unique session IDs to ensure user security.
• In terms of applications:
• PPPoE dial-up is the most common method of enabling terminals to connect to the ISP network
for broadband access.
• PPPoE can be used on Ethernet cables, such as cable modems and digital subscriber lines (DSLs), to
provide access services for users through Ethernet protocols.
PPPoE Characteristics
6. Huawei Proprietary - Restricted Distribution
6
• A PPPoE packet is a PPP packet encapsulated in an Ethernet frame
PPPoE Packet Flow
8. Huawei Proprietary - Restricted Distribution
8
• Discovery
• Session
• Termination
• Discovery
• PADI is the initialization message sent by the Client
as broadcast to discover if are there any Server.
• PADO is the answer of the Servers available as
unicast to the requested Client.
• PADR is the selection message of Client. This
message is sent to the selected Server.
• PADS is the set up message sent by Server.
Session ID is sent in this last stage and the Session
is established.
Operational Description of PPPoE
10. Huawei Proprietary - Restricted Distribution
10
• Session
• LCP Negotiation
• The PPPoE client and PPPoE server send LCP
Configure-Request packets to each other.
• After receiving the Configure-Request packet, the
client and server respond based on the negotiation
options in the packet.
• If both ends reply with a Configure-ACK packet,
the LCP link is successfully established. Before this
occurs, both ends keep sending LCP Configure-
Request packets.
Operational Description of PPPoE
11. Huawei Proprietary - Restricted Distribution
11
• LCP Negotiation
> If both ends reply with a Configure-ACK packet within
the specified LCP negotiation interval and before the
timer for LCP negotiation expires, the LCP link is
successfully established.
> If no Configure-ACK packet is received before the
timer for LCP negotiation expires, LCP negotiation is
terminated.
• After the LCP link is established, the PPPoE server
periodically sends LCP Echo-Request packets to
the PPPoE client and receives Echo-Reply packets
from the PPPoE client to check whether the LCP
link is normal.
Operational Description of PPPoE
12. Huawei Proprietary - Restricted Distribution
12
Operational Description of PPPoE
13. Huawei Proprietary - Restricted Distribution
13
• PAP authentication
• PAP is a two-way handshake protocol that authenticates users
based on usernames and passwords. The usernames and
passwords are transmitted in cleartext. The PPPoE server (or
RADIUS server) checks whether the usernames and passwords
are correct based on the local user table. This mode applies to
environments with low network security requirements.
• CHAP authentication
• CHAP authentication is a three-way handshake protocol. It can
be used by the PPPoE server (or RADIUS server) to check
whether the username and password are correct based on the
local user table. In CHAP authentication mode, only the
username (and not the user password) is transmitted over the
network. As such, CHAP authentication is more secure than
PAP authentication.
Operational Description of PPPoE
14. Huawei Proprietary - Restricted Distribution
14
• NCP negotiation mainly deals with network-layer parameters,
such as IPCP and IPv6CP, in PPP packets. A PPPoE client mainly
uses IPCP to obtain the IP address or IP address segment for
network access.
• The NCP negotiation process is similar to the LCP negotiation
process. After NCP negotiation succeeds, the PPPoE client can
normally access the network.
Operational Description of PPPoE
15. Huawei Proprietary - Restricted Distribution
15
• Customer Reported NO MAC Address learnt from All
ports.
• Following commands can be used to check the PPPOE
statistics
• For example the service port index is 0
Troubleshooting Discovery Part
16. Huawei Proprietary - Restricted Distribution
16
• To Verify this we captured the packet on uplink port.
Troubleshooting Discovery Part
17. Huawei Proprietary - Restricted Distribution
17
• PPPOE Can be simulated by using following commands at NE Level
PPPOE Simulation