Site icon System Zone

MikroTik Configuration with DHCP WAN Connection

MikroTik Router is one of the most popular routers because of having a lot of networking features. MikroTik DHCP Client is a special feature that is used to connect to any DHCP Server. So, if any uplink ISP provides DHCP connection, MikroTik Router is able to connect that DHCP Server using this DHCP Client. In my previous article, I discussed how to configure MikroTik Router with PPPoE WAN Connection. In this article, I will discuss how to configure MikroTik Router with DHCP WAN Connection.

Core Devices and IP Information

To configure MikroTik Router with DHCP WAN Connection, I am using a MikroTik RouterBoard 1100 AHX2 (RouterOS v6.38.1) and the LAN Gateway IP is 192.168.10.1/24. This information is just for my R&D purpose. Change this information according to your network requirements.

Network Diagram

To configure MikroTik Router with WAN DHCP Client, I am following a network diagram like the below diagram.

MikroTik Network with DHCP WAN Connection

In this network diagram, MikroTik Router’s ether1 interface is connected to ISP network where  DHCP Server is enabled. So, we will create MikroTik DHCP Client in this interface so that MikroTik Router can connect with ISP DHCP Server and can access internet. Again, MikroTik Router’s ether2 interface is connected to a LAN switch having IP block 192.168.10.0/24. We are assigning static IP for LAN users but if we want, we can configure MikroTik PPPoE Server, MikroTik DHCP Server or MikroTik Hotspot Server on ether2 interface. We will also configure NATing in our MikroTik Router so that LAN users are able to get internet using this private IP block. 

MikroTik Configuration with WAN DHCP Client

We will now start our MikroTik Router configuration with WAN DHCP client according to the above network diagram. Complete MikroTik configuration with DHCP WAN connection can be divided into the following three steps.

Step 1: MikroTik DHCP Client Configuration on WAN Interface

If your uplink ISP provides DHCP connection, you must configure MikroTik DHCP Client on your WAN interface. The following steps will show how to configure DHCP Client on MikroTik WAN interface.

MikroTik DHCP Client Configuration

If your WAN interface is connected to your uplink ISP network, your DHCP Client will be connected with the ISP DHCP Server and you will find connection status with assigned IP information from Status tab in respected DHCP Client window.

You will also find that a dynamic IP is added in IP > Address list window, Dynamic DNS Servers are added in IP > DNS window and a default route is automatically added in IP > Routes list by MikroTik DHCP client.

Step 2: Assigning LAN Gateway

After MikroTik DHCP Client configuration, we will now assign LAN Gateway IP so that LAN user can communicate through MikroTik Router. The following steps will show how to assign LAN Gateway IP in MikroTik Router.


LAN Gateway IP has been assigned. Now we will configure NATing so that LAN user can get internet through MikroTik Router.

Step 3: NATing Configuration

We will now create a NAT rule in MikroTik Firewall for masquerading our LAN IP block. Otherwise, our LAN user cannot access internet through our MikroTik router. The following steps will show how to create the masquerade firewall rule in MikroTik router.

NATing configuration in MikroTik router has been completed as well as all our necessary steps to configure MikroTik Router with WAN DHCP Client have been completed. Now connect your LAN users to MikroTik Router through a LAN switch. If everything is OK, your LAN users will able to get internet through MikroTik Router.

I have used static IP for LAN users for making this article simple but in real situation you will prefer MikroTik DHCP Server or MikroTik PPPoE Server or MikroTik Hotspot Server for connecting your LAN users. So, follow my articles about MikroTik DHCP Server Configuration, MikroTik PPPoE Server Configuration and MikroTik Hotspot Server Configuration and choose which is suitable for your network.

If you face any confusion to follow the above steps properly, watch the below video about MikroTik DHCP Client configuration. I hope it will reduce your any confusion about MikroTik DHCP client configuration on WAN interface.

MikroTik Router Configuration with WAN DHCP Client has been discussed in this article. I hope you are now able to configure MikroTik DHCP Client if your ISP uses DHCP Server for their connection. However, if you face any confusion to configure MikroTik DHCP WAN connection, 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