Forum Discussion
snat pool persistence irule help
https://devcentral.f5.com/wiki/irules.snat_pool_persistence.ashx
works great until the F5 is rebooted. Then all SNAT breaks with tons of logs: Apr 17 11:35:35 bip2 err tmm2[9515]: 01220001:3: TCL error: /Common/snat-external - can't read "static::array_size": no such variable while executing "expr {[crc32 [IP::client_addr]] % $static::array_size}"
fix was to panic, try to calm down, and then add or remove a comment in the irule to force static::array_size to be recalculated.
Would this be expected behavior? Would there be a fix for the irule to do this automatically?
1 Reply
- Cory_50405
Noctilucent
We have some errors with iRules as well after a system reboot. It seems that things don't load in the proper order or something, I haven't quite figured it out. Once the device is fully booted though, a configuration reload should fix the issue. Just do a 'tmsh load sys config' from CLI and see if that fixes your issue.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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