We have an EVPN VXLAN setup where our top of Rack switches are 2x8325 in a VSX pair.
We have A Paloalto Firewall cluster that is Active/Passive. Both firewalls are connected to one VSX pair. Now to gain some redundancy we'd like to move one of the FW's to another rack.
At this point we have the FW's connected trough LACP. The firewall has tagged sub-interfaces and the switches have vlan interfaces. We use a /29 subnet where the firewall has 1 address on the tagged sub interface and the switches both have an address in their vlan interface. Routes are exchanged trough eBGP. The firewall load balances the traffic using ECMP and we have active-forwarding in the VSX pair to prevent unneccesary ISL traffic.
When I configure this on a second rack for the standby firewall I wonder how the failover would work. The same vlan can off course be added to a second VSX pair and there is room to provide those two extra switches with an IP adres as well. But do I need to have 4 BGP sessions to all firewalls? (probably yes) And how do I ensure that the traffic is routed by the directly connected switch? Active forwarding does not work between two diferent VSX stacks I'm sure.
I could do a setup where I have 4 BGP sessions and use local preff to have preference to the first rack. This would work well in de 'normal' situation but in a failover situation it would lead to suboptimal routing until I manually fix the preferences.
So I came up with the following and hope to get some other people's insights on this aproach.
Stretch the Vlan trought the eVPN. Remove the active forwarding and add an active gateway. Adjust the next hop for all routes advertised by the siwtches to the firewall, to the active gateway adres using a route-map in the BGP export. There are still 4 BGP sessions, but they all use the same next hop. A firewall failover using gracefull restart should be as fast as the MAC learning over eVPN.
Is this a viable aproach or is there a beter way to design this?
------------------------------
Jelmer Hartman
------------------------------