advert

Wednesday, 1 November 2017

Three basic things you must do to successfully configure a Mikrotik router for internet access


Mikrotik routerOS is unarguably one of the best things to happen to networking. It does not only have firewall, routing and switching features all housed in one inexpensive device, it is also very easy to configure. If you know what you are doing, you can get a Mikrotik router up and running in less than five minutes. In this article, I will show you the three basic things you must configure to get your router connected to the internet. 

To successfully provide your LAN users access to the internet via a Mikrotik router, you will have to configure the following:
>> Assign IPs to the WAN and LAN interfaces
>> Set up network address translation (NAT)
>> Set up default route

Now lets see how to configure each of the above listed features on a Mikrotik router.

IP address assignment: To assign an IP to your router's interfaces on a Mikrotik, click on IP>address>+>enter your address>choose the interface, eg ether1>click on apply and Ok. Repeat these steps for the second interface. See example in the image below.


For the interface connecting to your ISP, be sure to use the IP address given to you by your ISP as well as the subnetmask. 

Next, you need to set up network address translation, NAT. To do that click on IP>Firewall>NAT>+>leave the chain at source NAT>Enter your LAN network address with the subnetmask in the space for source address, click on the action tab, click on the arrow beside action and choose masquerade, click on apply and OK. 
Note that you can also do this by only choosing the interface connecting to your ISP as the exit interface instead of entering your network address as the source address. See images below.




The next step is to configure default route. To do this, click on IP>Routes>+>interface the gateway address given to you by your ISP>click on apply and OK. See image below


Note that the destination is left as "0.0.0.0". This means any destination that is unknown to your router.
I hope you will find this helpful.
If You Enjoyed This Post Please Take 5 Seconds To Share It.

No comments :

Post a Comment