01-14-2017 07:04 PM - edited 03-07-2019 12:20 AM
Hello,
I am looking for some suggestions for PBR / failover between multiple sites running Cisco and Juniper.
I have three site A, B and C
I have attached a diagram showing how the sites are interconnected.
* All three sites running OSPF internally. I would like to achieve the following:
1. When both MPLS and P2P link are up:
Subnet a1 to subnet b1 (vis versa) will be routed through P2P Link
Subnet a2 and a3 will be routed through MPLS when contacting b2 and b3
Site C will reach Site A and B through MPLS
2. When MPLS at Site A is down and P2P Link is up:
all traffic from site A to B (vis versa) will go through P2PLink.
Traffic from C to A will be routed through Site B and P2P Link
Any suggestions would be very helpful.
01-14-2017 09:49 PM
Hi,
To achieve this its easier if you just use static route instead if OSPF. This way, you can control what link to use for each subnet.
HTH
01-19-2017 07:00 AM
Reza,
Static route will not work as we want some sort of automatic failover when one link goes down.
01-15-2017 02:55 PM
This is job for BGP, if it's possible to run it on your devices/via MPLS cloud.
01-19-2017 07:00 AM
I do agree that BGP is more flexible when doing load balancing, but it s not an option for now.
01-15-2017 11:45 PM
Hello
Are you MPLS are you using -L2 or L3 ?
1) On the P2P links advertise them also in ospf (same area) but give them each an higher ospf interface cost
2) On site A and B -create local ACl for each subnet and route-map (cisco) Policy (juniper) set the nexthop towards the P2P links interfaces
3) apply some tracking (cisco)/probing(juniper) of the next-hop reachability in case the P2P links go down then you wont get any blacking holing of the PBR subnets
One this is done, these subnets should then Policy route over the P2P link between each other and all other traffic should traverse the MPLS
When the failure is incurred on either the Site A MPLS or the P2P, links, All its networks would still be accessible.
res
Paul
01-19-2017 06:59 AM
Hello Paul
Sorry for late response.
Our MPLS is L3.
I was able to do step 1 and 2 but having some issues with step3 on Juniper. I am able to create FBF that routes traffic accordingly, but have an issue with failover when the mpls goes down. Do you have any example for Juniper EX switch. Most examples I saw have to do with SRX which supports more RPM features than EX.
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