Site icon System Zone

MikroTik PPPoE Server with Radius User Authentication

MikroTik PPPoE Server is popularly used in ISP Companies. Almost all Local ISP Companies use PPPoE service to manage their client’s connection. So, PPPoE Server Configuration places an important role in MikroTik RouterOS. MikroTik PPPoE Server configuration with local user database has been discussed in my previous article that is enough to manage PPPoE users for a single RouterOS. But if you have more than one RouterOS in your network or you need to manage your users remotely and more efficiently and easily, it is better to use a Radius Server to manage PPPoE users centrally. MikroTik User Manager Radius Server is a centralized user authentication and accounting application that gives the ISP Company or network administrator ability to manage not only PPPoE users but also Hotspot, DHCP, RouterOS and Wireless users. How to setup MikroTik User Manager Radius Server has been discussed in my previous article. If you are a new MikroTik user, feel free to study that article and install User Manager Radius Server according to that article and then keep reading this article. In this article, I will show how to configure MikroTik PPPoE Server with Radius user authentication.

MikroTik User Manager Radius Server Package can be installed and configured either on physical RouterOS or on a dedicated physical server where MikroTik RouterOS is running. I always prefer to use Radius Server separately. For this, I have installed User Manager Package on a dedicated physical server where MikroTik RouterOS is installed. I have also a Physical RouterOS (RouterBoard 1100 X2AH) that will work as a Radius client.

For PPPoE Server configuration with Radius user authentication, I am going to establish a network like below network diagram.

PPPoE Network with User Manager Radius Server

In this network, the Distribution Switch is connected to public internet and MikroTik User Manager Radius Server as well as more than one MikroTik RouterOS where PPPoE Server will be installed and PPPoE user will be authenticated via Radius Server user. In this article, I will only configure MikroTik User Manager Radius Server and RouterOS 1. Rest RouterOS configuration will be same as RouterOS 1.

The configuration of this network is containing below IP information.

This IP information is just for my RND purpose. Change this IP information according to your network requirements.

Complete MikroTik PPPoE Server configuration with User Manager Radius Server can be divided into two parts.

Part 1: MikroTik User Manager Radius Server Configuration

Detail explanation about MikroTik User Manager Radius Server installation and initial configuration has been discussed in my previous article. If you have any confusion about User Manager Radius Server installation and initial configuration, first spend some time to study that article and complete your Radius Server installation and initial configuration and then continue my below section. In this section, I will complete below topics in our Radius Server for PPPoE user authentication.

Profile Configuration for Radius User

Different type of user is mainly divided with user profile. For example, ISP Company mainly maintains different bandwidth packages for their users. These bandwidth packages can easily be maintained with Radius Server user profile. For the configuration of this article, we will create three bandwidth packages (512kbps package, 1Mbps package and 2Mbps package) for our users. The following steps will show you how to create different user bandwidth package with Radius Server’s Profile.

First profile has been created successfully. Similarly create 1Mbps and 2Mbps user profile and then follow below section to create user in your User Manager Radius Server.

Add User in User Manager Radius Server

The following steps will show how to add users in User Manager Radius Server.

You can add as many users as you want and can assign bandwidth package according to their demand following the above steps carefully.

Add Client Router in Radius Server Router list

The following steps will show you how to add client router in User Manager Radius Server.

RouterOS 1 has been added to our User Manager radius Server. Similarly you can add as many client routers as you want in your Radius Server following the above steps carefully.

MikroTik User Manager Radius Server configuration has been completed. Now we will configure our MikroTik RouterOS where PPPoE service will be enabled and PPPoE user will be authenticated with Radius user.

Part 2: MikroTik RouterOS Configuration

Now we are going to configure MikroTik RouterOS where PPPoE Service will be enabled and its user will be authenticated from User Manager Radius user. Complete configuration can be divided into below topics.

Basic MikroTik RouterOS Configuration

MikroTik Router basic configuration includes WAN IP Assign, DNS IP Assign, Default Gateway Configuration and NAT Configuration. The following steps will show how to perform above topics in your MikroTik RouterOS.

MikroTik Router basic configuration has been completed. Now we will configure PPPoE Server in our MikroTik RouterOS.

PPPoE Server Configuration in MikroTik RouterOS

After completing basic RouterOS configuration, we will now configure PPPoE server in our MikroTik RouterOS. The following steps will show you how to configure PPPoE server in MikroTik Router.

PPPoE Server that will use Radius Server for user authentication has been configured. Now we will configure Radius Client so that MikroTik RouterOS can be able to authenticate users from Radius Server.

Radius Client Configuration in MikroTik RouterOS

The following steps will show you how to configure Radius client in MikroTik RouterOS.

Radius client configuration has been completed. Now MikroTik RouterOS is able to communicate with Radius Server to authenticate PPPoE users.

PPPoE Client Configuration

We have configured a PPPoE Server in MikroTik RouterOS that will authenticate users from User Manager Radius Server. Now we need to learn how to configure a PPPoE client so that it can communicate with PPPoE Server successfully. A number of PPPoE clients are present today. Among them, now I am going to show how to configure PPPoE client in Windows 7 Operating System. All other versions of windows operating system follow almost the same procedure. So, you will not face any difficulty, I think. However, if you feel any problem to configure PPPoE client of any operating platform, I recommend you to do Google and learn how to configure PPPoE client of that specific operating platform.

Steps to Create PPPoE Dial Up Connection in Windows 7

Microsoft PC dialer is used to connect remote PPPoE server in window 7 to get access to internet. So, you have to configure Microsoft PC dialer in windows 7 PC to get access to internet through your MikroTik router. The following steps will show you how to create PPPoE dial up connection in windows 7 operating system with built in PPPoE wizard.

  1. Connect an Ethernet cable to windows 7 PC from your network switch.
  2. Open Network and Sharing Centerfrom Control Panel.
  3. Now click on Setup a new connection or networklink under Change your networking settings area. Set Up a Connection or Network window will appear.
  4. In this window, click on Connect to the internetoption and click on Next Connect to the Internet window will appear.
  5. Click on Broadband (PPPoE)option from this window and put username and password that you have created in User Manager Radius Server. Optionally, you can change connection name from Connection name input field and you can also click on Remember this password option otherwise you have to provide password every time you start your PC. Now click on Connect If you provide correct username and password, The connection to the Internet is ready to use message will be shown. Now click on Close button. A dialer will be created in your windows 7 PC and you can enter your credential anytime to connect Internet with this dialer.

You are now connected to the internet with PPPoE dialer. Browse any site. I hope, you will be success to browse any site now.

You can easily build a PPPoE Server network with MikroTik User Manager Radius Server following the above steps properly. However, if you face any confusion, watch my video tutorial about PPPoE Server Configuration with MikroTik User Manager Radius Server. I hope it will reduce your any confusion.

MikroTik PPPoE Server configuration with User Manager Radius Server user authentication has been discussed in this article. I hope you are able to setup your ISP with MikroTik PPPoE Server and User Manager Radius Server. However, if you face any problem to configure your PPPoE Server and User Manager Radius Server, feel free to discuss in comment or contact with me from Contact page. I will try my best to stay with you.

Exit mobile version