Indeed, that search tool is very useful and I have been doing some excellent reading, many posts by yourself (Colin), however, I suppose I left off some data:
Client are accessing a VIP of 192.168.199.100, however, the servers themselves are 192.168.197.100 (local) and 192.168.198.100 (remote behind BIGIP in other DC).
So all requests are going to the VIP and I need to make a SNAT decision (using the interface on the BIGIP as the Source-NAT'ed address) based on whether it's going to the local 197 server or the remote 198 one.
What about
when LB_SELECTED {
if { [IP::addr [IP::remote_addr] equals "192.168.198.100"] } {
snat automap
}
}
we are on 9.1
Thank you!!