Skip to content
Contents
GuidesOpenWrt

The Redmi AX5400 connects through a LAN port but WAN fails on OpenWrt SNAPSHOT

When the uplink cable works on a different port, first check port mapping and bidirectional forwarding. Obtaining a DHCP address is only one of the final steps in the entire path.

Applies to · Redmi AX5400 · OpenWrt SNAPSHOT · WAN / LAN

What to check

Keep the same upstream and cable, compare the carrier and RX/TX of the original WAN with the controlled backup port; after confirming the backup port is properly isolated from LAN, connect it to the upstream.

Connect over Ethernet and run the following commands in an SSH session on the router.

ip -s link
ubus call network.interface.wan status

How to interpret the result

Compare carrier, RX, and logical WAN-bound device on a test port isolated from the main LAN. When no link is present, check the port and PHY. When a link exists but the request originates from another device, correct the mapping between logical and physical ports.

Verify and recover

Confirm a lease and bidirectional traffic on the intended WAN port, with LAN clients still isolated from the upstream. Restore the previous cabling and port assignments if needed.

Related guide · Where to capture packets on OpenWrt when a TCP handshake times out

Explore hardware

Devices mentioned

Comments