Forum Discussion

Billy_Tolcher_1's avatar
Billy_Tolcher_1
Icon for Nimbostratus rankNimbostratus
Oct 17, 2005

isnat 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

2 Replies

No RepliesBe the first to reply