Check the role of this OpenWrt device first. A main router may have an unwanted gateway on LAN. A bridged access point may need that very route for time sync and downloads. An upstream card does not reassign a firewall zone.
Which of the two IPv4 routes wins?
Open Status → Overview and compare the device and gateway on each network card. Run these read-only commands over SSH. They list routes, look up a local destination path and show the running LAN interface. Replace lan if renamed.
ip -4 route show
ip -4 route get 1.1.1.1
ifstatus lan
In this isolated OpenWrt 25.12.6 x86/64 VM the defaults go via 10.0.2.2 on eth1 and 192.168.1.254 on br-lan. The latter has metric 80. For these equal prefixes in one table the lower metric wins. The lookup selects eth1 without sending packets to 1.1.1.1 or proving internet access.

Trace the gateway to its source
Back up and connect locally by cable. Open Network → Interfaces → LAN → Edit. The static IPv4 gateway here is 192.168.1.254. Clear only that field and save and apply if the main router genuinely has no use for this route. Keep its LAN address and mask. If blank, check DHCP, static routes and Use default gateway. For multiple uplinks or policy routing inspect ip rule show and the selected tables before changing anything.

Check the router and a client separately

Removing only the LAN gateway left one IPv4 upstream after refresh. IPv6 is separate. Repeat the lookup. On a real network check DNS and time sync on the router, then open a website and the admin page from a client. Marked forwarded traffic may take another path. If access drops, let LuCI roll back without forcing confirmation. If already committed, restore the previous gateway or dynamic route setting locally and retest.
Comments