Please see the scenario is attached diagram.
I want that when the connection between firwall and internet goes down, traffic seemlessly flow towards the CE and then via BGP to the other side SiteB
Also when the MPLS circuit goes down, traffic seemless flow toward firewall and then via site to site tunnel to the other side SiteB
How we can achieve this?
we have no access to the SiteA-Core router.
CE has default route to the SiteA-Core router.
solution1: shall we create a OSPF between the CE and the firewall and SLA monitor the interfaces towards SiteB, but I don't know how we can achieve this.
Any advise is much appreciated. If you can show the OSPF scripts for this failover, it will me very helpful
So if I got you correctly, in case the both links (via FW and through CPE) are up, you want to load balance the traffic via both paths towards the site B?
Because you have mentioned only scenarios when one link fails, not which path should be selected in case both are up.