Forum Discussion
pmilot_109870
Nimbostratus
Mar 02, 2011iRule help
HI guys,
I used this iRule for a long time on 4.x. Replacing my old 1500 with LTM1600 and trying to convert the rule to work on the LTM. Anyone can point out what is wrong with the syntax ?
if (client_addr == 10.10.10.10) {
use pool Server_Node_1
}
else {
use pool Server_Node_2
}
Thanks
Pat
- Colin_Walker_12Historic F5 AccountTry this:
when CLIENT_ACCEPTED { if {[IP::client_addr] eq "10.10.10.10"} { pool Server_Node_1 } else { pool Server_Node_2 } }
- pmilot_109870
Nimbostratus
Worked like a charm! Thanks - Colin_Walker_12Historic F5 AccountGlad to hear it. ;) If you need any more help with the move let us know.
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