Skip to content
Contents
GuidesOpenWrt

Use an old OpenWrt router as an Ethernet switch and keep LuCI reachable

Disconnect the old router’s uplink and connect a computer to LAN. The main router should hand out addresses while the old unit keeps a known management address.

Disconnect the old router’s uplink and connect a computer to LAN. The main router should hand out addresses while the old unit keeps a known management address.

Choose the management address before connecting the uplink

Check the main LAN mask and DHCP pool. For a gateway at 192.168.50.1/24, reserve an unused address such as 192.168.50.2 outside dynamic allocation. Set the old unit’s address and mask under Network → Interfaces → LAN. Set a working gateway and DNS if the switch itself needs updates.

Keep one intended address service on the segment

On the old LAN ignore the interface in DHCP settings. Disable unneeded IPv6 RA, DHCPv6 and NDP proxy there. Keep br-lan and its wired members. Attach any retained SSID to LAN. Verify the new address from a spare wired port before connecting one cable from main LAN to old LAN. Leave WAN unchanged for this test.

LuCI · LAN → DHCP Server → Ignore interface
OpenWrt 25.12.6 · x86/64 QEMU · LuCI · LAN → DHCP Server → Ignore interface

Check two sockets independently

Set the computer to automatic addressing. On two LAN sockets record DHCP server, gateway and DNS, then open the old management page. In our lab management used a separate port and both service ports received replies from 10.107.10.1. Check the IPv6 default router separately at home. If an unexpected server answers, disconnect the uplink, use a temporary address on the management subnet and restore the backup. Bridging does not require disabling the entire firewall.

DHCP · eth1 + eth2 → 10.107.10.1
OpenWrt 25.12.6 · x86/64 QEMU · DHCP · eth1 + eth2 → 10.107.10.1

Plan four VLANs on OpenWrt and map each managed switch port

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments