Limitations on Maximum Available Routing Marks?

Hello,

Could anyone please tell me that how many routing marks are available for the RouterOS? I am experiencing an issue that routing marks cannot be more than 260 on RB3011 routerboard. Is the 260 a limitation of the license level of this product or the RouterOS does not support routing marks for more than 260?

Please take a look at the enclosed screenshot for more details.

How could I successfully solve this issue?


Hope to get replies soon.

Thanks! Much appreciated!

Regards,


Andy

i have the same Problem (Max 251 Routing Mark)

RB1200 v6.42.3 License Level6

is there a Different Limit with CloudCore Router?

Depends on the OS forced limit and also the CPU arch.
Iptables mark can be up to very very high ie from: https://www.frozentux.net/iptables-tutorial/chunkyhtml/x2702.html
section “10.3.10. Mark match” it seems that the mark themselves can be much higher then 250.

The next link give some more details: "https://erwinchang.github.io/2016/08/04/routing-tables/

So basically the limit is due to the Linux OS maximum extra tables else then the basic.
It can hold up to 255 tables(due to the byte size limit) and at-least 3 are used by the OS by default so it leaves 252.

In FreeBSD they have FIB with the setfib limit of 64k which is mentioned at:
https://www.unix.com/man-page/freebsd/2/setfib/

But it doesn’t have any connection marking and only pf/ipfw rules can apply a specific packet or connection to a specific FIB(which is not bad)

I changed my Settings
Now i do not need Routing Marks

/ip firewall mangle
add action=route chain=prerouting comment="Route2" passthrough=no \
    route-dst=2.2.2.2 src-address-list=AdressList2