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

    Request Bandwidth Management Feature

    2.1 Snapshot Feedback and Problems - RETIRED
    5
    7
    3.7k
    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.
    • L
      lifeform08
      last edited by

      Example Total 10mbps internet devided by on 3 groups/policy
      group/policy 1 - total 4mbps shared to CP per users limit 768kbps
      group/policy 2 - total 3mbps shared to CP per users limit 256kbps
      group/policy 3 - total 3mbps shared to CP per users limit 512kbps

      example on group/policy 1 total 4MB:
      1 user connected = max 768kbps
      2 users connected = max 1.5mbps
      6 or more users connected = max 4mbps

      same goes with group 2 and group 3

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        There is something like this developed in customer versions of pfSense.
        Not sure if it will make the open source version any time!

        1 Reply Last reply Reply Quote 0
        • C
          casinmirad
          last edited by

          @lifeform08:

          Example Total 10mbps internet devided by on 3 groups/policy
          group/policy 1 - total 4mbps shared to CP per users limit 768kbps
          group/policy 2 - total 3mbps shared to CP per users limit 256kbps
          group/policy 3 - total 3mbps shared to CP per users limit 512kbps

          example on group/policy 1 total 4MB:
          1 user connected = max 768kbps
          2 users connected = max 1.5mbps
          6 or more users connected = max 4mbps

          same goes with group 2 and group 3

          I think you can do this with free version of pfsense 2.0

          Just put your group bandwith limit policy in a floating rule, and the per user bandwith limit policy in a limiter.
          If both rule and limiter are assigned to a same group of IP (with an aliases, for example) the limiter will limit any IP and the floating rule will limit the group.

          1 Reply Last reply Reply Quote 0
          • A
            ariyako
            last edited by

            @lifeform08:

            Example Total 10mbps internet devided by on 3 groups/policy
            group/policy 1 - total 4mbps shared to CP per users limit 768kbps
            group/policy 2 - total 3mbps shared to CP per users limit 256kbps
            group/policy 3 - total 3mbps shared to CP per users limit 512kbps

            example on group/policy 1 total 4MB:
            1 user connected = max 768kbps
            2 users connected = max 1.5mbps
            6 or more users connected = max 4mbps

            same goes with group 2 and group 3

            yeah would be superb gooding if this coming in pf free

            @casinmirad:

            @lifeform08:

            Example Total 10mbps internet devided by on 3 groups/policy
            group/policy 1 - total 4mbps shared to CP per users limit 768kbps
            group/policy 2 - total 3mbps shared to CP per users limit 256kbps
            group/policy 3 - total 3mbps shared to CP per users limit 512kbps

            example on group/policy 1 total 4MB:
            1 user connected = max 768kbps
            2 users connected = max 1.5mbps
            6 or more users connected = max 4mbps

            same goes with group 2 and group 3

            I think you can do this with free version of pfsense 2.0

            Just put your group bandwith limit policy in a floating rule, and the per user bandwith limit policy in a limiter.
            If both rule and limiter are assigned to a same group of IP (with an aliases, for example) the limiter will limit any IP and the floating rule will limit the group.

            care to explain more detail? or tutor would be nice  ;D

            1 Reply Last reply Reply Quote 0
            • C
              casinmirad
              last edited by

              @casinmirad:

              @lifeform08:

              Example Total 10mbps internet devided by on 3 groups/policy
              group/policy 1 - total 4mbps shared to CP per users limit 768kbps
              group/policy 2 - total 3mbps shared to CP per users limit 256kbps
              group/policy 3 - total 3mbps shared to CP per users limit 512kbps

              example on group/policy 1 total 4MB:
              1 user connected = max 768kbps
              2 users connected = max 1.5mbps
              6 or more users connected = max 4mbps

              same goes with group 2 and group 3

              I think you can do this with free version of pfsense 2.0

              Just put your group bandwith limit policy in a floating rule, and the per user bandwith limit policy in a limiter.
              If both rule and limiter are assigned to a same group of IP (with an aliases, for example) the limiter will limit any IP and the floating rule will limit the group.

              care to explain more detail? or tutor would be nice  ;D

              Sure.
              Consider 4 clients, 2 in group 1 with 1MB max download each and 1.5MB max combined, the other 2 with 2MB download max each and 3MB combined max.

              Map clients with IP this way:
              192.168.1.1 client 1 - group 1
              192.168.1.2 client 2 - group 1
              192.168.2.1 client 3 - group 2
              192.168.2.2 client 4 - group 2

              Assing two aliases:
              group 1: 192.168.1.0/24
              group 2: 192.168.2.0/24

              Create 2 traffic shaper rules on LAN:
              qGroup1: set bandwidth to: 1.5MB
              qGroup2: set bandwidth to: 3MB

              Create 2 floating rules:
              group1: match that rule with source: alias group1 and set queue qGroup1
              group2: match that rule with source: alias group2 and set queue qGroup2

              Create 2 limiters:
              lGroup1: set bandwidth 1MB, mask: destination address
              lGroup2: set bandwidth 2MB, mask: destination address

              Create 2 rules on LAN:
              group1: match that rule with source: alias group1 and set limiter lGroup1 to Out limiter
              group1: match that rule with source: alias group2 and set limiter lGroup2 to Out limiter

              Didn't test it, just wrote from memory, so you may need to adjust something a little, but the general idea will work.

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

                +1 to implement a nice webgui in future release if possible and time permits this, altho working with limiters might work.

                it would be nice to maybe make a link with the dhcp leases and create groups by mac-address (like a fixed ip).

                1 Reply Last reply Reply Quote 0
                • A
                  ariyako
                  last edited by

                  thanks casinmirad  ;D

                  @heper:

                  +1 to implement a nice webgui in future release if possible and time permits this, altho working with limiters might work.

                  it would be nice to maybe make a link with the dhcp leases and create groups by mac-address (like a fixed ip).

                  +1  :D

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