Isn't the parameter name 'min-prefix' confusing?
I would believe that it means that the lookups in the table are done for prefixes with a MINimum length of what you set it to.
Setting it to 0 would then result in that a length 0 (i.e. the default route 0.0.0.0/0) is included as well.
To exclude the default route you would instead logically set min-prefix=1.
The only mentioning in the documentation of this is on https://help.mikrotik.com/docs/display/ ... cy+Routing where it clearly states that "Equivalent to Linux IP rule suppress_prefixlength . For example to suppress the default route in the routing decision set the value to 0."
I guess my rant is that the parameter would better be named 'suppress-prefix' to be clearer..
Another distraction is that a 0 is only showed in winbox as an active but greyed out field..
/end rant
I would believe that it means that the lookups in the table are done for prefixes with a MINimum length of what you set it to.
Setting it to 0 would then result in that a length 0 (i.e. the default route 0.0.0.0/0) is included as well.
To exclude the default route you would instead logically set min-prefix=1.
The only mentioning in the documentation of this is on https://help.mikrotik.com/docs/display/ ... cy+Routing where it clearly states that "Equivalent to Linux IP rule suppress_prefixlength . For example to suppress the default route in the routing decision set the value to 0."
I guess my rant is that the parameter would better be named 'suppress-prefix' to be clearer..
Another distraction is that a 0 is only showed in winbox as an active but greyed out field..
/end rant
Statistics: Posted by flatbat — Sun Mar 10, 2024 5:02 pm