SNAT Issue with two virtual servers
I’m having an issue wrapping my head around setting up SNAT. I think SNAT is what I need.
Here is my setup
192.168.103.125 – ip of server hosting IIS site www.siteA.com
192.168.103.1 Default Gateway on server A which is the F5
192.168.100.141 – ip of Virtual server in F5 for siteA
192.168.103.211 – ip of server hosting IIS site www.siteB.com
192.168.103.1 Default Gateway on server B which is the F5
192.168.100.140 – ip of Virtual server in F5 for site B
If I try to browse to www.siteB.com from site A server. It won’t work If I try to browse to www.siteA.com from site B server. It won’t work
The only way I can get it to work is to create a static route like this to force the destination server to route any traffic back to the source to use to VIP.
On server B, I make a route – (route add 192.168.103.125 mask 255.255.255.255 192.168.100.141)
If I add the above on server B, I can then browse to www.siteB.com from server A
I read through https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm_configuration_guide_10_0_0/ltm_snat.html1199363 But I’m unsure exactly what to setup.
One other thing to add. For some reason when our F5’s were setup years ago. Any of the webservers use route domain 1. I don’t know if that is part of the problem or not
Appreciate any help.