Forum Discussion
Can we swapped VIPs ip addresses in F5 ?
- Feb 22, 2019
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.
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.
- Bunty_384462Feb 22, 2019Nimbostratus
Thanks for this information and your prompt reply AceDawg. But in my case how we can swap VIPs ip addresses in case we want to do the same. Kindly suggest.thx
- AceDawg_204810Feb 22, 2019Cirrus
Since you can't have two virtual servers with the same VIP and port, I would:
- Configure virtual server A with a fake IP address
- Configure virtual server B with the VIP address from virtual server A
- Configure virtual server A with the VIP address from virtual server
Let me know if this does/doesn't address your issue or if I'm misunderstanding.
- Bunty_384462Feb 22, 2019Nimbostratus
Thanks AceDawg ,even my understanding was the same like we need to use dummy ip to get this done. Thanks for your support. Cheers
- AceDawg_204810Feb 22, 2019Cirrus
If you agree with the approach, feel free to up vote or "Accept" the response.
Recent Discussions
Related Content
* 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