Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    TrafficShaping done right?

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 798 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PfMySense
      last edited by

      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 guests

      The 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 3

      For LAN:
      qLink LAN Priority 5
      qACK LAN Priority 6

      For WLAN_GUESTS:
      qLink GUESTS Priority 3
      qACK GUESTS Priority 4

      From 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

      1 Reply Last reply Reply Quote 0
      • H
        Harvy66
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.