Setting Up a Mikrotik Router as an Acting Switch with WiFi Enabled

Abstract: Eliminates double NAT by configuring a MikroTik router as a Layer 2 wireless switch with disabled DHCP and IP routing.

Created: 2026-10-19 by
To configure a MikroTik router as a wireless switch, you must disable its routing functions by turning off DHCP server and IP addressing on the LAN interface. Connect your modem or primary router to one of the LAN ports (ports 2-5) instead of the WAN port (port 1). This setup allows the device to act purely as a Layer 2 bridge, extending your network’s physical and wireless coverage without creating double NAT issues.

Physical Connection Strategy

The most critical step in transforming a MikroTik router into a switch is the physical cabling. Most consumer-grade routers have distinct WAN and LAN ports, but MikroTik devices like the hEX series or RB series often treat all Ethernet ports equally unless software-defined separation is applied. To ensure seamless integration with your existing network, you should avoid using the port labeled "WAN" if it is hardcoded for PPPoE or specific routing protocols. Instead, plug the ethernet cable coming from your main router or upstream switch directly into any of the standard LAN ports, typically numbered 2 through 5 on a 6-port unit. This physical connection ensures that the MikroTik device receives an IP address from your main network’s DHCP server rather than trying to assign one itself. If you connect the cable to a port designated for internet access in the default configuration, the device might attempt to establish a new gateway route, which will break the switch functionality. By treating all ports as part of the same local segment, you create a single broadcast domain. This approach mirrors how a standard unmanaged switch operates, where every plugged-in device sees every other device on the network regardless of the physical port used. For more details on connecting routers to switches, see How to Connect an Eero Pro 6e Router to a Network Switch.

Disabling Routing and DHCP Services

Once physically connected, you must strip away the router’s identity. Access the MikroTik WebFig interface via a browser using the default IP address, usually 192.168.88.1. Navigate to the IP settings section. Here, you will find the list of addresses assigned to interfaces. Select the IP address associated with your LAN interface (often ether2, ether3, etc.) and delete it. Without an IP address on the LAN side, the device cannot perform Layer 3 routing between networks. Next, navigate to the IP > DHCP Server menu. Disable the DHCP server service entirely. If the DHCP server remains active, it may attempt to hand out IP addresses in a different subnet range than your main router, causing IP conflicts or connectivity failures for clients. You should also check the IP > Firewall menu. While not strictly necessary for basic switching, disabling the default firewall rules prevents potential blocking of traffic between LAN ports if strict security policies were previously enabled. Ensure that the interface list does not mark any LAN ports as "unreachable" or isolated. The goal is to make the MikroTik invisible at the IP layer, functioning only as a transparent bridge for MAC addresses.

Configuring Wireless as a Bridge

With the wired side configured as a pure switch, you can now enable WiFi. Go to the Wireless tab in WebFig. Select your wireless interface (usually wlan1 or wlan2) and click the Configure button. In the Basic Settings, choose the mode as "ap bridge" or "bridge." This mode tells the radio to operate at Layer 2, bridging wireless frames directly to the Ethernet bridge. Do not select "station" or "client" modes, as those are intended for connecting wirelessly to another network. In the Frequency and Band settings, choose a frequency that minimizes interference with your main router. If your main router uses channel 6 on 2.4GHz, consider setting the MikroTik to channel 1 or 11. It is highly recommended to use a different SSID (network name) for this extended WiFi zone. While some users try to match the SSID exactly for roaming, MikroTik’s default wireless driver does not support seamless 802.11r/k/v roaming out of the box. Using a distinct name like "HomeWiFi_Ext" helps users manually connect to the strongest signal. Set a strong WPA2-PSK password identical to your main network if you want consistent credentials, though technically any valid password works since the device is just passing traffic.

Bridging Ethernet and WiFi Interfaces

The final technical step is linking the wireless radio to the Ethernet LAN ports. Navigate to Bridge > Bridges and create a new bridge named "bridge-local" or similar. Then go to Bridge > Ports. Add both your LAN Ethernet interfaces (ether2, ether3, etc.) and the wireless interface (wlan1) to this bridge. This action creates a single logical switch board inside the MikroTik OS. Any packet entering via WiFi is instantly forwarded to the Ethernet ports and vice versa. Verify the configuration by plugging a laptop into one of the LAN ports and connecting via WiFi simultaneously. Both devices should receive IP addresses from your main router’s DHCP pool. They should be able to ping each other and access the internet without restriction. If you experience slow speeds, check the wireless channel width; sticking to 20MHz on 2.4GHz often provides better stability in dense environments. For troubleshooting connection drops during this process, refer to Troubleshooting Ethernet Connection Issues.

Frequently Asked Questions

Can I use the WAN port for this setup?

It depends on the model, but generally, you should avoid the port labeled WAN if it has hardcoded PPPoE client settings enabled. On many MikroTik devices, all ports are equal at the hardware level, so using ether2-5 is safer to prevent accidental routing configurations.

Why do I lose internet access after disabling DHCP?

You likely deleted the IP address from the management interface or failed to bridge the ports correctly. Ensure you still have access to the device via the initial management IP, and verify that the bridge includes both LAN and WiFi interfaces.

Will this setup support VoIP phones?

Yes, because the device acts as a transparent switch, VLAN tags and QoS markings from your main router will pass through unchanged. However, ensure your main router handles the QoS prioritization, as the MikroTik bridge ignores these packets by default.

How do I update the firmware without losing config?

Use the System > Packages menu to download the latest version. Install it while keeping the current configuration intact. Always backup your configuration before major updates to restore settings if the bridge fails to initialize.

Is there a risk of network loops?

Only if you accidentally connect two LAN ports back to each other or to the same uplink twice. Enable Spanning Tree Protocol (STP) in the Bridge settings if you plan to daisy-chain multiple such switches to prevent broadcast storms.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More