Setting up a local network and WLAN on a MIKROTIK routerboard

A Local Network for internet access through Ethernet ports and Wireless LAN can be set up in the following steps:

  1. Step 1: Create a WPA/WPA2 security profile for secure data transmission.

    The purpose of setting up a WPA2 security profile, or in simple terms a WiFi password is to prevent unauthorized access to your network resources. Only those with the passphrase will be able to connect to the WiFi. The profile that will be created can be applied to the WiFi interface that you enable on the MikroTik Routerboard.

  • 1.1 Go to Wireless -> Security Profiles. Click on ‘+’.

  • 1.2 Enter desired name of security profile. Select ‘WPA2 PSK’ as Authentication type.

  • 1.3 Enter desired WPA2 PSK (password), then click Apply & OK.

  1. Step 2: Set up the Wireless LAN interface

    A WLAN (Wireless LAN) interface is used to connect one or more devices to a network wirelessly. Devices such a laptops, mobile phones, tablets etc can be wirelessly connected to internet via WiFi.

  • 2.1 Go to Wireless -> WiFi interfaces

  • 2.2 Click on ‘wlan1’

  • 2.3 In the ‘Wireless’ tab, click on ‘Advanced Mode’

    Set the following: Mode: ap bridge
    Band: 2GHz-B/G/N
    Channel Width: 20MHz
    Frequency: auto
    SSID: (Your desired SSID / WiFi identifier)
    Wireless Protocol: 802.11
    Security profile: The security profile created in step
    Country: india
    Installation: indoor
    Click on ‘Enable’, then ‘Apply’ and OK.

  1. Step 3: Bridge all the Ethernet ports to be used as LAN ports

    In telecommunication networks, a bridge is an entity that logically connects all the Ethernet interfaces belonging to a single LAN network together. The Ethernet ports on a MikroTik Routerboard can be bridged together in the following manner:

  • 3.1 Go to Bridge and click on ‘+’, then click OK.

  • 3.2 Go to Bridge -> Ports

  1. Step 4: Assign an IP address to the bridge interface
  • 4.1 Go to IP -> Addresses.

  • 4.2 Click on ‘+’ to add a new entry.

  • 4.3 Enter an address along with subnet mask eg. ‘’

  • 4.4 Select ‘Interface’ as ‘bridge1’. Click ‘Apply’, then OK.

  • 4.5 The assigned IP here becomes the gateway to the MikroTik router.

  1. Step 5: Create a DHCP server on the bridge interface
  • 5.1 Go to IP -> DHCP Server -> Click on ‘DHCP Setup’. Select the server interface as ‘bridge1’.

  • 5.2 DHCP Address Space:

  • 5.3 Gateway:

  • 5.4 Addresses to give out:

  • 5.5 Lease time: 6 hrs (06:00:00)

  • 5.6 Lease time: 6 hrs (06:00:00)

  • 5.7 Go to IP -> Pool.

  • Modify the start of pool from to as some IP addresses can be reserved for manual IP assignment for internal devices such as a DVR or Biometric device.

  1. Step 6: Set up NAT masquerade for the LAN clients.

    NAT is short for Network Address Translation. NAT is an Internet standard that enables a local-area network (LAN) to use one set of IP addresses for internal traffic and a second set of addresses for external traffic, so all outgoing traffic from the MikroTik Routerboard with a LAN IP will be stamped with a public IP.

  • 6.1 Add a NAT Firewall rule to masquerade LAN IP addresses

  • 6.2 Go to IP -> Firewall  NAT. Click on ‘+’.

  • 6.3 General: Chain: srcnat

  • 6.4 Src. Address:

  • 6.5 In the ‘Action’ tab, select

  • 6.6 Action: masquerade

  • 6.7 Click ‘Apply’, then OK.


How to protect yourself from Wi-Fi tracking with Random Hardware addresses feature in Windows 10?

September 09, 2019

When you connect to a Wi-Fi network, you expose hardware’s address (also called MAC address) to that..

Read More
How customers are leveraging Auto-login to engage over Guest WiFi

Co-working: Why do you need a WiFi management software?

April 04, 2019

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
How customers are leveraging Auto-login to engage over Guest WiFi

How customers are leveraging 'Auto-login"' to engage over Guest WiFi

February 11, 2019

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

Understand how Hotels WiFi is important for comfortable stays

Know More