How to Create a Mikrotik Hotspot without Connecting Directly to an AP Using EoIP Tunnel

How to make a Mikrotik WiFi Hotspot where the Access Point (AP) is not directly connected to the Mikrotik Hotspot Server? This question arises in my mind when I want to implement a Mikrotik WiFi Hotspot system where the APs are scattered everywhere, with different locations (different buildings and different rooms). In addition, what is more difficult is that none of the APs are connected directly to the Mikrotik eth which is used as a Hotspot Server.

As we know, if you want to create a Wireless Hotspot System using Mikrotik, the Access Point must be connected directly to the Hotspot Server interface, so that it can be bridged with other interfaces if you want to use more than one AP. But in my case it doesn’t seem to work, because the AP is under the Switch and other Routers, so there are several hops to get to the hotspot server.

So the concept is to create an EoIP interface on the Hotspot Server as many as the number of APs. If there are 5 APs then we create 5 EoIP interfaces on the Hotspot Server. In each AP, an EoIP interface is also created that leads to the Hotspot Server. So there will be point-to-point communication between the hotspot server and all APs. For more details, please see the following image:

But wait, EoIP is MikroTik Proprietary (ownership) meaning this protocol can only run / support on Mikrotik RouterOS only and some types of linux. If the AP you are using is not Mikrotik, then your AP cannot create this EoIP interface.

So, if your AP uses TP-Link, Dlink, etc., for example, the EoIP interface is created on the Mikrotik Router before the AP, which is directly connected to it. As in the example on Floor 1 in the Figure above. Then the AP mode is made Wireless AP Bridge, and on the Mikrotik EoIP and eth Interface to the AP in the bridge.

Okay, enough fairy tales before bed. Are you getting sleepy already? haha..

Now we immediately try to make Mikrotik Hotspot Configuration without Connecting Directly to the AP Using EoIP Tunnel.

Before starting, make sure all APs and Mikrotik that will be made EoIP Tunnel can have two-way communication. This means that the IP and Routing configuration is correct. Because if not, the EoIP tunnel will not be formed.

1. Create an EoIP Interface using a number of APs. Open Winbox, Go to Interface Menu –> Enter EoIP Tab –> Add EoIP
Here what needs to be considered is the Remote Address and Tunnel ID column.
– Remote Address: fill in the IP Address of the AP
– Tunnel ID : Unique ID for the AP. Each AP Different ID.

2. Create an EoIP interface on the AP side to the server. The method is the same as above. With Remote IP Address from Server and Tunnel ID the same as used on Server.

3. Perform steps 1 and 2 for all APs used.

4. On each AP / Mikrotik, create a bridge and enter the EoIP and Wlan interfaces.

4. On the Hotspot Server, Create Interface Bridge and give IP Address.

5. Insert All EoIP Interfaces to the previously created Bridge port.

6. Create a Hotspot Server on the IP menu –> Hotspot –> Hotspot Setup –> Select the Bridge interface that is used as the hotspot interface. For a step-by-step guide on how to create a hotspot, please read here: How to Make Hotspot on Mikrotik: Mikrotik Hotspot basic settings

7. Until here, please try to connect to the AP, the hotspot login page should have appeared. If not, please check your configuration again.

8. After this you can change the Hotspot Login page, as in the following article: Method Changing Mikrotik Hotspot Login Page

9. You can also combine hotspots with Mikrotik User Manager for user management. Read the tutorial here: How to Setting User Manager with Mikrotik Hotspot

10. If you want to create a WiFi Roaming System with 1 SSID, it can be set on all APs to use the same 1 SSID and Frequency.

That’s the tutorial on how to make a Mikrotik Hotspot without Connecting Directly to the AP Using EoIP Tunneling. Hope it is useful 🙂