I am new to mwan3 and comparing it to a ClearOS solution. I am just above novice level with respect unix networking, but I have developed some scripts that tweak the load balancing in ClearOS. I generally understand the ip routing tables and ip rules created by mwan3. But I do not see any load balancing entries. In ClearOS the balancing is done via nexhop entries in an ip routing table that include the weights. Somethlng like: "nexthop via x.x.x.x dev eth1 weight 200"
I don't see such a table or entries in Openwrt as configured by mwan3.
I looked through the user guide and searched the forum, but I did not see this info.
Where is the load balancing managed in Openwrt/mwan3?
What OS level network commands or config files drive the load balancing (below mwan3 e.g. the equivalent of nexthop)
I don't need a tutorial - just the terminology/kewords or pointers to the relevant unix documentation.
Thanks much! FYI - in the ClearOS case, the nexthop weights are load balancing. There appears to be more than one way to achieve load balancing in linux
I see, I must have misread your first post and confused metric with weight.
Indeed mwan3 uses the term weight, but only for the load balancing. If you have a policy with 2 members for example and the first member has metric 1 and the second metric 2, then only the first will be used regardless of the weight. Which is a failover scenario, the first member must be considered down to use the second member. If both members have the same metric, then weight is used to calculate the balancing ratio. If both members have metric 1 and weight 1, then it is 50-50%. If member 1 has metric 1 and weight 3 and member 2 has metric 1 and weight 1, then there will be load balancing 75-25%.