Can a Wi-Fi router be used as a switch? Pros, cons, and step-by-step setup.

Are you thinking about using the old one? Wi-Fi router How network switch, but aren't sure if it's possible? Or want to expand the number of wired ports on your network without buying a separate switch? This article will cover all the details, from technical feasibility to step-by-step setup, compare performance with dedicated switches, and warn you of hidden pitfalls.

Spoiler: Yes, it's real., but not on all models and not without limitations. For example, TP-Link Archer C7 or ASUS RT-N66U will cope with the task better than budget routers with 4-port LAN-as a group. And if you need PoE-ports or 10Gbit — it's better to buy a specialized switch right away. Next, we'll look at how it works, what settings to change, and when this approach makes economic sense.

What's the Difference Between a Router and a Switch? Key Differences

At first glance, both a router and a switch (switch) have ports Ethernet and forward traffic between devices. But their tasks are fundamentally different:

  • 🔄 Switch (switch) works on data link layer (L2) OSI model: simply forwards frames between ports within the same network without analyzing IP addresses. Its purpose is transmit traffic within a local network as quickly and without delays as possible.
  • 🌐 Router operates on network level (L3): routes packets between different networks (for example, between your local network and the Internet), assigns IP through DHCP, filters traffic using NAT.

When you turn off WAN-router functions and use only LAN-ports, it effectively becomes a "stripped-down" switch. But with important caveats:

ParameterDedicated switchRouter in switch mode
Frame forwarding rateAbove (hardware switching)Below (software processing)
Delays (latency)MinimumMore due to CPU processing
Support VLANYes (on controlled models)Limited or not
Number of portsFrom 5 to 48Usually 4 (less often 8)
Energy consumptionBelowAbove (full processor running)

⚠️ Attention: If your router supports Jumbo Frames or 802.1Q VLAN, in switch mode these functions may be disabled. For example, on MikroTik hEX When switching to "bridge" mode, some capabilities are lost L3.

📊 What type of device do you plan to use as a switch?
Old home router
Office router with 8+ ports
Model with OpenWRT/DD-WRT support
I haven't decided yet

When does it make sense to use a router as a switch?

Before reflashing your device, consider whether this approach is feasible in your situation. Here are typical scenarios where this approach works:

  • 🔌 Lack of portsYou have a router with 4 ports. LAN, but you need to connect six devices (PC, NAS, IP cameras). Instead of buying a switch, you can use a second router.
  • 💰 Budget savings: If you already have an unused router (for example, D-Link DIR-615 after the upgrade), why not give it a second life?
  • 📡 Expanding the network to a remote location: I need to extend the network to another room, but it's inconvenient to run a cable—the router is in switch mode + Powerline or MoCA will solve the problem.
  • 🛠️ Network testingSystem administrators sometimes need to quickly deploy a test environment with traffic isolation.

But there are also cases when this approach not optimal:

  • Highly loaded networksIf you have an office with 20+ devices that actively exchange data (for example, workstations + 1C server), the router will "slow down" due to processor limitations.
  • 🎮 Gaming PCs or streaming: For 10Gbit-networks or low ping delays (1ms) a specialized switch is needed.
  • 🔒 Critical infrastructure: For IP cameras or smart home systems, it is better to use managed switches with redundancy (STP/RSTP).

Step-by-step instructions: how to configure a router in switch mode

The process differs depending on the firmware, but the general logic is the same: you need to disable all router functions (DHCP, NAT, Firewall) and combine ports into a single bridge (bridge). Let's consider the universal algorithm:

Disconnect the router from power and the Internet|

Connect to it via cable through the LAN port (not WAN!)|

Reset to factory settings (Reset button)|

Check your firmware version (is it up to date?)|-->

Step 1: Disable DHCP and NAT

Go to the router's web interface (usually at 192.168.0.1 or 192.168.1.1) and run:

  1. Go to the section LAN or Local Network.
  2. Shut down the server DHCP (the parameter can be called DHCP Server or Enable DHCP).
  3. In the settings WAN select connection type Disabled or Bridge.
  4. Turn it off Firewall And SPI (if there are such options).

Step 2: Bridge the ports

Now we need to glue all the ports together. LAN (including WAN, if it is not allocated by hardware) into a single network:

  • On TP-Link: Network → LAN → Bridge, add all ports to the bridge.
  • On ASUS: LAN → Switch Control, turn on the mode AP Mode.
  • On MikroTik: Bridge → Add New, then add all interfaces to the created bridge.

