02-17-2016 08:17 AM - edited 03-05-2019 03:21 AM
I have a question about policy based routing. To preface my question, I want to give a small overview of our setup.
We have a campus spread over a 5 mile area, where we have 5 sites. Site A, B, C, D, and E. Site A is our main data center. We have two internet egress points out of Site A, Provider 1 and Provider 2. The other four sites connect back to site A over fiber, using L3 addressing for the links. Each site has its own /20, broken down to multiple VLAN's. Their default routes point back to our Site A. What I'd like to do is point a specific VLAN(let's say VLAN 100 for each site), to only go out through Provider 2 while all other VLAN's go out through Provider 1 circuit. I understand how to build the PBR, but my question is, where do I apply the PBR? Would it be on each L3 link at the core switch where all the L3 fiber terminates at Site A? Thanks in advance for your help.
Solved! Go to Solution.
02-17-2016 09:54 PM
The PBR needs to be applied at the place where the egress is happening (towards the two providers), because you have to set the "next hop". Only the egress device has access to the next hops.
Can the egress device see the original subnet addressing, or tell the subnets apart? If the egress device is after firewall(s) so that the source is hidden, then you may need to configure the firewalls to NAT those subnets into a magic unique IP address that PBR can then match on. It may also be possible to QoS mark the traffic, and then use PBR to match the QoS markings.
02-17-2016 09:54 PM
The PBR needs to be applied at the place where the egress is happening (towards the two providers), because you have to set the "next hop". Only the egress device has access to the next hops.
Can the egress device see the original subnet addressing, or tell the subnets apart? If the egress device is after firewall(s) so that the source is hidden, then you may need to configure the firewalls to NAT those subnets into a magic unique IP address that PBR can then match on. It may also be possible to QoS mark the traffic, and then use PBR to match the QoS markings.
05-07-2018 11:42 PM
Can the PBR be applied based on source and destination pair ACL,
say for example users on the network 10.10.10.0/24 are trying to access 8.8.8.8 then can they be directed to specific ISP based on PBR
Thanks
Dheeraj
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