Forum Discussion
Logan_Ramirez_5
Dec 08, 2005Nimbostratus
conditional SNAT
We have a relatively simple environment: two data centers, one web server in each, one bigip in each. Basic pool in each office for web servers consists of (a) local web server and (b) other data cen...
Logan_Ramirez_5
Dec 08, 2005Nimbostratus
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!!
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