Rockchip · AI & Linux Hub

NanoPi dual-WAN failover: what to test after the cable-pull test

Unplugging the network cable from the main WAN can only verify that the local link is down.

What is more common at the scene is that both the optical modem and the network port are on, but the upstream business service cannot be reached. When accepting the NanoPi multi-WAN gateway, verify the link failure, upstream failure and status after restoring the main line.

Define the meaning of “external network is normal”

Select multiple appropriate health check targets according to the business, control the detection frequency and the number of failures, and avoid single public service fluctuations. Distinguish between line reachability, DNS availability and application service availability. If the two lines share the same superior equipment, the common fault point should also be marked.

Test two kinds of conversations

Establish a persistent connection in the test environment and periodically initiate new short requests. After switching the public network exit, the old connection may need to be rebuilt due to address changes. The time when new requests are resumed and the time when old tasks are resumed should be recorded separately. Verify that it is safe for the application to retry unfinished operations.

Repeated measurement of jitter back and forth

After restoring the main line, observe whether it is switched back immediately and whether there will be frequent round-trips in the border state. Document the actual roles of both WANs, health thresholds, switching windows, and tasks that require manual processing so that there are clear expectations for “auto-switching” on site.

Board documentation and references

ArmSoM Sige7

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →