ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


PPPoE Server

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.

Configuration

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.

pppoe-server-options

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 8.8.8.8
ms-dns 8.8.8.4
netmask 255.255.255.0
nodefaultroute
noipdefault
usepeerdns

chap-secrets

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" "*"

Running the PPPoE Server

To start the PPPoE server, use the following command:

pppoe-server -I eth1 
content/en_us/kb_howtos_pppoe_server.txt · Last modified: 2015/02/11 10:31 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_howtos_pppoe_server&1558822916