MPLS and Internet on Active Passive Cluster
Hello All,
I have an interesting requirement wherein we are planning for 7 or 8 mid size FGTs. Two of these will be at headquarters which will have 2 Internet circuits (same ISP) and two MPLS circuits (again same provider). Most remote sites will not have any firewall, just a simple VLAN Layer 2 switch with one MPLS router from SP, which will act as gateway for the site VLANs.
SP will run BGP over MPLS and we can run BGP at headquarter firewalls with the two MPLS routers. The requirement is for the remote sites to send Internet bound traffic so that it arrives at main site over one MPLS router and all other (to main site subnets) to use second MPLS router.
I can announce default route from the firewall cluster to the two MPLS router via BGP and based on this default in the routing table, the MPLS routers can then further advertize default route (MPLS1 will push prefix 0.0.0.0, MPLS2 with as path prepend to make it backup, should MPLS1 go down).
Similarly I need to advertize private prefixes to MPLS2 as preferred and to MPLS1 as backup, maybe using MED etc on the FGTs.
This will make the other sites MPLS routers to send Internet bound traffic thru MPLS1 router at main site and all other thru MPLS2 router there.
I am not sure as to how to channel the returning traffic back out the same path as it came in as the routes leaned by the two firewalls in cluster will be same prefixes from both MPLS routers, so they could send the traffic either way.
Is there a way to route-map such that if traffic is between the private source to private destination, then next hop is MPLS2 and else MPLS1? Further if MPLS1 or two is down, then all traffic should go thru the single available MPLS.
if need be, I can consider both firewalls to be independent and run BGP with one MPLS router each. And then suitably some HA or health monitoring between the two firewalls to check if the second firewall interface is down (IPSLA / link monitoring shutting down LAN interface, thus blocking any routes from that firewall to the MPLS, for then routes form the second firewall will be used for both default and private prefixes.
Thanks