Forum Discussion
Glenn_32974
Nimbostratus
Sep 17, 2010Direct traffic to proper pool after being snat'd!
Hello
I have written the following Irule (basic one) with the intention to direct traffic to a proper pool after it has been snat'd on the way out
I need to have host 10.44.17.30 get sn...
Chris_Miller
Altostratus
Sep 20, 2010I'd do the following:
1. Define snat pool that contains address 201.234.x.y, let's call it "snatpool_201"
2. Define snat pool that contains address 190.216.x.y, let's call it "snatpool_190"
3. Create pool that contains gateway for "201.234.x.y and 190.216.x.y"
4. Create Virtual Server with the above as default pool.
Use a rule like this:
when LB_SELECTED {
if { [LB::server addr] eq 190.216.x.y } {
snatpool snatpool_190
} elseif { [LB::server addr] eq 201.234.x.y } {
snatpool snatpool_201 } }
That should compile...let me know if it doesn't.
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
