From a7a9b4714df041a8a07e3fddbc0e21f8b816f13d Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 21 Nov 1999 23:40:38 +0000 Subject: [PATCH] An example of how to configure PPPoE. --- share/examples/ppp/ppp.conf.sample | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample index daed4a031858..d845d932a3f2 100644 --- a/share/examples/ppp/ppp.conf.sample +++ b/share/examples/ppp/ppp.conf.sample @@ -600,3 +600,30 @@ loginprompt: set login "ABORT NO\\sCARRIER TIMEOUT 15 \"\" \"\" name:--name: \\U \ code: \"!/usr/share/examples/ppp/login-auth -display keep:0.0 \ AUTHNAME\" MTU \\c ." + +# ppp supports ppp over ethernet (PPPoE) +# +# The client should be something like: +# +pppoe: + set device PPPoE:de0:pppoe-in + set mru 1492 + set mtu 1492 + set speed sync + enable lqr + set cd 5 + set dial + set login + set redial 0 0 + +# And the server should be running +# +# /usr/libexec/pppoed -p pppoe-in fxp0 +# +pppoe-in: + allow mode direct + set mru 1492 + set mtu 1492 + set speed sync + enable lqr + set ifaddr 10.0.0.1 10.0.0.2