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...
madeye_80512
May 24, 2011Nimbostratus
Hi,
I tried to assign the rate class with a simple irule:
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr] being handled by rateclass class1"
rateclass class1
}
class1 limits at 80kbps
The irule hits: 1 download is limited to 10kByte/s and I get an according log entry.
the 2nd download is a new connection (I get a new log entry!) and both downloads settle at each 5kByte/s.
the 3rd download result in each getting 3.3kByte/s.
This is exactly the same as if I'd assigned the rateclass directly to the VS without an irule.
Unfortunately this is not what I'd have hoped for (each connection being traffic shaped "individually" to 10kByte/s).
So what did I wrong?
Best regards
madeye
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