Forum Discussion
PT2012_73791
Nimbostratus
Aug 20, 2015SNAT Pool selection Irule
I've had an odd request through an F5 which might or might not be possible. Its a tricky scenario so bare with me. We have 2 large WAN circuits, one in use, 1 as backup from different providers. They...
Stanislas_Piro2
Cumulonimbus
Aug 20, 2015Hi,
the irule seams good but a elseif is better than a second if, and "if" is in lower case.
when LB_SELECTED {
if { [IP::addr [LB::server addr] equals 10.0.0.2] }{
snatpool test1
} elseif { [IP::addr [LB::server addr] equals 10.0.0.3] }{
snatpool test2
}
}
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