top of page

Kiwire 3.0 Administrator        >        Setting up the Wi-Fi Hardware & Configuration         >       Mikrotik         >       DHCP Relay

Kiwire 3.0 Administrator - Device & Controller Setup Guide

DHCP Relay in Mikrotik Configuration for Hotspot

DHCP Relay is just a proxy that can receive a DHCP request and resend it to the real DHCP server. DHCP relay does not choose the DHCP server in the dhcp-server list, it just sends the incoming request to all the listed servers. Let us consider that you have several IP networks 'behind' other routers, but you want to keep all DHCP servers on a single router. To do this, you need a DHCP relay on your network which relies on DHCP requests from clients to DHCP server.


Before configurating the DHCP Relay Mikrotik router, it is necessary that the Main Router (Can be any router) has already configured and enabled DHCP Relay.

This example will show you how to configure a DHCP Relay in Mikrotik which serve 2 IP Networks and assign them to a VLAN interface and configure Hotspot for the interfaces – and that are behind a router DHCP-Relay.

Example Network Topology

Network toplogy.png

1. Create VLAN interface

a). Go to Interfaces

b). Click on the VLAN tab, add new VLAN and rename the VLAN and assign VLAN ID accordingly

VLAN Interfaces.png

c). Follow steps “b)” again to create a second VLAN interface

d). The VLAN interfaces created will be updated in the Interface List under the eth interface which it has been assigned to, in this example we have assigned the VLAN to be on ether2.

VLAN Interfaces_2.png

2. Add IP Addresses in Address List

a). Go to IP > Addresses

b). Click on add new address and enter the IP Address ( and assign it to the VLAN interface (VLAN 10) that have just been created

VLAN Interfaces_3.png

c). Repeat the steps at “b)” for the second network and VLAN 20

VLAN Interfaces_4.png

d). Add another address for WAN port at ether1, this is to allow the DHCP-Relay router to be reachable to DHCP-Server router via static route.

VLAN Interfaces_5.png

3. Enable static route from DHCP-Relay to DHCP-Server


a). Enter the dst-address as and the gateway accordingly. This example will use as its gateway

VLAN Interfaces_6.png

b). DHCP-Relay will now be reachable to internet through the DHCP-Server

VLAN Interfaces_7.png

4. Enable DHCP Relay


a). Go to IP > DHCP Relay

b). Click on add new DHCP Relay and rename the DHCP Relay and assign it to the correct interface. In this example is the VLAN10 interface.


DHCP Server = Gateway of the DHCP-Relay

Local Address = Gateway of the VLAN10 interface

VLAN Interfaces_8.png

c). Repeat the same steps for VLAN20 interface

VLAN Interfaces_9.png

5. Create HotSpot

a). Go to IP > HotSpot

b). Click on create new hotspot. Rename the hotspot server accordingly and assign it to the interface where in this example is VLAN 10. As this is a dhcp-relay hotspot, using the Hotspot Setup wizard is not applicable

VLAN Interfaces_10.png

c). Repeat the steps for VLAN20

VLAN Interfaces_11.png
bottom of page