I have wondered about the same.
I found this EVPN both ways from EVPN AF to OSPF and from OSPF to EVPN AF redistribution a little hard to get.
Or in my setup EVPN AF to eBGP redistribution of some subnets, and a default route back.
Thanks for the Campus VSG setup for this.
------------------------------
Ole Morten Kårbø
ACEA ACSP
Netnordic Norway
------------------------------
Original Message:
Sent: Oct 13, 2023 04:07 AM
From: vincent.giles
Subject: OSPF over VXLAN for external firewall connection
OSPF control-plane to interconnect EVPN-VXLAN fabric to upstream firewall is perfectly valid and supported.
Aruba VSG you'll find only an example of eBGP for DCN:
https://www.arubanetworks.com/techdocs/VSG/docs/050-dc-deploy/esp-dc-deploy-120-fabric-deploy/#configure-border-leaf-external-bgp-peerings

For OSPF, please see on the Campus VSG:
Distributed Overlay Configuration
| Validated Solution Guide | remove preview |
| | Distributed Overlay Configuration | | The Distributed Overlay Configuration section describes the procedures used to configure an EVPN-VXLAN network using the Aruba Central NetConductor workflows. Topics covered include underlay configuration, group base configuration, loopback configuration, loopback interface configuration, transit VLAN and OSPF configuration, role-based policy configuration, wireless integration over static VXLAN configuration, fabric deployment, fabric segment configuration, and border connectivity configuration. | | View this on Validated Solution Guide > |
|
|
https://www.arubanetworks.com/techdocs/VSG/docs/020-campus-deploy/esp-campus-deploy-153-distributed-overlay/#configure-external-connectivity
The OSPF configuration main aspects are:
- use a dedicated OSPFv2/v3 process per "tenant" VRF. Each border can be in area 0 in each of these OSPF process
- have a transit VLAN and associated SVI per VRF to peer with FW in each VRF (transit VLAN shared between VSX primary, secondary and FW)
- redistribute BGP IPv4/IPv6 AF for each VRF into OSPFv2/v3 process per VRF
- redistribute OSPFv2/v3 into BGP IPv4/v6 AF or alternatively, if you just need the default-route, use a static default route redistributed in BGP IPv4/v6.