Skip to content
Contents
GuidesOpenWrt

OpenWrt switch mode: clients have internet but LuCI or package updates fail

A bridge can forward client traffic even when its own address, gateway or DNS is wrong. Find the management address first, then test from the switch. This procedure assumes one IPv4 uplink.

A bridge can forward client traffic even when its own address, gateway or DNS is wrong. Find the management address first, then test from the switch. This procedure assumes one IPv4 uplink.

Find the switch itself

The computer’s default gateway usually opens the main router. For a DHCP-managed switch, look up its management MAC in that router’s leases. For a known static address, disconnect the uplink and cable directly to the management port. If the recorded address is 192.168.50.2/24, temporarily assign the PC an unused 192.168.50.3/24 and open the switch address. Check link, management VLAN and port PVID if unreachable. If SSH works, check the web protocol, port and uHTTPd.

Check routing and DNS on the switch

Reconnect the uplink and run these commands over SSH. If default is missing, edit the static management interface in LuCI under Network → Interfaces and enter the reachable upstream gateway. For DHCP, check the gateway received. If upstream addresses work but names fail, check interface DNS and access to the resolver. If both work, use the first update error to investigate time, TLS or feeds.

ip -4 addr show
ip -4 route show
nslookup example.org

Keep a single DHCP provider

In this OpenWrt 25.12.6 virtual lab both client interfaces obtained leases from 10.107.10.1. This verifies address allocation alone. When the main router serves DHCP, leave Ignore interface selected for that LAN on the switch. Back up first, change one setting at a time and revert over cable if necessary. Restore automatic addressing on the PC, reopen LuCI and refresh the package index on the switch.

LuCI · LAN · DHCP

OpenWrt · DHCP · 10.107.10.1

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

Explore hardware

Comments