Deploying F5 Distributed Cloud (XC) Services in Cisco ACI - Layer Two Attached Deployment

Introduction

F5 Distributed Cloud (XC) Services are SaaS-based security, networking, and application management services that can be deployed across multi-cloud, on-premises, and edge locations.  This article will show you how you can deploy F5 Distributed Cloud’s Customer Edge (CE) site in Cisco Application Centric Infrastructure (ACI) so that you can securely connect your application and distribute the application workloads in a Hybrid Multi-Cloud environment.

F5 XC Layer Two Attached CE in Cisco ACI

Besides Layer Three Attached deployment option, which we discussed in another article, a F5 Distributed Cloud Customer Edge (CE) site can also be deployed with Layer Two Attached in Cisco ACI environment using an ACI Endpoint of an Endpoint Group (EPG).  As a reminder, Layer Two Attached is one of the deployment models to get traffic to/from a F5 Distributed Cloud CE site, where the CE can be a single node or a three-nodes cluster.  F5 Distributed Cloud supports Virtual Router Redundancy Protocol (VRRP) for virtual IP (VIP) advertisement.  When VRRP is enabled for VIPs advertisement, there is a VRRP Master for each of the VIPs and the VRRP Master for each of the VIPs can possibly be distributed across the CE nodes within the cluster.  In this article, we will look at how we can deploy a Layer Two Attached CE site in Cisco ACI.

F5 XC VRRP Support for VIPs Advertisement

F5 XC Secure Mesh Sites are specifically engineered for non-cloud CE deployments, which support additional configurations that are not available using Fleet or regular Site management functionalities such as VRRP for VIPs advertisement.  We recommend Secure Mesh Sites for non-cloud CE deployment and specifically, in Layer Two Attached CE deployment model, we recommend deploying CE site as a Secure Mesh Site to take advantage of the VRRPs support for VIPs advertisement.

With VRRP enabled for VIPs advertisement, one of the CE nodes within the cluster will become the VRRP Master for a VIP and starts sending gratuitous ARPs (GARPS) while the rest of the CE nodes will become the VRRP Backup.  Please note that in CE software, VRRP virtual MAC is not used for the VIP.  Instead, the CE node, which is the VRRP Master for the VIP uses its physical MAC address in ARP responses for the VIP.  When a failover happens, a VRRP Backup CE will become the new VRRP Master for the VIP and starts sending GARPs to update the ARP table of the devices in the broadcast domain.  As of today, there isn't a way to configure the VRRP priority and the VRRP Master assignment is at random.  Thus, if there are multiple VIPs, it is possible that a CE node within the cluster can be the VRRP Master for one or more VIPs, or none.

F5 XC Layer Two Attached CE in ACI Example

In this section, we will use an example to show you how to successfully deploy a Layer Two Attached CE site in Cisco ACI fabric so that you can securely connect your application and distribute the application workloads in a Hybrid Multi-Cloud environment.

Topology

In our example, CE is a three nodes cluster (Master-0, Master-1 and Master-2) which connects to the ACI fabric using an endpoint of an EPG named external-epg:

Example reference - ACI EPG external-epg endpoints table:

HTTP load balancer site2-secure-mesh-cluster-app has a Custom VIP of 172.18.188.201/32 epg-xc.f5-demo.com with workloads 10.131.111.66 and 10.131.111.77 in the cloud (Azure) and it advertises the VIP to the CE site:

F5 XC Configuration of VRRP for VIPs Advertisement

To enable VRRP for VIPs advertisement, go to "Multi-Cloud Network Connect" -> "Manage" -> "Site Management" -> "Secure Mesh Sites" -> "Manage Configuration" from the selected Secure Mesh Site:

Next, go to "Network Configuration" and select "Custom Network Configuration" to get to "Advanced Configuration" and make sure "Enable VRRP for VIP(s)" is selected for VIP Advertisement Mode:

Validation

We can now securely connect to our application:

Note from above, after F5 XC is deployed in Cisco ACI, we also use F5 XC DNS as our primary nameserver:

To check the requests on the F5 XC Console, go to "Multi-Cloud App Connect" -> "Overview: Applications" to bring out our HTTP load balancer, then go to "Performance Monitoring" -> "Requests":
*Note: Make sure you are in the right namespace.

As a reminder, VRRP for VIPs advertisement is enabled in our example.  From the request shown above, we can see that CE node Master-2 is currently the VRRP Master for VIP 172.18.188.201 and if we go to the APIC, we can see the VIP is learned in the ACI endpoint table for EPG external-epg too:

Example reference - a sniffer capture of GARP from CE node Master-2 for VIP 172.18.188.201:

Summary

A F5 Distributed Cloud Customer Edge (CE) site can be deployed with Layer Two Attached deployment model in Cisco ACI environment using an ACI Endpoint of an Endpoint Group (EPG).  Layer Two Attached deployment model can be more desirable and easier for CE deployment when compared to Layer Three Attached.  It is because Layer Two Attached does not require layer three/routing which means one less layer to take care of and it also brings the applications closer to the edge.  With F5 Distributed Cloud Customer Edge (CE) site deployment, you can securely connect your on-premises to the cloud quickly and efficiently.

Next

Check out this video for some examples of Layer Two Attached CE use cases in Cisco ACI:

Related Resources

*On-Demand Webinar* Deploying F5 Distributed Cloud Services in Cisco ACI

F5 Distributed Cloud (XC) Global Applications Load Balancing in Cisco ACI

Deploying F5 Distributed Cloud (XC) Services in Cisco ACI - Layer Three Attached Deployment

Customer Edge Site - Deployment & Routing Options

Cisco ACI Endpoint Learning White Paper

Updated Aug 15, 2024
Version 3.0
No CommentsBe the first to comment