Forum Discussion
Intelligent SNAT Pool
- Dec 05, 2014
Below is the iRule considering you already have x no of DataGroups already with required Client IP address
when CLIENT_ACCEPTED { if { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP1 } elseif { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP2 } if nothing matches use snat IP configured in virtual server }
Below is the iRule considering you already have x no of DataGroups already with required Client IP address
when CLIENT_ACCEPTED { if { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP1 } elseif { [ class match [IP::client_addr] equals DataGroup1 ] } { snat snatIP2 } if nothing matches use snat IP configured in virtual server }
- BJL_01_139818Dec 09, 2014NimbostratusHi Syed Thank for the answer. Is it possible to do it in a way, where it will not be so code intensive? I have ALOT of source addresses that will have to be SNAT'ed, so my worry is that the code will be pretty unmanageable. Best regards Brian
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