mwan3 package and MMX_MASK using so many bits

Jonas Lochmann openwrt at jonaslochmann.de
Tue May 6 03:44:06 PDT 2025


On Mon, May 05, 2025 at 02:30:45PM -0600, Philip Prindeville via openwrt-devel wrote:
> >> 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?
> > 
> > That would not work. It is more complicated.
> > 
> > mwan3 wants at least three bits [1]. Zero is used for "no decision".
> > Then a table is generated that maps the used interfaces to numbers [2].
> > However, there are three internally used actions (default, blackhole,
> > unreachable) that need a number too. They start from the maximum value
> > that the bitmask permits. Due to this, theoretically "unused" bits can
> > be one or zero depending on internal actions or regular interfaces.
> 
> Sorry, are you saying that installing mwan3 precludes any other use of marking bits?

This only refers to the selected MMX_MASK. All of these bits are used.
The others are not touched.



More information about the openwrt-devel mailing list