How do I select the primary WAN port?

My router (ZBT-WE826) is running GoldenOrb_2021-08-15 ( OpenWrt 19.07.6 ) https://www.amazon.com/gp/product/B08QKZDS6N/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

I am trying to figure out how to set the preferred WAN source. I currently have a cellular connection on WAN1 wwan0 and a wired connection on WAN eth0. With both live, it ignores the cellular connection. If I disconnect the wired connection it falls back to cellular.

I would like it to be the other way around since my cellular connection is about 5 times faster than my wired one.

Can someone give me any pointers on how to do this?

Assign different metrics to wan and wwan. The lowest one wins.

uci set network.wan1.metric=10
uci set network.wan.metric=20
uci commit network
ifup -a
2 Likes