Forum Discussion
Billy_Tolcher_1
Nimbostratus
Oct 17, 2005isnat configuration - versiion 4.5
please assist -
===============
I have found a lot of information on isnat configurations with 9.0, but there isn't much mention of 4.5 rules anymore.
===============
Architecture:
The BIG-IP is deployed in a multi-arm configuration with 3 arms: vlan 1 external, vlan 2 internal, and vlan 3 ancillary. Traffic originates on both vlan 1 and vlan 2, and server nodes are on vlan 2 and vlan 3.
In the instance where traffic originates on vlan 2 and the server nodes on on vlan 2, I need to have a SNAT configured to translate the address (standard single arm configuration).
Requirements -
Functional on version 4.5 10.
SNAT automap is disabled.
Only traffic passing through the specified virtual server uses the SNAT.
Solution (?) -
The rule that I currently use is below:
if (http_uri contains "server=1") {
use pool 1_pool
}
else if (http_uri contains "server=2") {
use pool 2_pool
}
else if (http_uri contains "server=3") {
use pool 3_pool
}
else {
use pool hr_pool
}
Will this work?
if (http_uri contains "server=1") {
snat 1.2.3.4
use pool 1_pool
}
else if (http_uri contains "server=2") {
use pool 2_pool
}
else if (http_uri contains "server=3") {
use pool 3_pool
}
else {
use pool hr_pool
}
Any assistance is greatly appreciated.
BT
- Martin_MachacekHistoric F5 AccountBilly,
snat map { to vlans vlan1 vlan3 disable } snat netmask
snatpool snat_on_vlan2 { member 1.2.3.4 } if (http_uri contains "server=1") { use pool 1_pool use snatpool snat_on_vlan2 } else if (http_uri contains "server=2") { use pool 2_pool } else if (http_uri contains "server=3") { use pool 3_pool } else { use pool hr_pool }
snat translation 1.2.3.4
- Billy_Tolcher_1
Nimbostratus
Sorry for the confusion in my earlier post. I do want to tie the snat to the rule, and I do want to use it based on the source address!
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