How to Create PPPoE Server in Mikrotik Router

Dan
April 26, 2022
Introduction

PPPoE stands for Point-to-Point Protocol Over Ethernet. In this tutorial series we will configure Two (2) end configurations for PPPoE service. First, the PPPoE Server configuration which is configured in your Mikrotik router and PPPoE client configuration is your client router.

PPPoE comes with a username and password for its client. So, whenever someone wishes to connect to your broadband internet it requires the said credentials. This setup can be achieved by wired and or by wireless connection using a router that has a PPPoE mode option.

Topic Outline:

1. Creating PPPoE IP Pool
2. Frequently Asked Question
3. Creating PPPoE Profiles
  • Creating Profile Limits

4. Creating PPPoE Server

PPPoE Setup Guide:

1. Creating PPPoE IP Pool
2. Creating PPPoE Profiles and Profile Limits (You can create multiple profiles with different limits)
3. Creating PPPoE Server
4. Creating PPP Secrets (You can add multiple users)

STEP 1: CREATING PPPoE IP Pool

On your Mikrotik Router go to IP > Pool 

1. Click + sign to add new IP Pool

2. Enter descriptive name for your new IP Pool. In this example, we are about to create an IP Pool for PPPoE Clients and so we name them pppoe-clients.

3. Enter unique IP address – in this section, we are about to create an IP block to be assigned on the individual PPPoE Clients that is connected to our PPPoE Server. Noticed that the IP address starts with 20.0.0.5 and ends with 5 and 254 which simply mean that our PPPoE server will dynamically assign a range of IP address from 20.0.0.5 - 20.0.0.254.

IP Pool


FREQUENTLY ASKED QUESTION

1. Do I really need to create the same IP block each time like the example below?

Answer:  Yes, in terms of the format like 20.0.0.5 - 20.0.0.254 but you are free to create your own figures just follow the format.

2. Why did we start with 20.0.0.5 IP address instead of 20.0.0.0?

Answer: In this setup we prefer to start with 20.0.0.5 making 20.0.0.0 – 20.0.0.4 as a reserved IP addresses for our server use, such as PPPoE DNS and Local address. These IP addresses (20.0.0.0 – 20.0.0.4) is not being assigned to our individual clients. Hence, that you are not limited to only have 5 serve IP addresses  you may increase it by incrementing the start IP from (20.0.0.10 – 20.0.0.254) and now you have 11 reserved IP address counting from 0 – 10.

3. Do I really need to create an IP Address Block starting from 20.0.0.0 or 20.0.0.5?

Answer:  No, you are free to create your own IP block and not necessarily starts with 20.0.0.0 etc. You may want to have it like 30.0.0.5 – 30.0.0.254 or could be 192.168.0.5-192.168.0-254 or 50.50.5.5-50.50.5.254. Please take note that don’t make it too complicated when creating an IP block so you can easily memorize it. Like in the last example highlighted red.

STEP 2: CREATING PPPoE PROFILES

1. Click + sign to create a new PPPoe Profile

2. Create descriptive name – Please create a name which best describe the profile in the example below we entered 10Mbps which means that this profile is limited to only 10Mbps of download and upload. 

If you wanted to create another profile for clients with 5Mbps speed limit you may do so. Later in this setup you will learn how to limit the speed for individual profile that you created.

3. Assign Local Address – We have mentioned lately that we have a reserved IP address from 20.0.0.0-20.0.0.4. In this setup we will use 20.0.0.1 as our server side local address mean while 20.0.0.1 will also serve as a gateway for our client router.

4. Assign DNS Server – We will assign 20.0.0.0 as our Primary DNS Server. You may also want to add a Goodle DNS as secondary DNS Server 8.8.8.8 please do so by click the arrow button sitting next to our DNS Server input field.

5. Click Apply

6. Click OK

PPP Profille


STEP 2 – B: CREATING PROFILE LIMIT

In this example we have entered 10M/10M which means we limit the profile to 10Mbps of Download and Upload. RX and TX by definition are abbreviation for (Transmit / Upload ) and (Receive / Download) and which units are in bytes not in bits.

You are free to create your own ratio for your RX / TX limit such as 10M/5M, 5M/3M. Always remember that you cannot go beyond the total speed limit provided by your Internet Service Provider.

PPPoe Profile Limit


STEP 3: CREATING PPPoE SERVER

On your Mikrotik Router go to PPP > PPPoE Servers tab

PPPoE Server

STEP 4: CREATING PPP SECRETS

Now for our last step we then create a PPP Secrets - This is where we create our clients username and password. As a network administrator you do not share this to your clients. It is only you and only you alone should know this credential. Please follow the steps below carefully.

1. Click + sign to add new secrets

2. Create descriptive name - You may want to enter your clients name

3. Create unique password - Yes, please create a strong password in this field but always remember that you take note of it so you will never forget.

4. Service - Select PPPoE from the drop down menu. 

5. Profile - Select desired profile. In this tutorials we have just created a single profile which is the 10Mbps.

6. Remote Address - Normally, as soon as the client is connected to your PPPoE Server it will dynamically assign an IP address for your client. Don't worry too much about this for now let your server do its job.

As for this setup we are trying to configure a static IP Address for individual client. You may skip this process and leave this field blank by clicking that small arrow icon in the remote address field.

7. Click Apply

8. Click OK

PPP Secrets

That would be it for now. On our next Mikrotik series, we will show you how to connect your router to our PPPoE Server that we have just created.

Download Our Free WordPress Theme

Dan
🌏 Web Developer

Out of Topic