mwan3 package and MMX_MASK using so many bits
Philip Prindeville
philipp_subx at redfish-solutions.com
Mon May 5 08:06:02 PDT 2025
> On May 5, 2025, at 5:26 AM, Jonas Lochmann <openwrt at jonaslochmann.de> wrote:
>
> On Sun, May 04, 2025 at 04:16:40PM -0600, Philip Prindeville via openwrt-devel wrote:
>> Does anyone know why MMX_MASK defaults to 0x3f00 in /lib/mwan3/common.sh? Given that marking only has 16-bits available, and only 1 seems to be necessary, why use 6 of the 16 instead?
>>
>> Am I missing something?
>
> The mask encodes the selected uplink that is used in a policy based
> routing. One bit could encode only "no decision" and "uplink 1".
Is that a fixed map? I.e. (1) there is a max of 6 possible egress paths and (2) any of the other bits could be used without risk of conflict with mwan3?
More information about the openwrt-devel
mailing list