Documentation Series

Learn About VISP App Dashboard

Help Documentations / Networks / PPPoE Configuration

PPPoE Configuration

These instructions assume that you have a new Mikrotik with little to no existing configuration.  It specifies certain IP ranges which are commonly used; however, you can replace the IP ranges referenced below with your own custom ranges if you wish.  Likewise, if you have a pre-existing PPPoE setup, you can skip all the steps that you have already completed.

Configure IP Pools

  • Setup a pool containing IP addresses you wish to assign to subscribers.  Name the pool “pppoe-pool” and set the addresses to 10.5.50.2-10.5.50.254 (this will support up to 253 subscribers – expand the pool if you are servicing more subscribers from this PPPoE server).
  • Setup a second pool.  Name the pool “suspended”, with an address range of 10.254.254.2-10.254.254.254.

Configure PPPoE Server

PPPoE Configuration

  • Click the PPPoE Servers tab and add a new server with the following settings
  • Name: ppp-visp
  • Interface: select your subscriber facing-interface
  • Default Profile: default-encryption
  • Authentication: check PAP & CHAP, un-check mschap1 & mschap2
  • Click the Secrets tab
  • Click the “PPP Authentication & Accounting” button, check Use Radius & Accounting, choose OK.
  • Click the Profiles tab and edit the default-encryption profile
  • Local address: 10.5.50.1 in this example
  • Remote Address: pppoe-pool
  • DNS Server: 8.8.8.8 & 8.8.4.4 (or use your own)

Configure Firewall and Redirection Page for Suspended Subscribers. 

  1. Please provide the ISP domain and the suspended subnet address to generate the firewall rules.
  2. After downloading the file, upload it to the Mikrotik router by dragging it to the file directory.
  3. Open the terminal window and run the following command:

/import verbose=yes file-name=firewall.cfg.rsc

Configure Queues

  • Select the Queue Types tab, and then double-click the default-small queue to open it.
  • Change the default-small queue Kind value to ‘sfq’ and leave the default settings.

Configure RADIUS Servers

Follow the instructions on this page to configure the RADIUS servers.

1. Allow Pre-signup Authentication

Let’s say you have a building that buys internet access from you that it supplies free and anonymously for all tenants. You earn revenue from the main connection but also when tenants upgrade to faster packages. Before, each of those tenants could not connect their…

2. Set-up SmartSession Authentication

VISP’s HyperRadius has many unique powerful features, one of which is SmartSession. SmartSession will allow you to make changes to your subscribers that are authenticated on Mikrotik devices, on the fly, including disconnects and package speed changes, right from…

3. Assigning a Static IP Address

When assigning static IP addresses through Visp.net, we recommend setting the IP into static if it is not included in the DHCP server’s address pool. Visp can’t tell Mikrotik which IP is not available for leases. When the static option is enabled, the RADIUS will…

4. Location ID

Setting up a location ID for your internet package allows you to: Restrict the location where the package is displayed on the signup page. Apply location-based authentications. Use the location ID of the customer’s subscribed package to filter the upgrade package list…

5. RADIUS Configuration

This section configures your Mikrotik router to communicate with the Visp.net HyperRADIUS servers. Critical Note: For the Multi-ISP setup, you must use these proxy servers: 52.37.68.81 and 52.11.17.135. Primary Click Radius (left) and click (+) symbol to add a radius…

6. Mikrotik DHCP Configuration

Client Isolation Recommendations AP’s should use Client-Isolation. This reduces load and improves reliability. Repeating broadcast messages between subscribers increases network load and can allow for rogue DHCP servers or other broadcast services to exist on the…

7. PPPoE Configuration

These instructions assume that you have a new Mikrotik with little to no existing configuration. It specifies certain IP ranges which are commonly used; however, you can replace the IP ranges referenced below with your own custom ranges if you wish. Likewise, if you…

8. Mikrotik Hotspot Configuration

Initial Setup If you’re using a new Mikrotik router, we recommend resetting the device to remove the preinstalled configuration as it contains settings you will probably not need. You may also need to upgrade your RouterOS to the latest stable version, from…

?