mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
An example of how to configure PPPoE.
This commit is contained in:
parent
fe63703662
commit
a7a9b4714d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53540
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user