Skip to content
Contents
GuidesOpenWrt

Choose between two WANs for the same destination on OpenWrt

The same domain name might resolve to different CDN nodes over two broadband connections.

The same domain name might resolve to different CDN nodes over two broadband connections. First, test the destination address directly using the two links, then return to normal DNS resolution. Record both the operator's line IP and the client's actual source IP address used at the exit.

Route rules are narrowed down to a set of destinations

Have a single client access controlled destinations via two separate WAN paths, recording connection duration, packet loss, and time periods. For stable services with differing performance, configure policy-based routing (PBR) based on source or verified destination subnet. When destination domains are dynamically scheduled by a CDN, simultaneously verify that the resolver provides the correct destination set and TTL to PBR.

Compare Two ISPs at a Fixed Location

Reach the same destination you control through each authorized WAN. Record DNS answers, RTT, packet loss and application responses, then repeat at different times.

On the router, check ip rule, specific tables, and client connection counts, then compare new connections against two exit paths. Return paths are selected by the peer and upstream networks. Whether to fall back after a main path failure is configured based on business requirements and independently verified.

Set switching solely for clear business requirements. When DNS resolution hits different CDNs, first isolate address and operator factors, then adjust source routing.

Look up the same lab destination with two routing marks. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Look up the same lab destination with two routing marks. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Look up the same lab destination with two routing marks. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

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

Explore hardware

Comments