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.
Most co-working operators source multiple internet (2-5 lines) and invest heavily in firewall, access points, switches, but avoid spending a small fraction of amount into Wi-Fi...Read More
While implementation of "Auto-login" achieved superior Guest WiFi experience for consumers, it provided a great opportunity for business owners to take some time out of the login..Read More
As per TRAI , it is mandatory to authenticate each user logging in to Guest WiFi portal either through bulk login ids generated in advance..Read More