06-10-2024 09:24 PM
Hello Guys.
Is it possible to redirect traffic (using a PBR or any other way) to one IP in ACI?
The case is like this:
There is an F5 balancing a service to a cluster of servers. The thing is that when the traffic needs to return, the servers that are part of the load balancing cluster, have ACI as default gateway, and instead of returning to F5, they go to ACI cause destination is on another subnet and traffic can´t return to F5.
So, I was wondering if PBR would work here, but I was reading and looks like to use PBR, they need to be in different EPGs and also seems to be for L4-L7 reasons, so Im not sure PBR would work here.
F5 and the servers are on the same EPG and ACI is as network centric, so they are part of the same vlan, hence same EPG, same BD.
Is there a way to redirect the traffic to F5 from ACI?
06-10-2024 10:17 PM
have ACI as default gateway
is there any possibility to change source and destination towards F5 before hitting ACI where the traffic coming from ?
PBR possible, but sure you understand and test it :
some reference how that work in ACI PBR :
https://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2023/pdf/BRKDCN-3982.pdf
06-10-2024 11:31 PM
Hi @Fernando Hernández ,
With the design you describe, the best way would be to enable Source NAT on the F5 Virtual Server, so the servers respond to the F5 instead of the Clients.
Regards
06-17-2024 11:26 AM
Yes, it is possible to redirect traffic to a specific IP address in Cisco ACI using Policy-Based Redirect (PBR). Here's how you can achieve this:
You have an F5 load balancer handling traffic to a cluster of servers. When traffic returns from the servers, it bypasses the F5 and goes directly to ACI because the servers use ACI as their default gateway. You need to redirect this returning traffic back to the F5.
PBR can be configured to redirect traffic based on policies, which allows you to specify that traffic returning from the servers should be sent back to the F5.
Create a Service Graph:
Define a Device Selection Policy:
Configure PBR Policies:
Apply the PBR Policy:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide