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

    Traffic Limit

    Scheduled Pinned Locked Moved Traffic Shaping
    14 Posts 6 Posters 1.4k 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.
    • F
      furki96
      last edited by

      I want to limit the time on pfeSense. After connecting the user, take 40 Mbps connection for 2 minutes. After 2 minutes you get 10 Mpbs in speed.
      Do you have a case?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        What would be the use case for such a thing?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • F
          furki96
          last edited by

          We want to set speed limits for users

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            Then do that... what is the use case of giving them 40mbps for only 2 min? And then cutting them to 1/4 of the speed.. If you want them to have 10mbps then limit them to 10mbps.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • F
              furki96
              last edited by

              For the convenience of users . Bandwidth is not in very good condition

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                What? What is the point of giving them 40mbps for 2 minutes if your bandwidth is crap? Just give them the 10mbps out of the gate!

                I am not aware of way to do what you want.. Should prob move this thread to the traffic shaping section to be honest..

                edit: Moved to traffic shaping section - maybe the folks there might have some idea how to accomplish what your after.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • F
                  furki96
                  last edited by

                  Since our colleagues' business is ALL about internet we felt the urge of giving them the feeling of using the whole bandwidth for a specific time. The time which falls under a standard web page load time.
                  I hope this explanation is satisfying for you.

                  Thank you for your considerations.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    heheh - yeah makes no sense at all.. Good luck with your quest.. I don't think what your after is currently possible... But the traffic shaping guru's might have some tricks up their sleeves - good luck.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    KOMK 1 Reply Last reply Reply Quote 0
                    • T
                      tman222
                      last edited by

                      We're going to need more specifics as to what you are trying to accomplish exactly and why. Are you trying to make sure that other users aren't starved of bandwidth?

                      1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM @johnpoz
                        last edited by

                        @johnpoz It looks to me like he's trying to reproduce the burst feature that some ISPs use, where you get higher bandwidth for a short period of time before it settles down. This gives the illusion of faster internet when they're fetching small items like objects from a web page, but it throttles it down when they start downloading larger items like ISOs and torrents. I think this can be accomplished using the HFSC shaper with an m1 burst parameter. Usually m1 is measured in seconds, not minutes.

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz

                          Such a limit would be per session, ie connection not when user connects their device.

                          Such throttling could be useful when your the ISP and use has limit of their physical connection anyway.. But don't see how it works out when your at the end site... Giving all users 40Mbps when your limited to 40 max, doesn't work out so good when all your users are connecting to sites all the time... 100 users all getting full pipe doesn't work even if only for a short time..

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • T
                            tman222
                            last edited by

                            Yeah, that's why I was asking about the OP's use case / intended goals. Seems like putting per IP limits or using weighted queues for bandwidth guarantees might be a potential option if the goal is not to starve the rest of the user pool of bandwidth.

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kartoff
                              last edited by

                              When you have bandwidth problems I suggest you to deal with that instead of shaping your coleagues… Just find a way to get more speed and you will be happy along with them :)

                              1 Reply Last reply Reply Quote 0
                              • F
                                fsr
                                last edited by

                                Probably better to just configure it with the method explained in this thread: https://forum.netgate.com/topic/57476/per-ip-traffic-shaping-share-bandwith-evenly-between-ip-addresses

                                That's as fair sharing as it gets.

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