...
The workaround for this problem is to adjust MSS if it is too big.
PPPoE Client
Properties
Property | Description |
---|---|
ac-name (string; Default: "") | Access Concentrator name, this may be left blank and the client will connect to any access concentrator on the broadcast domain |
add-default-route (yes|no; Default: no) | Enable/Disable whether to add default route automatically |
allow (mschap2|mschap1|chap|pap; Default: mschap2,mschap1,chap,pap) | allowed authentication methods, by default all methods are allowed |
default-route-distance (byte [0..255]; Default:1) | sets distance value applied to auto created default route, if add-default-route is also selected |
dial-on-demand (yes|no; Default: no) | connects to AC only when outbound traffic is generated. If selected, then route with gateway address from 10.112.112.0/24 network will be added while connection is not established. |
interface (string; Default: ) | interface name on which client will run |
keepalive-timeout (integer; Default:60) | Sets keepalive timeout in seconds. |
max-mru (integer; Default: 1460) | Maximum Receive Unit |
max-mtu (integer; Default: 1460) | Maximum Transmission Unit |
mrru (integer: 512..65535|disabled; Default: disabled) | maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel. |
name (string; Default: pppoe-out[i]) | name of the PPPoE interface, generated by RouterOS if not specified |
password (string; Default: ) | password used to authenticate |
profile (string; Default: default) | |
service-name (string; Default: "") | specifies the service name set on the access concentrator, can be left blank to connect to any PPPoE server |
use-peer-dns (yes|no; Default: no) | enable/disable getting DNS settings from the peer |
user (string; Default: "") | username used for authentication |
Status
Command /interface pppoe-client monitor
will display current PPPoE status.
Available read only properties:
Property | Description |
---|---|
ac-mac (MAC address) | MAC address of the access concentrator (AC) the client is connected to |
ac-name (string) | name of the Access Concentrator |
active-links (integer) | Number of bonded MLPPP connections, ('1' if not using MLPPP) |
encoding (string) | encryption and encoding (if asymmetric, separated with '/') being used in this connection |
local-address (IP Address) | IP Address allocated to client |
remote-address (IP Address) | Remote IP Address allocated to server (ie gateway address) |
mru (integer) | effective MRU of the link |
mtu (integer) | effective MTU of the link |
service-name (string) | used service name |
status (string) | current link status. Available values are:
|
uptime (time) | connection time displayed in days, hours, minutes and seconds |
Scanner
PPPoE Scanner allows scanning all active PPPoE servers in the layer2 broadcast domain. Command to run scanner is as follows:
...
Available read only properties:
Property | Description |
---|---|
service (string) | Service name configured on server |
mac-address (MAC) | Mac address of detected server |
ac-name (string) | name of the Access Concentrator |
Note |
---|
For Windows, some connection instructions may use the form where the "phone number", such as "MikroTik_AC\mt1", is specified to indicate that "MikroTik_AC" is the access concentrator name and "mt1" is the service name. |
...
Code Block | ||
---|---|---|
| ||
/interface pppoe-server server |
Properties
Property | Description |
---|---|
authentication ( mschap2 | mschap1 | chap | pap; Default: "mschap2, mschap1, chap, pap") | Authentication algorithm |
default-profile (string; Default: "default") | |
interface (string; Default: "") | Interface that the clients are connected to |
keepalive-timeout (time; Default: "10") | Defines the time period (in seconds) after which the router is starting to send keepalive packets every second. If there is no traffic and no keepalive responses arrive for that period of time (i.e. 2 * keepalive-timeout), the non responding client is proclaimed disconnected. |
max-mru (integer; Default: "1480") | Maximum Receive Unit. The optimal value is the MTU of the interface the tunnel is working over reduced by 20 (so, for 1500-byte Ethernet link, set the 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 reduced 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' = no limitations. |
mrru (integer: 512..65535 | disabled; Default: "disabled") | Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel. |
one-session-per-host (yes | no; Default: "no") | Allow only one session per host (determined by MAC address). If a host tries to establish a new session, the old one will be closed. |
service-name (string; Default: "") | The PPPoE service name. Server will accept clients which sends PADI message with service-names that matches this setting or if service-name field in PADI message is not set. |
The PPPoE server (access concentrator) supports multiple servers for each interface - with differing service names. The access concentrator name and PPPoE service name are used by clients to identify the access concentrator to register with. The access concentrator name is the same as the identity of the router displayed before the command prompt. The identity may be set within the /system identity submenu.
...
Note |
---|
The default keepalive-timeout value of 10s is OK in most cases. If you set it to 0, the router will not disconnect clients until they explicitly log out or the router is restarted. To resolve this problem, the one-session-per-host property can be used. |
Quick Example
PPPoE Client
...