PPPoE Overview
PPPoE establishes a point-to-point connection between the client and the server, also called an access concentrator. Multiple hosts can be connected to the services router, and their data can be authenticated, encrypted, and compressed before the traffic is sent to the PPPoE session on the services router. PPPoE is easy to configure and enables services to be managed on a per-user basis rather than on a per-site basis.
The PPPoE interface to the access concentrator can be a Fast Ethernet interface or a Gigabit Ethernet interface. If the interface is either Fast Ethernet or Gigabit Ethernet, use a PPPoE encapsulation.
PPPoE Stages
PPPoE has two stages, the discovery stage and the PPPoE session stage. In the discovery stage, the client discovers the access concentrator by identifying the Ethernet media access control (MAC) address of the access concentrator and establishing a PPPoE session ID. In the PPPoE session stage, the client and the access concentrator build a point-to-point connection over Ethernet, based on the information collected in the discovery stage. The LN1000 router acts as an access concentrator.
PPPoE Discovery Stage
An LN1000 router initiates the PPPoE discovery stage by broadcasting a PPPoE active discovery initiation (PADI) packet. To provide a point-to-point connection over Ethernet, each PPPoE session must learn the Ethernet MAC address of the access concentrator and establish a session with a unique session ID. Because the network might have more than one access concentrator, the discovery stage enables the client to communicate with all of them and select one.
The PPPoE discovery stage consists of the following steps:
- PPPoE active discovery initiation (PADI)—The client initiates a session by broadcasting a PADI packet on the LAN to request a service.
- PPPoE active discovery offer (PADO)—Any access concentrator that can provide the service requested by the client in the PADI packet replies with a PADO packet that contains it own name, the unicast address of the client, and the service requested. An access concentrator can also use the PADO packet to offer other services to the client.
- PPPoE active discovery request (PADR)—From the PADOs it receives, the client selects one access concentrator based on its name or the services offered and sends it a PADR packet to indicate the service or services needed.
- PPPoE active discovery Session-confirmation (PADS)—When
the selected access concentrator receives the PADR packet, it accepts
or rejects the PPPoE session.
- To accept the session, the access concentrator sends the client a PADS packet with a unique session ID for a PPPoE session and a service name that identifies the service under which it accepts the session.
- To reject the session, the access concentrator sends the client a PADS packet with a service name error and resets the session ID to zero.
PPPoE Session Stage
The PPPoE session stage starts after the PPPoE discovery stage has completed. The access concentrator can start the PPPoE session after it sends the PADS packet to the client, or the client can start the PPPoE session after it receives a PADS packet from the access concentrator. An LN1000 router supports multiple PPPoE sessions on each interface.
Each PPPoE session is uniquely identified by the Ethernet address of the peer and the session ID. After the PPPoE session is established, data is sent as in any other PPP encapsulation. The PPPoE information is encapsulated within an Ethernet frame and is sent to a unicast address. In this stage, both the client and the server must allocate resources for the PPPoE logical interface.
After a session is established, the client or the access concentrator can send a PPPoE active discovery termination (PADT) packet anytime to terminate the session. The PADT packet contains the destination address of the peer and the session ID of the session to be terminated. After this packet is sent, the session is closed to PPPoE traffic.
Optional CHAP Authentication
For interfaces with PPPoE encapsulation, you can configure interfaces to support the PPP Challenge Handshake Authentication Protocol (CHAP). When you enable CHAP on an interface, the interface can authenticate its peer and be authenticated by its peer.
If you configure an interface to handle incoming CHAP packets only (by including the passive statement at the [edit interfaces interface-name ppp-options chap] hierarchy level), the interface does not challenge its peer. However, if the interface is challenged, it responds to the challenge. If you do not include the passive statement, the interface always challenges its peer.
Configuring the PPPoE Interfaces MTU
You can configure the maximum transmission unit (MTU) of the interface by including the mtu statement at the [edit interfaces pp0] hierarchy level:
Disabling the Sending of PPPoE Keepalive Messages
When configuring the client, you can disable the sending of keepalive messages on a logical interface by including the no-keepalives statement:

