Skip to content Skip to sidebar Skip to footer

How to Configure the DHCP Server on the Mikrotik Router

Tutorial on how to configure DHCP Server on a MikroTik router - DHCP (Dynamic Host Configuration Protocol) is a protocol on a computer network that allows a device to automatically distribute IP addresses to other devices.

A network device that can run DHCP Server is a router. By activating the DHCP Server on the router, we no longer need to manually configure IP addresses on each client computer, this is because the IP address allocation will be set dynamically and automatically by the router.
How to configure the DHCP server on the Mikrotik router
Di artikel ini kita akan belajar langkah-langkah cara mengkonfigurasi DHCP Server di router mikrotik. Tapi sebelumnya, pastikan router mikrotiknya sudah dikonfigurasi, tutorial cara mengkonfigurasi router mikrotik bisa kamu baca melalui tautan berikut.

In this article, we will learn the steps to configure DHCP Server on a MikroTik router. But before, make sure the MikroTik router is configured, you can read the tutorial on how to configure the MikroTik router via the following link.


How to Configure the MikroTik Router as a DHCP Server

If the router is already configured and connected to the internet, now we do the DHCP Server configuration by clicking IP -> DHCP Server, then clicks the DHCP Setup button as shown below.
How to configure the DHCP server on the Mikrotik router
Then determine the interface that will run the DHCP Server, make sure the interface running the DHCP server is the interface that is connected to the local network.
In the Select network for DHCP address section, it will usually follow the IP prefix specified in "IP -> Addresses", so please just click the Next button to continue.
In this section, the router will determine the default IP gateway that will be given to clients on the local network, please click the Next button to continue.
In the Address to Give Out field, we can specify the range of IP addresses to be given to clients (IP Pool).

It is recommended that you allocate IP addresses for clients who will use static IPs. For example, in this tutorial I specify the range of IP addresses that will be assigned to Mobile clients, namely 192.168.44.1-192.168.44.254.

Then the IP address from 192.168.44.2 - 192.168.44.99 will be used for static clients.
Next, we can determine the DNS Server that will be given to the client, this DNS Server functions so that the client computer can recognize domain names that are on the internet.
We can also specify the lease time for the IP client in the Lease Time field as in the example image below.
If the DHCP Server configuration process has finished, the message Setup has completed successfully will appear as shown below.
The last step is that we have to change the IP address settings on the client computer to be auto, the goal is that the computer can get the IP address configuration automatically from the router through the DHCP exchange process.

Also read :
Configuring DHCP on client computers with Linuxmint hosts can be seen in the example image below.
The following is the IP address obtained by the client computer provided by the router through the DHCP exchange process.
To find out whether the client computer is connected or not? We can run the ping command to the IP gateway and to internet sites, if you already get a reply message like the picture below, that means the client computer is connected properly.
Those are the steps to configure the DHCP server on the Mikrotik router, hopefully this tutorial can help those of you who are learning Mikrotik, thank you.

Post a Comment for "How to Configure the DHCP Server on the Mikrotik Router"

Subscribe via Email