Set up PPPoE Server on Ubuntu

The Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside Ethernet frames.

http://en.wikipedia.org/wiki/PPPoE

PPPoE Server, which should be formally called as PPPoE Access Concentrator

Environment

Ubuntu Trusty(14.04)
rp-pppoe

Preparation

Remove pppoe from system and install dependencies from apt.

Version of pppoe on Ubuntu is 3.8 but what we get later is 3.11.

Download rp-pppoe from http://www.roaringpenguin.com/products/pppoe

Set up

pppoe-server-options

/etc/ppp/pap-secrets

If you don’t have four columns here, you may meet error message below in syslog:

Start

Verify

route has been set up

traceroute does not work well in client side, I don’t know why, but I can do tcpdump in PPPoE-AC like

Then do some ping or something from client side

Links

http://darmawan-salihun.blogspot.tw/2008/12/setting-up-basic-pppoe-server-in-linux.html
http://chunchaichang.blogspot.tw/2011/12/ubuntu-pppoe-server.html

Set up PPPoE Server on Ubuntu by @sskaje: https://sskaje.me/2014/05/set-pppoe-server-ubuntu/

Incoming search terms: