TrafficShaping done right?
-
Hi,
what i want to achieve is simple but nevertheless i am fighting for quite some time now to figure it out.
I also opened the topic a few times in here but i couldn`t figure out how to do it properly, hopefully this is it now.
Let me describe shortly what i have in mind:Interfaces:
WAN
LAN -> Private LAN for a few office machines only
WLAN_GUESTS -> VLAN interface for WLAN guestsThe parent interface for both VLANs is not LAN, just to make things clear.
I now want to prioritze any internet related traffic coming from LAN over the traffic coming from the WLAN_GUESTS.I did the following to achieve that:
Create 1xWAN 2xLAN via the traffic shaping wizard, (PRIQ for all intrerface) without giving priority to any specific traffic. (leaving all checkboxes in the wizard unchecked)
I assigned different priorities to the queues attached to the interfaces according to what i described above.
This leads to the following configuration:For WAN:
qACK Priority 7
qDefault Priority 3For LAN:
qLink LAN Priority 5
qACK LAN Priority 6For WLAN_GUESTS:
qLink GUESTS Priority 3
qACK GUESTS Priority 4From my understanding i don`t need to assign queues to the firewall rules because the qLink queues are the default queues which means that any unassigned traffic goes into the default queue anyway. With PRIQ i also dont have to set bandwith values to get a workign configuration.
Please correct me if i am wrong here but as far as i know this is what needs to be done to achieve the things i described earlier.
Like for example, my guests can surf the web or do other stuff online but as soon as my clients connected to LAN demand bandwith they will be treated first.
Is that complete bogus or did i get it right this time?Regards
Dennis
-
PRIQ doesn't need to know the bandwidth, but your interface still needs to have the bandwidth rate limited, otherwise your interface will just pump out data as fast as the interface, which is probably 1Gb/s. When data comes in faster than 1Gb/s, PRIQ will start to re-arrange packets.