Work in Progress
Overview
PPPoE is a network protocol for encapsulating PPP frames inside Ethernet frames. It appeared in 1999, in the context of the boom of DSL as the solution for tunneling packets over the DSL connection to the ISPs IP network, and from there to the rest of the Internet.
Topology
Please create diagrams using https://www.draw.io/ and upload the .drawio file to this page, so it can be modified in the future.
Instructions
Create a “chap-secrets” entry in “resources” with user and secret. Please replace userid and password yourself.
vyatta@R1# set resources chap-secrets user userid secret password
Set underlying interface to create pppoe tunnel.
vyatta@R1# set interfaces pppoe pppoe0 interface dp0p1s1
Set a user for the created pppoe tunnel.
vyatta@R1# set interfaces pppoe pppoe0 chap-user userid
Set default route.
vyatta@R1# set interfaces pppoe pppoe0 default-route
Set name server.
vyatta@R1# set interfaces pppoe pppoe0 name-server
Set mtu according to your needs.
vyatta@R1# set interfaces pppoe pppoe0 mtu 1492
Verification and Troubleshooting
Verification
vyatta@R1$ show interfaces detail
vyatta@R1$ ping www.google.com
vyatta@R1$ show log