Forum Discussion
adrian_171483
Cirrus
Jul 23, 2015irule not working
Hi I have deployed the following Irule.. but I am struggling to see why it wont drop traffic onto the correct pool
Traffic is hitting the https virtual server and matching against something i...
Jul 23, 2015
Hi Adrian!
The rule looks ok to me.
Have you checked the routing? Where is the client coming from? The easiest way to exclude routing is to use the snat pool automap. Also, check the server netmask to make sure it's correct and routes back to the load balancer.
Rewrote it with nicer syntax in case someone else has a comment.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/dash" - "/gateway" { pool 5001 }
"/something*" { pool 9080 }
default { pool 2443 }
}
}
/Patrik
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