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

From Teltonika Networks Wiki
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
  
PPPoE (Point-to-Point Protocol over Ethernet) is a specification for connecting multiple computer users on an Ethernet local area network to a remote site through common customer premises equipment, which is the telephone company's term for a modem and similar devices. PPPoE can be used to have an office or building-full of users share a common Digital Subscriber Line (DSL), cable modem, or wireless connection to the Internet. PPPoE combines the Point-to-Point Protocol (PPP), commonly used in dialup connections, with the Ethernet protocol, which supports multiple users in a local area network. The PPP protocol information is encapsulated within an Ethernet frame.
 
  
  
 
This article provides a guide on how to configure '''PPPoE''' server on Mikrotik and how to connect RUTX router, Windows computer to it.
 
This article provides a guide on how to configure '''PPPoE''' server on Mikrotik and how to connect RUTX router, Windows computer to it.
 +
 
==Prerequisites==
 
==Prerequisites==
  
 
* Any RUTXxx device.
 
* Any RUTXxx device.
 
* One MikroTik router (this guide was created by using MikroTik RB750Gr3).
 
* One MikroTik router (this guide was created by using MikroTik RB750Gr3).
* Windows 10 computer. (Mikrotik and RUTXxx configuration will also work with other OS platforms)
+
* Windows 10 computer.  
 
* WinBox application (it is used to access the MikroTik router).
 
* WinBox application (it is used to access the MikroTik router).
  
Line 34: Line 34:
 
# Press '''Add''' button.
 
# Press '''Add''' button.
 
# Create a '''Name''' (anything you want).
 
# Create a '''Name''' (anything you want).
# 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).
+
# 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).
 
# Press '''Apply'''.
 
# Press '''Apply'''.
 
# Press '''Ok'''.
 
# Press '''Ok'''.
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_3_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_3_v1.png|border|class=tlt-border]]
 
# Open '''PPP''' settings.
 
# Select '''PPPoE Servers'''.
 
# Press '''Add''' button.
 
# Write '''Service Name''' (anything you want).
 
# Select '''Interface''' (ether5).
 
# Press '''Apply''' button.
 
# Press '''Ok''' button.
 
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_4_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_4_v1.png|border|class=tlt-border]]
 
# If you have closed the window, open '''PPP''' settings again.
 
# Select '''Secrets'''.
 
# Press '''Add''' button.
 
# Create a '''Name''' (it will be later used to connect PPPoE server).
 
# Create a '''Password''' (it will be later used to connect PPPoE server).
 
# Press '''Apply'''.
 
# Press '''Ok'''.
 
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_5_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_5_v1.png|border|class=tlt-border]]
 
# If you have closed the window, open '''PPP''' settings again.
 
# Select '''Profiles'''.
 
# Press '''Add'''.
 
# Create a '''Name'''.
 
# Set '''Local Address''' (select your LAN IP-Pool).
 
# Set '''Remote Address''' (select PPPoE IP-Pool which you recently created).
 
# Press '''Apply'''.
 
# Press '''Ok'''.
 
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_6_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_6_v1.png|border|class=tlt-border]]
 
# If you have closed the window, open '''PPP''' settings again.
 
# Select '''PPPoE''' Servers.
 
# Double click the '''PPPoE server''', which you created before.
 
# Change '''Default Profile''' to PPPoE.
 
# Press '''Apply'''.
 
# Press '''Ok'''.
 
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_7_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_7_v1.png|border|class=tlt-border]]
  
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_8_v1.png|border|class=tlt-border]]
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_8_v1.png|border|class=tlt-border]]
 
# Open '''IP''' settings.
 
# Select '''Firewall'''.
 
# Select '''NAT'''.
 
# Press '''Add'''.
 
# Write '''Src. Address''' (PPPoE server address).
 
# Select '''Action''' (masquarade).
 
# Press '''Apply'''.
 
# Press '''Ok'''.
 
 
==RUTXxx client configuration==
 
 
Access RUTXxx WebUI, go to '''Network > LAN''' and then press '''Edit''' LAN button.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_9_v1.png|border|class=tlt-border]]
 
 
Change '''Protocol''' to '''PPPoE'''.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_10_v1.png|border|class=tlt-border]]
 
 
Then it will ask you '''“Really switch protocol?”''' press '''SWITCH PROTOCOL'''.
 
 
[[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.
 
 
[[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.
 
 
==Windows 10 client configuration==
 
 
Connect your PC to any of the remaining RUTXxx LAN ports. Go to '''Control Panel > Network and Internet > Network and Sharing Center'''.  Then press '''Set up a new connection or network'''.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_13_v1.png|border|class=tlt-border]]
 
 
Select '''Connect to the Internet''' and then press '''Next'''.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_14_v1.png|border|class=tlt-border]]
 
 
If you alread have internet, select '''Set up a new connection anyway''', if you don’t, skip this step.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_15_v1.png|border|class=tlt-border]]
 
 
Select '''Broadband (PPPoE)'''.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_16_v1.png|border|class=tlt-border]]
 
 
Write '''User name''' and '''Password''' (use the same ones, you used to connect the router) and press '''Connect'''.
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_17_v1.png|border|class=tlt-border]]
 
 
When it is done connecting it will show this message:
 
 
[[File:Networking_rutx_configuration_example_mikrotik_pppoe_18_v1.png|border|class=tlt-border]]
 
 
Check whether you have internet connection (try to access any website).
 

Revision as of 18:45, 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

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

  1. Press Apply.
  2. Press Ok.

Networking rutx configuration example mikrotik pppoe 3 v1.png

Networking rutx configuration example mikrotik pppoe 4 v1.png

Networking rutx configuration example mikrotik pppoe 5 v1.png

Networking rutx configuration example mikrotik pppoe 6 v1.png

Networking rutx configuration example mikrotik pppoe 7 v1.png

Networking rutx configuration example mikrotik pppoe 8 v1.png