If you ever need to test PPPoE behavior in a developer environment, then this Howto is for you. This procedure can be used in a virtual machine environment to connect a ClearOS test machine with PPPoE to a ClearOS development system.
By default, you should already have the rp-pppoe RPM installed. This package provides both the client and server for PPPoE connections. The server configuration is quick and straightforward.
First, you need to configure the PPPoE server configuration file. The following /etc/ppp/pppoe-server-options configuration file seems to work:
login lcp-echo-interval 10 lcp-echo-failure 2 ms-dns 188.8.131.52 ms-dns 184.108.40.206 netmask 255.255.255.0 defaultroute noipdefault usepeerdns
A username/password combination is needed for the PPPoE client connection. In /etc/ppp/chap-secrets, add an entry that suits your needs:
"pppoetest" "*" "password" "*"
To start the PPPoE server, use the following command:
pppoe-server -I eth1
Pick a network interface that suits your environment of course. A remote or virtual system connected to the same eth1 network will now be able to connect to your ClearOS PPPoE server!