Pppoe Configuration in Mikrotik

Pppoe Configuration in Mikrotik


To configure PPPoE (Point-to-Point Protocol over Ethernet) on a MikroTik router, follow these steps:

Access the MikroTik router's web interface by entering its IP address in a web browser. Log in with your credentials.
  • Configure the WAN interface that will connect to the PPPoE server:
Go to "Interfaces" and select the interface connected to your ISP (e.g., ether1).
Set the appropriate IP settings provided by your ISP, such as IP address, subnet mask, default gateway, and DNS servers.
  • Set up the PPPoE client:
Go to "PPP" > "Profiles" and click the "+" button to add a new profile.
Enter a name for the profile (e.g., pppoe_profile).
In the "General" tab, set the Local Address to the IP address assigned to the WAN interface.
Configure other settings as required, such as MTU, MRRU, and authentication protocols.
  • Add a new PPPoE client interface:
Go to "Interfaces" and click the "+" button to add a new interface.
Select "PPPoE Client" as the interface type.
Enter a name for the interface (e.g., pppoe_interface).
Select the WAN interface from the "Interface" dropdown.
Set the "Profile" field to the PPPoE profile created earlier (pppoe_profile).
Enable "Add Default Route" to add a default route through the PPPoE interface.
Enable "Use Peer DNS" to obtain DNS server addresses from the PPPoE server.
  • Enable the PPPoE client interface:
Click on the newly created PPPoE client interface (pppoe_interface).
Enable the interface and apply the configuration.
  • Verify the PPPoE connection:
Go to "PPP" > "Interface" and check if the PPPoE client interface shows as connected.
You should see an IP address assigned to the PPPoE client interface.
Set up firewall rules and NAT (if required):

Configure firewall rules and NAT settings based on your network requirements to allow traffic to pass through the PPPoE interface.
  • Save and apply the configuration:
Click "OK" or "Apply" to save the configuration changes and apply them to the MikroTik router.
This basic configuration will establish a PPPoE client connection to your ISP. Remember to adjust the settings according to your specific ISP requirements and network setup. If your ISP requires a username and password for authentication, you'll need to provide those details in the PPPoE profile settings.
# Configure WAN interface /interface ethernet set [find name=ether1] comment="ISP Connection" /ip dhcp-client add interface=ether1 disabled=no # Create PPPoE profile /ppp profile add name=pppoe_profile local-address=192.168.1.1 \ remote-address=pppoe_pool use-compression=default \ use-vj-compression=default use-mpls=default \ use-upnp=default only-one=default \ change-tcp-mss=default use-peer-dns=yes \ use-peer-ntp=default use-ipsec=default \ ipsec-secret="" use-mpls-default=default \ address-list="" on-up="" on-down="" \ parent-queue=default mrru=1600 \ max-mru=1600 max-mtu=1600 \ mru=1600 mtu=1600 # Create PPPoE client interface /interface pppoe-client add add-default-route=yes \ disabled=no interface=ether1 name=pppoe_interface \ password="your_password" user="your_username" \ profile=pppoe_profile service-name="" ac-name="" \ dial-on-demand=no keepalive-timeout=30 \ max-mru=1480 max-mtu=1480 \ mrru=disabled name-server=0.0.0.0 \ use-peer-dns=yes # Configure firewall rules and NAT (if required) # ... # Add any necessary firewall rules and NAT configurations here # Enable the PPPoE client interface /interface pppoe-client enable pppoe_interface # Save the configuration /flash/save


Make sure to replace "your_username" and "your_password" with the actual credentials provided by your ISP. Also, customize any additional settings and firewall rules as per your network requirements.

Once you execute the script, the PPPoE client interface will be created, and the router will attempt to establish a PPPoE connection with the provided credentials. Verify the connection status and ensure that the IP address is assigned to the PPPoE client interface.


Click Hear Watch Viseo 
Network System

I configure any Wi-Fi router and internet installation.

Post a Comment

Welcome to My Blog

Previous Post Next Post
/