Forum Discussion
Lazar_92526
Nimbostratus
Aug 14, 2014iRule to select pool based on client IP and group data list
All,
Will this following irule send traffic to a pool based of of client ip addresses defined in a group destination list? If the IP is not defined, we want it to go to the default pool defined for...
IheartF5_45022
Nacreous
Aug 14, 2014You don't actually need the explicit default pool chosen if you have oneconnect enabled, if you don't then [LB::server pool] is best way to refer to default pool;-
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals test_list] }{
pool test_pool
} else {
You can drop this clause if you have oneconnect enabled as default pool will always be chosen
pool [LB::server pool]
}
}
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
