Forum Discussion
Javier_Fernand2
Nimbostratus
Jul 04, 2005set Persist iRule to match across virtual server
I want to configure an iRule to set the persistence for 2 virtual server by source address affinity, I want that if the client's IP begins with 195.53.125.1* always goes to the same server. The virtua...
unRuleY_95363
Jul 08, 2005Historic F5 Account
You simply need to configure a persist profile of type source address and check the "across virtuals" box. Then add this profile to the virtual server. It will act as the default. Then, when you don't want to persist based on source address, you'll need to invert your logic in your rule and execute a "persist none" statement. For example:
if { not ( [IP::client_addr] starts_with "195.53.125.1" ) } {
persist none
}
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
