Community discussions

MikroTik App
 
501ari5
just joined
Topic Author
Posts: 5
Joined: Sun Apr 16, 2017 12:49 am

Limitations on Maximum Available Routing Marks?

Sun May 14, 2017 5:16 am

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.

Image

How could I successfully solve this issue?


Hope to get replies soon.

Thanks! Much appreciated!

Regards,


Andy
 
ThomasLevering
just joined
Posts: 8
Joined: Mon Nov 14, 2016 8:38 am
Location: Germany

Re: Limitations on Maximum Available Routing Marks?

Wed Oct 10, 2018 1:15 pm

i have the same Problem (Max 251 Routing Mark)

RB1200 v6.42.3 License Level6

is there a Different Limit with CloudCore Router?
 
elico
Member Candidate
Member Candidate
Posts: 146
Joined: Mon Nov 07, 2016 3:23 am

Re: Limitations on Maximum Available Routing Marks?

Mon Oct 15, 2018 5:38 pm

<r>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-tuto ... 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)
 
ThomasLevering
just joined
Posts: 8
Joined: Mon Nov 14, 2016 8:38 am
Location: Germany

Re: Limitations on Maximum Available Routing Marks?

Mon Oct 22, 2018 8:23 am

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
 

Who is online

Users browsing this forum: dioeyandika, gotsprings and 47 guests