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 usingNAT.
When you turn off WAN-router functions and use only LAN-ports, it effectively becomes a "stripped-down" switch. But with important caveats:
| Parameter | Dedicated switch | Router in switch mode |
|---|---|---|
| Frame forwarding rate | Above (hardware switching) | Below (software processing) |
| Delays (latency) | Minimum | More due to CPU processing |
Support VLAN | Yes (on controlled models) | Limited or not |
| Number of ports | From 5 to 48 | Usually 4 (less often 8) |
| Energy consumption | Below | Above (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.
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 +
PowerlineorMoCAwill 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:
- Go to the section
LANorLocal Network. - Shut down the server
DHCP(the parameter can be calledDHCP ServerorEnable DHCP). - In the settings
WANselect connection typeDisabledorBridge. - Turn it off
FirewallAndSPI(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 modeAP 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.2Mask: 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 withRealtek-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 withBroadcomorQualcomm Atheros.
- 🐢 Performance: The maximum speed between ports rarely exceeds
1Gbit, and on budget models it can fall to100Mbitunder high load. - 🔌 WAN/LAN ports: On some routers the port
WANhardware separated and cannot operate in modeLAN(for example, on D-Link DIR-300). - 🔒 Security: Disconnection
Firewallmakes the network more vulnerable to internal attacks (egARP-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
PoEneither as a source nor as a recipient. - 🔌 Exceptions: some models Ubiquiti or TP-Link Omada have
Passive PoEat the portWAN, 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):
| Criterion | Router as a switch | Budget switch (5 ports) | Managed switch |
|---|---|---|---|
| Price | 0₽ (if you already have a router) | 1 500–3 000₽ | 5 000–20 000₽ |
| Port speed | 100Mbit–1Gbit (limited by CPU) | 1Gbit (full duplex) | 1Gbit–10Gbit |
| Delays | 5–50ms | 1–5ms | <1ms |
| VLAN support | Limited or not | No | Yes (802.1Q) |
| Reliability | Average (depending on firmware) | High | Very high |
✅ When the router wins:
- 💸 You already have an unused device.
- 🔧 Need additional features (eg.
Wi-Fifor 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,QoSorLACP. - 🔌 Ports needed
PoEor10Gbit.
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,QoSAndFirewall. - 🔄 Possibility to use the port
WANas an additionalLAN. - 📊 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
SSHAndLuCI.
📌 Instructions for OpenWRT:
- Download the firmware for your model from the website
openwrt.org. - Flash via web interface or
TFTP(instructions are in the project wiki). - After installation, connect via
SSHand run:uci set network.lan.ifname="eth0.1 eth1 eth2 eth3 eth4"uci commit
/etc/init.d/network restart(replace
ethXto 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!
Case Study: Setting Up the TP-Link Archer C7
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(1WAN+ 4LAN). - 🔹 Support OpenWRT (if there are few standard functions).
- 🔹 Powerful processor
Qualcomm Atheros QCA9558(720 MHz).
📌 Setup steps:
- Connect to the router via cable and go to the control panel (
192.168.0.1, login/password:admin/admin). - Go to
Network → LANand turn it offDHCP Server. - In the section
Network → WANselectDisabledas a connection type. - IN
Advanced → SwitchMake sure all ports (includingWAN) are in the sameVLAN(usuallyVLAN1). - Assign a static IP to your router (e.g.
192.168.0.2) in the settingsLAN. - Save the settings and reboot your device.
- Connect the port
LAN1Archer C7 to the portLANmain 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
DHCPOn 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
1080penough, but for4Kor 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):
| Model | Ports | CPU | Pros | Cons |
|---|---|---|---|---|
| TP-Link Archer C7 | 5×1Gbit | Qualcomm 720 MHz | OpenWRT support, stable operation | No PoE |
| ASUS RT-AC68U | 5×1Gbit | Broadcom 800 MHz | AP Mode, good Wi-Fi | A bit pricey for a switch |
| MikroTik hEX | 5×1Gbit | 720 MHz | Flexible settings, VLAN support | Complex interface |
| Ubiquiti ER-X | 5×1Gbit | Dual-core 880 MHz | PoE support (passive), stability | No 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 stormand will collapse the network.
📌 For reliability, use one central router and connect the others to it as switches.