Forum Discussion
Emad
Cirrostratus
Mar 24, 2013Traffic Load Handling.
we have too much traffic load from some specific client IP's and i want to make a separate pool for that clients. so that if request comes from their network that should be routed to separate pool.
What are the possiable ways to do that.
1 Reply
- Laudec_55181
Altostratus
You can use iRules for that:
rule myrule {
when CLIENT_ACCEPTED {
set vs "[IP::local_addr]:[TCP::local_port]"
if {[IP::addr [IP::client_addr] equals 172.28.19.0/24]}{
pool foo1
} else {
pool foo2
}
}
Or if you have many subnets, you can change the iRule to use a datagroup with the defined subnets in it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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