I'm working on one of the installation where the requirement is that VS - e.g 10.10.10.X and pool members are in same subnet 10.10.10.X whereas F5 Self IPs will be in different subnet e.g 10.10.20.X and would like to understand how the routing will work for traffic hitting to VS (We need switch/router to point the route to F5 self IP e.g 10.10.20.1 for the subnet 10.10.10.X ) and from VS to pool members and return traffic from pool members to client.
Can someone help?
Will F5 be the router for the 10.10.10.0/24 network? Will it provide the default gateway for the servers?
If this is the case then traffic hitting the VS will be sent on to the server without going by the switch-router. No significant difference compared to a setup with the gateway on a switch-router. The benefit of having the default gateway on F5 is that you don't have to snat the client requests. Instead of using automap or snat pool you can use the original client IP. This is very useful for loadbalancing radius requests.
F5 will not be router for 10.10.10.0/24 network as it will be on switch and pool members(servers) gateway will be switch so we need to use SNAT. I am still not clear on how the routing/switching or traffic will flow.
I seriously hope that SanjayP's answer works foryou, because I can't recommend what I'm about to reply. Absolutely avoid the following if possible. It will only give you a headache.
I've had to resolve a similar problem previously on a competing platform. It wasn't the same though. My VS was in a different subnet, I just had to SNAT to a subnet that would route differently that standard.
In my view, following should work -
I would suggest to go with option#2 as a recommended way of having selfIP in the VIP network