allow ( multiple choice: mschap2, mschap1, chap, pap ; default: mschap2, mschap1, chap, pap ) -
the protocol to allow the client to use for authentication
dial-on-demand ( yes | no ; default: no ) - connects to AC only when outbound traffic is generated
and disconnects when there is no traffic for the period set in the idle-timeout value
interface ( name ) - interface the PPPoE server can be connected through
mru ( integer ; default: 1480 ) - Maximum Receive 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)
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)
name ( name ; default: pppoe-out1 ) - name of the PPPoE interface
password ( text ; default: "" ) - a user password used to connect the PPPoE server
profile ( name ) - default profile for the connection
service-name ( text ; default: "" ) - specifies the service name set on the access concentrator.
Leave it blank unless you have many services and need to specify the one you need to connect to
use-peer-dns ( yes | no ; default: no ) - whether to set the router's default DNS to the PPP peer DNS
(i.e. whether to get DNS settings from the peer)
user ( text ; default: "" ) - a user name that is present on the PPPoE server
Example
To add and enable PPPoE client on the gig interface connecting to the AC that provides testSN
service using user name john with the password password:
[admin@RemoteOffice] interface pppoe-client> add interface=gig \
\... service-name=testSN user=john password=password disabled=no
[admin@RemoteOffice] interface pppoe-client> print
Flags: X - disabled, R - running
0
R name="pppoe-out1" mtu=1480 mru=1480 interface=gig user="john"
password="password" profile=default service-name="testSN" ac-name=""
add-default-route=no dial-on-demand=no use-peer-dns=no
Monitoring PPPoE Client
Command name: /interface pppoe-client monitor
Property Description
ac-mac ( MAC address ) - MAC address of the access concentrator (AC) the client is connected to
ac-name ( text ) - name of the AC the client is connected to
encoding ( text ) - encryption and encoding (if asymmetric, separated with '/') being used in this
connection
service-name ( text ) - name of the service the client is connected to
status ( text ) - status of the client
• Dialing - attempting to make a connection
• Verifying password... - connection has been established to the server, password verification in
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.
Page 337 of 695
Need help?
Do you have a question about the RouterOS v2.9 and is the answer not in the manual?