Forum Discussion
How to mirror SNAT when using an iRUle with "snat automap"
I have configured the following iRule which will SNAT only when the source and destination subnet are the same. It works fine, but I can't figure out how to enable connection mirroring on a SNAT when it is called out in an iRule.
when LB_SELECTED { if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} { snat automap }}
Thanks.
2 Replies
- The_Bhattman
Nimbostratus
Hi SW,
Are you talking about connection mirroring on the VIP and having it on/off based on an iRule?
- nitass
Employee
but I can't figure out how to enable connection mirroring on a SNAT when it is called out in an iRule.
i understand you just need to enable connection mirroring for virtual server (since snat is applied to traffic for virtual server).
connection mirroring for snat in sol13478 could be applied to snat list configuration.
sol13478: Overview of connection and persistence mirroring (11.x)
http://support.f5.com/kb/en-us/solutions/public/13000/400/sol13478.html
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