Step 3: Setting the IP address

To keep your router manageable, assign it a static IP address within your primary network range. For example, if your primary router is handing out addresses 192.168.1.100-200, assign to the second device 192.168.1.2:

IP: 192.168.1.2

Mask: 255.255.255.0

Gateway: 192.168.1.1 (IP of the main router)

DNS: 8.8.8.8 (or your ISP's DNS)

Step 4: Connect to the main network

Connect one of LAN-ports of the secondary router LAN-port of the main cable Ethernet. Do not use the port WAN! Now all devices connected to the first router will be on the same network.

What should I do if there is no internet after setup?

1. Check that DHCP is enabled on the main router and that there is a sufficient address pool.

2. Make sure the cable is connected to the LAN port (not WAN!) on both devices.

3. If you are using a non-standard subnet (e.g. 10.0.0.0/24), update the second router's IP address to match that subnet.

4. On some models (for example, Zyxel Keenetic) you need to disable it manually IPTV-tagging in port settings.

Limitations and pitfalls

Even if the setup was successful, be prepared for a number of limitations:

⚠️ Attention: On routers with Realtek-chips (for example, Tenda N301 or Mercusys MW300D) in switch mode, speed may drop by 30-50% due to a weak processor. For stable operation, choose models with Broadcom or Qualcomm Atheros.
  • 🐢 Performance: The maximum speed between ports rarely exceeds 1Gbit, and on budget models it can fall to 100Mbit under high load.
  • 🔌 WAN/LAN ports: On some routers the port WAN hardware separated and cannot operate in mode LAN (for example, on D-Link DIR-300).
  • 🔒 Security: Disconnection Firewall makes the network more vulnerable to internal attacks (eg ARP-spoofing).
  • Nutrition: The router consumes more power than the switch (10-15W versus 2-5W), which is critical for 24/7 operation.

One more nuance - PoE compatibilityIf you plan to connect IP cameras or access points via cable, please note:

  • 📵 Most household routers do not support PoE neither as a source nor as a recipient.
  • 🔌 Exceptions: some models Ubiquiti or TP-Link Omada have Passive PoE at the port WAN, but this is rare.
  • ⚠️ Connection PoE-devices to an unsupported port may burn the port router!

Comparison with Dedicated Switches: Which is Better?

To understand whether it is worth bothering with setting up a router, let's compare it with budget switches (for example, TP-Link TL-SG105 or Netgear GS305):

CriterionRouter as a switchBudget switch (5 ports)Managed switch
Price0₽ (if you already have a router)1 500–3 000₽5 000–20 000₽
Port speed100Mbit–1Gbit (limited by CPU)1Gbit (full duplex)1Gbit–10Gbit
Delays5–50ms1–5ms<1ms
VLAN supportLimited or notNoYes (802.1Q)
ReliabilityAverage (depending on firmware)HighVery high

When the router wins:

  • 💸 You already have an unused device.
  • 🔧 Need additional features (eg. Wi-Fi for temporary connection of gadgets).
  • 📦 Only 1-2 additional ports are required.

When is the best time to buy a switch:

  • 🏢 Network with 10+ devices or high loads.
  • 🎮 Need low ping for gaming or streaming.
  • 🔒 Required VLAN, QoS or LACP.
  • 🔌 Ports needed PoE or 10Gbit.

Alternative firmware: OpenWRT and DD-WRT

The standard router firmware often limits functionality in switch mode. Alternative firmware like OpenWRT or DD-WRT provide more control, but also require caution.

🔹 Advantages of alternative firmware:

  • 🛠️ Complete control over VLAN, QoS And Firewall.
  • 🔄 Possibility to use the port WAN as an additional LAN.
  • 📊 Real-time traffic monitoring.

⚠️ Disadvantages and risks:

  • 💥 Possibility of bricking a router with incorrect firmware.
  • 📉 Loss of warranty (if the device is new).
  • 🔧 Knowledge of working with is required SSH And LuCI.

📌 Instructions for OpenWRT:

  1. Download the firmware for your model from the website openwrt.org.
  2. Flash via web interface or TFTP (instructions are in the project wiki).
  3. After installation, connect via SSH and run:
    uci set network.lan.ifname="eth0.1 eth1 eth2 eth3 eth4"
    

    uci commit

    /etc/init.d/network restart

    (replace ethX to the current interfaces of your router).

⚠️ Attention: Not all routers support alternative firmware. For example, models with Realtek RTL819x often have problems with drivers in OpenWRTBefore flashing, check compatibility on the project forum!

Let's look at the step-by-step setup of a popular model. TP-Link Archer C7 (version 2.0) in switch mode. This router is suitable due to:

  • 🔹 5 ports Gigabit Ethernet (1 WAN + 4 LAN).
  • 🔹 Support OpenWRT (if there are few standard functions).
  • 🔹 Powerful processor Qualcomm Atheros QCA9558 (720 MHz).

📌 Setup steps:

  1. Connect to the router via cable and go to the control panel (192.168.0.1, login/password: admin/admin).
  2. Go to Network → LAN and turn it off DHCP Server.
  3. In the section Network → WAN select Disabled as a connection type.
  4. IN Advanced → Switch Make sure all ports (including WAN) are in the same VLAN (usually VLAN1).
  5. Assign a static IP to your router (e.g. 192.168.0.2) in the settings LAN.
  6. Save the settings and reboot your device.
  7. Connect the port LAN1 Archer C7 to the port LAN main router.

Functionality check:

  • Connect your PC to any port Archer C7 - should automatically receive an IP from the main router.
  • Ping devices on the network (eg. ping 192.168.0.1).
  • Check the file transfer speed between devices (should be close to 1Gbit).
How to return the router to normal mode?

1. Reset the settings using the button Reset (hold for 10-15 seconds).

2. Or go to the web interface and enable it manually DHCP, set up WAN-connection.

3. If the router freezes after a reset, try flashing the stock firmware via TFTP (instructions are available on the TP-Link website).

FAQ: Answers to frequently asked questions

Can the WAN port be used as an additional LAN?

On most routers the port WAN hardware separated and cannot work as LAN. Exceptions:

  • Routers with alternative firmware (OpenWRT/DD-WRT).
  • Some models ASUS (For example, RT-AC68U) in mode AP Mode.
  • Industrial routers (MikroTik, Ubiquiti).

Please check the model specifications before purchasing!

Will Wi-Fi work if the router is used as a switch?

Yes, Wi-Fi will remain active, but:

  • Devices connected via Wi-Fi will be on the same network as wired clients.
  • If you turn it off DHCP On the secondary router, Wi-Fi clients will not receive an IP automatically (they must be assigned manually or use the DHCP of the primary router).
  • On some models (Zyxel Keenetic) Wi-Fi is disabled in bridge mode.
Is it possible to connect IP cameras this way?

Technically yes, but with some caveats:

  • 🔴 Without PoE: Cameras must have a separate power supply.
  • 🟡 With PoE: Only if the router supports Passive PoE (a rarity for household models).
  • 🟢 Performance: For 2-3 cameras with resolution 1080p enough, but for 4K or 10+ cameras require a dedicated switch.

💡 Tip: For cameras, it is better to use managed PoE switch (For example, TP-Link TL-SG108PE) to set up QoS and isolate traffic.

Which router is best for a switch role?

Optimal models (price/features ratio):

ModelPortsCPUProsCons
TP-Link Archer C75×1GbitQualcomm 720 MHzOpenWRT support, stable operationNo PoE
ASUS RT-AC68U5×1GbitBroadcom 800 MHzAP Mode, good Wi-FiA bit pricey for a switch
MikroTik hEX5×1Gbit720 MHzFlexible settings, VLAN supportComplex interface
Ubiquiti ER-X5×1GbitDual-core 880 MHzPoE support (passive), stabilityNo Wi-Fi

🔹 For home: TP-Link Archer C7 or ASUS RT-N66U.

🔹 For the office: MikroTik hEX or Ubiquiti ER-X.

Is it possible to combine two router switches into a network?

Yes, but taking into account the network topology:

  • 🔗 Linear topology: Connect LAN- Router ports with a cable. All devices will be on the same network, but bottlenecks are possible.
  • Ring topology: Possible, but requires support STP (available only on managed switches or routers with OpenWRT).
  • ⚠️ Network loops: Never connect routers with two cables at the same time - this will cause broadcast storm and will collapse the network.

📌 For reliability, use one central router and connect the others to it as switches.