Forum Discussion
rjordan
Nimbostratus
May 04, 2011Stop processing iRule if condition is met?
I have an existing iRule that directs traffic to various pools based on the host name. It was requested that connections from specific source IPs be directed to specific nodes. I added this functional...
Colin_Walker_12
May 05, 2011Historic F5 Account
I was just trying to keep the node command up in the CLIENT_ACCEPTED event where you put it originally. If you're okay with moving it to the end of the if/else chain, then that's definitely the simplest solution.
Just keep in mind that it doesn't take priority this way. Since it's in an if/else chain, it only gets fired if one of the conditions above it are not met. What I mean is, in my example if you get a request from 1.2.3.4 to domain1.com, it will get directed to the particular node as you desired. In your example, it will get sent to the pool that all other domain1.com requests are sent to.
Colin
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