Mikrotik For Small Business: Basic Router

Igor Iglesias
2 min readJan 21, 2020

--

Mikrotik Rb750, router, router with cables connected

For most of the times, in small business/offices, all we need is share the internet connection. So, with mikrotik it’s so simple!

With one of this white little boxes we can share internet connectivity and take control of the network very simply.

The first thing we need is clean up the configuration, to start from zero.

system reset-configuration skip-backup=yes keep-users=no n
o-defaults=yes

And then we can start the configuration.

Add IP Address to WAN and LAN port.

If in your office you have a internet connection, probable you will have a modem with a DHCP server configured. In this case, we going to set the DHCP client of our mikrotik router to get a IP on interface WAN, in this case the WAN it’s the interface ether1.

ip dhcp-client add interface=ether1 add-default-route=yes

Ready! Now we have to configure the LAN interface, ether5. To our LAN we going to use the network 192.168.0.0/24, the first IP will be our router and the range 50 to 254 will be distributed by DHCP Server.

We need to set the IP address to interface ether5.

ip address add address=192.168.0.1/24 interface=ether5

Now we have to create the address pool to LAN.

ip pool add name=LAN ranges=192.168.0.50–192.168.0.254

Now we can create the DHCP server.

ip dhcp-server add interface=ether5 address-pool=LAN disab
led=no

ip dhcp-server network add address=192.168.0.0/24 gateway=
192.168.0.1 dns-server=192.168.0.1 netmask=24

And then we have to set DNS and NAT.

ip dns set servers=8.8.88 allow-remote-requests=yes

ip firewall nat add chain=srcnat action=masquerade src-add
ress=192.168.0.0/24 out-interface=ether1

And this is it, our router is ready to work for a long time!

Easy. isn’t?

--

--

Igor Iglesias
Igor Iglesias

Written by Igor Iglesias

Professional with more than 10 years of experience in network management, working in large networks with multiple vendors and technologies.