Can we swapped VIPs ip addresses in F5 ?
Hello All, I just would like to know can we swapped the VIPs ip address ?
For example
1.1.1.1 --> pool ---> servers(old) 2.2.2.2 ---> pool ---> servers (new)
I want to swap these two VIPs ip addresses with the same port. Can I do it ? Or F5 will give some warning when I will be doing the same like we can not have VIPs with same ip and same port ? Kindly suggest Thanks.
If I'm understanding your question correctly, you cannot have two VIPs with the same IP address and port. There is a precedence that the F5 uses when accepting network traffic:
- Existing session in session table
- Packet Filter
- Virtual Server (https://support.f5.com/csp/article/K14800)
- SNAT
- NAT
- Self-IP
- Deny
The third item on this list->Virtual Server has a precedence as well: https://support.f5.com/csp/article/K14800. That precedence would not allow two virtual servers to share the same IP address and port.