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

    Is it possible to limit a lan ip-adress to example 10kbit or 10% of the bandwidt

    Scheduled Pinned Locked Moved Traffic Shaping
    16 Posts 10 Posters 10.8k 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.
    • S
      sullrich
      last edited by

      This is totally possible.  Simply create a queue or modify an existing one and set the bandwidth.  Then add a rule for that ip and point it to the queue.

      However, you'll have to do this for every ip, which if you're wanting to shape a class C thats 500 rules/queues ;)

      Scott

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

        Hi
        If I want set everyone LAN IP.
        download speed is 1.6Mbit.
        upload speed is 160Kbit.
        How to setup on Traffic Shaper.
        Please touch me.
        Thanks every friend.

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

          @akong:

          Hi
          If I want set everyone LAN IP.
          download speed is 1.6Mbit.
          upload speed is 160Kbit.
          How to setup on Traffic Shaper.
          Please touch me.
          Thanks every friend.

          per user bandwidthlimits are only possible if you add queues with dedicated bandwidth as target for the sinngle ips. this has not been a design goal of the shaper for 1.0 (see other threads for more discussion about it).

          1 Reply Last reply Reply Quote 0
          • P
            Plecto
            last edited by

            I cant get this to work. Wich ip do I put as "source" and "Destination"? Is there anything else I have to change to get it to work?

            1 Reply Last reply Reply Quote 0
            • P
              Plecto
              last edited by

              Anyone? I really want this to work. Can I leave "ports" open?

              1 Reply Last reply Reply Quote 0
              • P
                Plecto
                last edited by

                Noone that can help me with this?

                1 Reply Last reply Reply Quote 0
                • Z
                  ZGamer
                  last edited by

                  I am wondering if this can be done a larger scale (say a full class B network) or more to make it easier to do it by vlan to limit all addresses per address to a fixed bandwidth limit.

                  –------------------------------------------------------------------------------------
                  pfSense Documentation Wiki
                  Need Commercial Support?
                  Personal Blog

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Use aliases to define the items to shape and add rules using the alias as a source or destination.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sirocco
                      last edited by

                      Quick howto:
                      1. Define upload queue similar to p2pup, but m2 value schould contain limit: 40kB for example.
                      2. Define download queue similiar to p2pdown. I left m2 blank - do not limit download.
                      3. Define rule: use new queues and define source IP.
                      Direction from LAN to WAN.

                      Seems to work, but sometimes "forgots" about an IP.:
                      ntop shows traffic on this IP, but queue is empty.

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

                        Keep in mind that queues are assigned to traffic on openeing a new connection only. If there is an already established connection it will stay in the queue it once was assigned to until the connection times out or is shut down. If you want to apply changed traffic shaping settings to all your traffic you should reset the states at diagnostic>states, reset states after making changes to the traffic shaping (btw, there is a hint at the end of the shaper wizard about this).

                        1 Reply Last reply Reply Quote 0
                        • Z
                          ZGamer
                          last edited by

                          thinking back at this on a larger network the network would be subnetted and I am wonder if it could be added for a future feature to throttle speed per host per subnet….so you would have rules by subnet besides the normal ones which would set for instance subnet a gets 20k/per client while subnet b gets 40k/per client...ect.

                          –------------------------------------------------------------------------------------
                          pfSense Documentation Wiki
                          Need Commercial Support?
                          Personal Blog

                          1 Reply Last reply Reply Quote 0
                          • B
                            billm
                            last edited by

                            There's a limit of 256 queues in ALTQ, fyi.  We can change that if/when it becomes an issue (at this time pfsense rule generation performance will be a bottleneck long before you get to 256 queues though).

                            –Bill

                            pfSense core developer
                            blog - http://www.ucsecurity.com/
                            twitter - billmarquette

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