Forum Discussion
sandiksk_35282
Altostratus
Oct 28, 2015need help with an irule
I have a source that need to be always directed to a particular server behind the pool.configured an irule and its working as expected
when CLIENT_ACCEPTED {
if { [IP::client_addr] == "192.168...
Jinshu
Cirrus
Oct 28, 2015Hi Mate,
You can use the class for add multiple IP addresses in the irule for the same results so that in future if you want to add more addresses you can add it in the class without making changes in irule.
For example:
class custom_bypass_group_class {
host 192.168.10.6
host 192.168.10.7
}
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals custom_bypass_group_class] }
{
pool app_prd_pool member 10.12.15.13 443
}
}
-Jinshu
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