This article provides step-by-step guide to configure internet connection on any Mikrotik Routerboard from the ISP (main) router -
We recommend “Static IP” setup if you are planning to forward any ports access from the ISP router to the routerboard (e.g. for CCTV camera access or SQL server setup) as all the forwarding rules can only be assigned to a particular IP only. else you should go with the “Dynamic IP” setup which is faster than Static IP setup.
Now, we are ready to proceed with the configuration setup -
Now we have the following details available from the ISP (main) router - IPV4 Default Gateway: 192.168.1.1 IPv4 DHCP Server: 192.168.1.1 IPv4 Subnet Mask: 255.255.255.0 With subnet mask details, we can figure out the IP range available in the DHCP Pool (192.168.1.1 to 192.168.1.254)
The second method is to configure the WAN port on MikroTik Routerboard as a DHCP Client, so that the WAN port is dynamically assigned and IP address belonging to the DHCP pool on the main router when an ethernet cable is connected from the LAN port of the main router to the WAN port.
Follow these steps to set up WAN port as a DHCP client:
- Go to IP -> DHCP Client
- Click on ‘+’ to add a new entry.
- In ‘DHCP’ tab, select Interface as ‘ether1’
Leave ‘Add Peer DNS’ and ‘Add Peer NTP’ ticked as DNS servers and NTP servers set up on the main router will also be dynamically added to the MikroTik router. (You can still manually configure the DNS settings on the routerboard as described in step 3.2 (Go to IP/DNS)
Select ‘Add default route’ as ‘Yes’. This will add a dynamic route from MikroTik routerboard to the main router. Click ‘Apply’, then OK.
The router now has internet access. Now, use ‘New Terminal’ to check connectivity with the ‘ping’ command.
While you might feel the configuration of Mikrotik router is a bit different than normal home-based routers (TP-Link or D-Link) but it offers multiple options to configure your network as per your desired network architecture.
If you are still struggling to configure the setup, feel free to comment here, we shall try to answer your queries as soon as possible.
With multiple offices and partial team members working from homes, communicating becomes a challenge for both employees and employers as they will require..Read More
While the world is learning to adapt, albeit at a very sharp curve to accommodate remote working and Work from Home, I personally believe WFH sucks, not because there are..Read More