Template:Netoworking rutx configuration example mikrotik pppoe: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 95: Line 95:
Access RUTXxx WebUI, go to '''Network > LAN''' and then press '''Edit''' LAN button.
Access RUTXxx WebUI, go to '''Network > LAN''' and then press '''Edit''' LAN button.


[[File:|border|class=tlt-border]]
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_9_v1.png|border|class=tlt-border]]


Change '''Protocol''' to '''PPPoE'''.
Change '''Protocol''' to '''PPPoE'''.


[[File:|border|class=tlt-border]]
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_1_v1.png|border|class=tlt-border]]


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


[[File:|border|class=tlt-border]]
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_11_v1.png|border|class=tlt-border]]


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.
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.


[[File:|border|class=tlt-border]]
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_12_v1.png.png|border|class=tlt-border]]


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

Revision as of 18:13, 5 March 2020

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

Mikrotik (server) configuration

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

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

  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.

  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.

  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.

  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.

  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.

  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.

Change Protocol to PPPoE.

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

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.

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