Forum Discussion
Wil_Schultz_101
Nimbostratus
Jul 02, 2007My iRule stopped working?!
I've got an irule that (to the best of my knowledge anyway) has been working for quite some time, for some strange reason part of it stopped working yesterday. Here is what it looks like:
when...
Deb_Allen_18
Jul 02, 2007Historic F5 Account
I think you may have been caught by a common misperception: The "pool" command in v9 doesn't terminate request processing and send the traffic immediately to the pool as it did in v4.
Since your conditions are not mutually exclusive, and the last pool selected is the one to which traffic will be sent, I'd bet the "failure" you are seeing is that the requests matching the private IP list but not matching your specified switch URIs are hitting the default condition and going to "myother_pool" rather than to "my_pool".
You can verify that by placing a similar log statement inside the "if" command to verify that the first condition is evaluating as you expect, and if it's what I suspect, you can correct the problem by enclosing the switch in a "else" clause to the existing "if" command.
HTH
/deb
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