Forum Discussion
madeye_80512
May 24, 2011Nimbostratus
Limit traffic per client ip?
Hi,
I'm searching for a way to limit the bandwidth per user.
I found that rateclass gives me an "over all" limit on a VS, but still a single client can grab all bandwidth and let other users starve.
S...
hooleylist
May 24, 2011Cirrostratus
Here is some related info (stolen from AdamA):
There is a very common misconception that assigning a rate class in an iRule places that connection in a pool with other connections that are assigned the same rate class. In fact when a rate class is assigned within an iRule it is enforced per-connection (just like if we assigned a snat pool, or a node, etc.).
So this means that you cannot really do a ‘per user’ rate class, but you can do a per connection rate class with only one rate class definition. You could use table commands to keep track of how many concurrent connections you have from a single user and assign multiple rate classes. You could possibly reassign the high throughput rate class to the next connection once the first connection closes (ie 1mbps for first connection, 10kbps each additional).
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects