Mangle for 6xLAN + 1xWAN interface

I have one rb493AH with 6 interface connected to WLAN’s with different networks and one interface connect to upstream router to internet.
I need to limit and Prioritize traffic towards each WLAN and use mangle to mark packages in the prerouting chain.

Normally I set an incoming interface as one of the classifiers for marking. But since I have 6 different incoming interfaces do I need to multiply each filter now 6 times?
Is there any alternative way? I hate to have so many filters but performance is top priority on my rb’s

Impossible to say without more information.

Do you need to mark all traffic the same regardless of WLAN interface? If yes you can just make a firewall address list that has entries for all the WLANs, and then refer to the src-address-list and dst-address-list. If you need to mark differently based on WLAN then in-interface is probably the best way to go. To improve performance you can still play around with passthrough=no and passthrough=yes and sort rules so that the logic stays the same but more frequently evaluated rules come first.

hmm, yet again you give good responce… :smiley:

I have all my client networks in the xxx.xxx.48.0/20 (16 networks) range so I can actually use that. Unless you tell me this classifier needs a lot of power fm cpu?

Nope, that is cheap to do.