diff options
-rw-r--r-- | share/examples/ppp/ppp.conf.sample | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample index daed4a0..d845d93 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 |