snatpool vs snat

Hi, I have a problem when specifying the snat before passing traffic to another virtual server.

The version using is 9.4.7

As below, I found that option 1 doesn’t work, the source address remains unchanged, but option 2 works fine. Is it a normal behavior?

Thanks.

snatpool snatpool_10.10.10.10 {

members 10.10.10.10

}

rule iRule_1 {

when CLIENT_ACCEPTED {

snatpool snatpool_10.10.10.10 option 1

snat 10.10.10.10 option 2

virtual vs_2

}

}

Really dumb question, but… do you have a SNAT address in the SNAT pool? If you use the snatpool command and a standard pool (instead of the virtual command) does it work?

I’d expect snatpool to work with the virtual command. If it’s not, I’d suggest opening a case with F5.

Also, in your scenario, could you use SNAT on vs_2 instead?

Aaron