MikroTik - RouterOS: PPPOE Server

Page content

In this post I will show you how to configure a PPPOE Server on on MikroTik RouterOS router.


       | NAT Network
  | RuterOS |
Host only |  \
       DHCP     \
Internet for NAT \
Internal Network  |
	     | pfsense |
# base		 
int print
int set 0 name=WAN
int set 1 name=MANAGEMENT
int set 2 name=LAN 
# enable dhcp client			 
ip dhcp-client add interface=WAN disabled=no
ip dhcp-client add interface=MANAGEMENT disabled=no
ip dhcp-client print detail

# outbound nat for interget
ip firewall nat add chain=srcnat action=masquerade out-interface=WAN
# set static ip
ip address add address= interface=LAN
ip address print

# configure ros as dns server
ip dns set allow-remote-requests=yes servers=
# add dhcp server on LAN
ip dhcp-server setup   
Select interface to run DHCP server on 

dhcp server interface: LAN
Select network for DHCP addresses 

dhcp address space:
Select gateway for given network 

gateway for dhcp network:
Select pool of ip addresses given out by DHCP server 

addresses to give out: 
Select DNS servers 

dns servers:,
Select lease time 

lease time: 1d
# pppoe
ip pool add name=pppoe-pool ranges=

ppp profile add name=pppoe-profile local-address= \
remote-address=pppoe-pool dns-server= rate-limit=512k/6512k

interface pppoe-server server add interface=LAN \
max-mtu=1488 max-mru=1488 \
keepalive-timeout=disabled one-session-per-host=yes \
max-sessions=0 default-profile=pppoe-profile \
authentication=pap disabled=no

ip firewall nat add chain=srcnat src-address= action=masquerade

ppp secret add name=tester password=Password1 profile=pppoe-profile out-interface=WAN