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

    Priority up to 1Mbit/s, is it possible?

    Scheduled Pinned Locked Moved Traffic Shaping
    4 Posts 4 Posters 766 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.
    • B
      bodom
      last edited by

      Hi there!

      I would like to use priority-based queuing for a service, but i would like its priority to be limited to 1Mbit/s, so that the first 1Mbit/s of both incoming and outgoing bandwidth will be reserved for that service (if any traffic form it is present); the rest of traffic will be routed according to standard rules.

      Example: 10Mbps total bandwidth, 3Mbps "Pri" traffic, 8Mbps other traffic. 1Mbps of "Pri traffic" gets prioritized, the rest gets assigned "as usual" up to bandwidth saturation.

      How could i achieve that?

      Thank you

      1 Reply Last reply Reply Quote 0
      • N
        Nullity
        last edited by

        @bodom:

        Hi there!

        I would like to use priority-based queuing for a service, but i would like its priority to be limited to 1Mbit/s, so that the first 1Mbit/s of both incoming and outgoing bandwidth will be reserved for that service (if any traffic form it is present); the rest of traffic will be routed according to standard rules.

        Example: 10Mbps total bandwidth, 3Mbps "Pri" traffic, 8Mbps other traffic. 1Mbps of "Pri traffic" gets prioritized, the rest gets assigned "as usual" up to bandwidth saturation.

        How could i achieve that?

        Thank you

        If you are referring to PRIQ, then yes, what you want is not possible (aside from VLANS or other interface limits). CBQ, HFSC, FAIRQ, or dummynet's (pfSense limiters') fq_codel are better (the only?) options.

        You've read the pfSense wiki, right?

        Please correct any obvious misinformation in my posts.
        -Not a professional; an arrogant ignoramous.

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

          You can either shape via bandwidth or shape via priority. They are two logically incompatible ways to shape. My personal opinion is that HFSC is the best and simplest way to shape via bandwidth.

          The real question is why do you want to shape via bandwidth in the first place. fq_codel is quite turn-key, excluding the currently kludgy way you have to set it up, and it does fairly good flow isolation and fair bandwidth distribution. While you lose the ability to micro-manage, it "just works" like freaking magic.

          1 Reply Last reply Reply Quote 0
          • SammyWooS
            SammyWoo
            last edited by

            Agree with Harvy66, ur using the wrong tool for the job.

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