Site icon System Zone

MikroTik PPPoE Setup with Radius Server Prepaid Billing System

MikroTik PPPoE Server is popularly used in ISP Companies to maintain user connection. Along with MikroTik PPPoE Service it is a better idea to make a prepaid billing system with Radius Server. MikroTik User Manager Radius Server is a user authentication and accounting application that gives the ISP Company ability to manage PPPoE user’s connection with proper bandwidth management as well as their prepaid billing system with scratch card. So, any ISP Company can turn a smart network system with MikroTik PPPoE Service and User Manager prepaid billing system. This article is designed to show how to setup an ISP network with MikroTik PPPoE Server and User Manager prepaid billing system.

Purpose of this Article

The purpose of this article is to setup an ISP network which will have

Network Diagram

For the configuration of this article I am going to establish a network like below network diagram.

MikroTik PPPoE Server with Radius Server

This is a simple and basic network diagram. In a real situation, your network may be larger than this network but the basic diagram will remain same. In this network, the WAN Distribution Switch is connected to internet gateway. MikroTik Router’s WAN interface, MikroTik User Manager Radius Server and our Admin PC is also connected to this WAN Distribution Switch. PPPoE users will be connected to core MikroTik Router through LAN Switch and will get internet access.

Core Devices and IP Information

To setup an ISP network according to above network diagram, I have installed and completed initial configuration of MikroTik User Manager Radius Server Package in a dedicated physical server where MikroTik RouterOS is running. I have also a physical MikroTik RouterOS (MikroTik RouterBOARD 1100AHX2) which is the core router in this network. IP information that I am using for this network configuration are given below.

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

ISP Setup with MikroTik PPPoE Server and User Manager Radius Server

We are now going to start our ISP network configuration according to above network diagram. Complete configuration to build an ISP network with MikroTik PPPoE Server and User Manager Radius Server prepaid billing system can be divided into two parts.

Part 1: MikroTik Router Configuration (Core Router)

In this part, we will configure our core MikroTik Router so that it can turn a PPPoE Server and can communicate with Radius Server to authenticate users. 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 these 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.

Part 2: MikroTik User Manager Radius Server Configuration

MikroTik User Manager Radius Server installation and initial configuration has been discussed in my previous article. If you don’t have enough introduction with 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.

Add Client Router in Radius Server Router list

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

MikroTik RouterOS has been added in User Manager Radius Server as a client router. Now User Manager will reply any query that will ask by our MikroTik RouterOS.

User Profile Configuration in Radius Server

Normally ISP Company maintains different bandwidth packages for their users. These bandwidth packages can easily be maintained with Radius Server user profile. So, we will now create three bandwidth packages (512kbps package, 1Mbps package and 2Mbps package) in User Manager Radius Server for our ISP users. The following steps will show how to create different ISP bandwidth packages in User Manager Radius Server.

First profile has been created successfully. Similarly create 1Mbps and 2Mbps user profile and then follow below section to create scratch card or voucher template.

Create Voucher Template

Now we are going to create scratch card template so that after creating users we can print scratch card according to this template. The following steps will show how to create scratch card or voucher template in User Manager Radius Server.

You can change this card design if you have a little HTML and CSS idea. Card text can also be changed without having knowledge on HTML and CSS. In Row textarea, you just change card text according to your requirement.

Add User in User Manager Radius Server

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

MikroTik User Manager Scratch Card

Now sell these cards to your nearest shop and get auto revenue. Your users just need to create or configure PPPoE client in their operating system and then provide printed username and password to connect your PPPoE Server. If everything is OK, your user will be connected to your network according to your desired time period.

How to Access Radius User Page

Radius Server offers a user page where user can login their profile page and can show their account status as well as can change their account information and password. The following steps will show how to access Radius user page.

How to Create or Configure PPPoE Client

In an ISP network, PPPoE client is mainly configured in a wireless router or in a PC. In a wireless router PPPoE client is already configured and you just need to provide username and password to connect to a PPPoE Server. Most of the ISP users generally use windows operating system. So, in this article 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.

I hope, you will be able to setup an ISP with MikroTik PPPoE Server and User Manager Radius Server prepaid billing system if you follow the above steps properly. However, if you face any difficulty to do above steps properly, follow my video tutorial about MikroTik PPPoE Server Configuration with User Manager prepaid billing system. I hope, it will  reduce your any confusion.

MikroTik PPPoE Server Configuration with User Manager Radius Server Prepaid Billing System has been discussed in this article. I hope you will be able to setup your ISP with MikroTik PPPoE Server and User Manager Radius Server prepaid billing system. However, if you face any problem to configure your PPPoE Server and User Manager Radius Server with prepaid billing system, 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