09-25-2022 09:34 PM
Can anyone help me with the PBR configurations in ACI without using L4-L7
09-25-2022 10:23 PM
Hi @losharm
You can't do PBR without service graphs. You can however use VRF sandwitch + L3Outs, to force traffic through your L4L7 device, but that is not PBR.
Take care,
Sergiu
09-25-2022 10:30 PM
Hi @losharm ,
What exactly are you trying to do with PBR?
In the ACI sense, PBR intercepts traffic flowing through a contract, and if it matches your criteria for redirection, places the MAC address of the target device (typically a FW or load balancer) in the DA of the frame, and sends it on a path towards the target device. That's the short story anyway.
Now, if you have other - non L4-7 reason for wanting to do this, there may be some scope, but without knowing exactly what you are trying to achieve, it is impossible to answer.
09-26-2022 02:55 AM
Hi RedNectar,
Can you please share with me the exact procedure to achieve the below scenario?
Host A from DC-1 want to communicate with Host B in DC-2 but it needs to pass from a specific gateway. Just like we do in the traditional networking. Device forward the packet based on the policy configured with looking in the routing table. Means wants to redirect some of the traffic.......
Response Awaited
Thank You
09-26-2022 02:24 PM
Hi @losharm ,
Sounds like you want to make a simple "VRF Sandwich" as @Sergiu.Daniluk suggested.
Here is one of MANY possible "exact procedures" - for simplicity I've enable preferred groups to avoid having to create contracts.
09-26-2022 10:28 PM
In the above scenario, every traffic is going via L3out-1 where the default route is given and using next hop 20.1 but the condition is if SIP- 10.10.10.10 and DIP is 14.14.14.14 then the next hop should be 30.1 and traffic pass via L3out-2 instead of L3out-1. How can we achieve this via ACI? Please explain.....
09-27-2022 02:59 AM
Hi @losharm ,
I assume that the route to 14.14.14.14 is already being advertised by R2 (or you have a static route)
So all you need to do is add a L3EPG to the L3Out with a subnet of 14.14.14.14/32, then add a contract between the EPG with the 10.10.10.10 endpoint and the L3EPG.
Also remember that L3Outs are configured on a Leaf switch - unlike EPGs which are configured as a model and pushed to leaves when required. Might seem like a small difference, but it is important when it comes to interpreting how routes are learned from outside.
Now, IF there are other endpoints in the same EPG as 10.10.10.10 that should NOT have access to 14.14.14.14, then you will have to move 10.10.10.10 to a NEW EPG liked to the same BD (where 10.10.10.1 lives). This will also mean changing the VLAN (or portgroup) that 10.10.10.10 currently uses. And if you want 10.10.10.10 to communicate freely with all the other endpoints in the OLD EPG, then create a contract between the OLD and the NEW EPGs
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