Forum Discussion
Eric_Van_Tol_10
Nimbostratus
Oct 10, 2005Selective SNAT rule
Hi all,
I am new to iRules and just implemented my first one today to resolve a problem we've been seeing with NAT. However, I need to create another one and I need to know the correct syntax to...
unRuleY_95363
Oct 11, 2005Historic F5 Account
Ok, you should try the negative logic (ie - don't select a snat until the LB_SELECTED event and then to a reselect). There could be a bug in the reselect logic for disabling the snat.
You don't need to worry about the loop until you move to 9.2. You would basically add something like this:
when LB_SELECTED {
if { not [info exists already_reselected] } {
put the logic for the first time here. eg - code from above
set already_reselected 1
}
}
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
