Limiter - can one be shared between multiple interfaces?
-
Guys,
I'm new to this Traffic shaping / Limiting stuff. Read the docs, set it up fine on my simple test system and works as expected.
I need now to implement this in production, where I've got a multi-WAN / multi LAN setup with 15 internal subnets on VLANs.
The requirement is to limit internet upload and download to 2Mbit/s on each subnet. My question is:
Do I have to create 15 separate IN limiters and another 15 separate OUT limiters, each with 2Mbit/s?
or is it enough to create just one IN and one OUT, both at 2Mbit/s, and select the same in the firewall rules of all the interfaces to limit each to 2Mbit/s? -
Its enough to create one.
But even if you need 15 you can use th emask functionality to not need to create that many and resuse the same limiter definition. -
@ermal:
But even if you need 15 you can use th emask functionality to not need to create that many and resuse the same limiter definition.
Didn't find any info about emask, I'd like to keep within standard config which can be set up via GUI so that backup config can stay safe.
If I use one single limiter queue for all the 30 directions (15 in + 15 out), will they be limited to 2Mbit/sec all, or each (totalling 30Mbit/sec on WAN side max)? (provided that the same limiter is selected for both in and out and on each subnet interface)Edit: it doesn't let me use the same limiter for in/out, the message is: " In and Out Queue cannot be the same. "
So would it be enough to just create 2 queues like "2mbit_in" and 2mbit_out" and select these on all 15 interfaces? Will these limit at 2Mbit separately or in total?