MTU to 1480 to avoid fragmentation of packets)
max-mtu ( integer ; default: 1480 ) - Maximum Transmission Unit. The optimal value is the MTU
of the interface the tunnel is working over decreased by 20 (so, for 1500-byte Ethernet link, set the
MTU to 1480 to avoid fragmentation of packets)
max-sessions ( integer ; default: 0 ) - maximum number of clients that the AC can serve
• 0 - unlimited
one-session-per-host ( yes | no ; default: no ) - allow only one session per host (determined by
MAC address). If a host will try to establish a new session, the old one will be closed
service-name ( text ) - the PPPoE service name
Notes
The default keepalive-timeout value of 10 is OK in most cases. If you set it to 0, the router will not
disconnect clients until they log out or router is restarted. To resolve this problem, the
one-session-per-host property can be used.
Security issue: do not assign an IP address to the interface you will be receiving the PPPoE
requests on.
Example
To add PPPoE server on ether1 interface providing ex service and allowing only one connection
per host:
[admin@MikroTik] interface pppoe-server server> add interface=ether1 \
\... service-name=ex one-session-per-host=yes
[admin@MikroTik] interface pppoe-server server> print
Flags: X - disabled
0 X service-name="ex" interface=ether1 mtu=1480 mru=1480
authentication=mschap2,mschap,chap,pap keepalive-timeout=10
one-session-per-host=yes default-profile=default
[admin@MikroTik] interface pppoe-server server>
PPPoE Users
Description
The PPPoE users are authenticated through a RADIUS server (if configured), and if RADIUS fails,
then the local PPP user databese is used. See the respective manual sections for more information:
• RADIUS client
• PPP User AAA
PPPoE Server User Interfaces
Home menu level: /interface pppoe-server
Description
Page 339 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.