Template:Netoworking rutx configuration example mikrotik pppoe

From Teltonika Networks Wiki

Introduction

This article provides a guide on how to configure PPPoE server on Mikrotik and how to connect RUTX router, Windows computer to it.

Prerequisites

  • Any RUTXxx device.
  • One MikroTik router (this guide was created by using MikroTik RB750Gr3).
  • Windows 10 computer.
  • WinBox application (it is used to access the MikroTik router).

Topology

Networking rutx configuration example mikrotik pppoe topology v1.png

Mikrotik (server) configuration

Connect to MikroTik by using WinBox application and follow all the further steps to create PPPoE server on LAN port 5.

Networking rutx configuration example mikrotik pppoe 1 v1.png

  1. Open Bridge settings.
  2. Navigate to Ports section.
  3. Select ether5.
  4. Press Delete.

Networking rutx configuration example mikrotik pppoe 2 v1.png

  1. Open IP settings.
  2. Select Pool settings.
  3. Press Add button.
  4. Create a Name (anything you want).
  5. Write Addresses, it is an address range which will be used for PPPoE clients (in this tutorial I used 192.168.5.10-192.168.5.20).
  6. Press Apply.
  7. Press Ok.

Networking rutx configuration example mikrotik pppoe 3 v1.png

  1. Open PPP settings.
  2. Select PPPoE Servers.
  3. Press Add button.
  4. Write Service Name (anything you want).
  5. Select Interface (ether5).
  6. Press Apply button.
  7. Press Ok button.

Networking rutx configuration example mikrotik pppoe 4 v1.png

  1. If you have closed the window, open PPP settings again.
  2. Select Secrets.
  3. Press Add button.
  4. Create a Name (it will be later used to connect PPPoE server).
  5. Create a Password (it will be later used to connect PPPoE server).
  6. Press Apply.
  7. Press Ok.

Networking rutx configuration example mikrotik pppoe 5 v1.png

  1. If you have closed the window, open PPP settings again.
  2. Select Profiles.
  3. Press Add.
  4. Create a Name.
  5. Set Local Address (select your LAN IP-Pool).
  6. Set Remote Address (select PPPoE IP-Pool which you recently created).
  7. Press Apply.
  8. Press Ok.

Networking rutx configuration example mikrotik pppoe 6 v1.png

  1. If you have closed the window, open PPP settings again.
  2. Select PPPoE Servers.
  3. Double click the PPPoE server, which you created before.
  4. Change Default Profile to PPPoE.
  5. Press Apply.
  6. Press Ok.

Networking rutx configuration example mikrotik pppoe 7 v1.png

Networking rutx configuration example mikrotik pppoe 8 v1.png

  1. Open IP settings.
  2. Select Firewall.
  3. Select NAT.
  4. Press Add.
  5. Write Src. Address (PPPoE server address).
  6. Select Action (masquarade).
  7. Press Apply.
  8. Press Ok.

RUTXxx client configuration

Access RUTXxx WebUI, go to Network > LAN and then press Edit LAN button.

Networking rutx configuration example mikrotik pppoe 9 v1.png

Change Protocol to PPPoE.

Networking rutx configuration example mikrotik pppoe 10 v1.png

Then it will ask you “Really switch protocol?” press SWITCH PROTOCOL.

Networking rutx configuration example mikrotik pppoe 11 v1.png

Write Username and Password which you recently created in MikroTik Secrets settings. And then press SAVE & APPLY. You will lose connection to your router as soon as you save the settings.

Networking rutx configuration example mikrotik pppoe 12 v1.png.png

Now plug MikroTik router’s port 5 to any of the RUTXxx LAN ports.