Skip to main content
The Aviatrix Platform allows Azure Route Server (ARS) integration for on-premises connectivity using Azure ExpressRoute with no overlay. Azure Route Server is a managed service with high availability. It provides a mechanism for exchanging routes between Azure Software Defined Networking (SDN) and Network Virtual Appliances (NVAs) dynamically through Border Gateway Protocol (BGP). You can achieve full-mesh high availability by running two BGP peering endpoints. Aviatrix integrates with Azure Route Server by treating the Azure Route Server as a BGP over LAN peer and exchanging routes using BGP. This enables Azure cloud networks to connect to on-premise or branch locations and provides connectivity across hybrid environments. Customers who use high-speed Azure ExpressRoute connectivity with no encryption for hybrid environments can exchange routes between the Aviatrix Transit Gateways and the on-premise network connected via ExpressRoute. This solution provides you with an enterprise-grade transit network. The diagram below shows Azure Route Server integration with Aviatrix Transit Gateways. Full mesh is enabled so that both Transit Gateways peer with the two Azure Route Server IP endpoints in the Azure Route Server. Azure Route Server integration with Aviatrix Transit Gateways showing full mesh peering This document provides instructions on how to build an Aviatrix Transit Gateway to External Device (Azure Route Server) using BGP over LAN in Azure.
Currently, we only support 1 integration with either Azure Route Server or vWAN Edge in a Transit Gateway when using BGP over LAN. So only 1 BGP over LAN External with ActiveMesh connection is supported per gateway.
  1. Perform the prerequisite steps.
  2. Configure the VNet Peering Between Transit and Azure Route Server VNets.
  3. Configure the BGP peering Between Azure Route Server and Transit Gateways.
  4. Configure the BGP over LAN External Connection to Azure Route Server.

Prerequisites

Ensure the following prerequisites are met:
  • The Aviatrix Controller is updated to software version 6.8 or above.
  • Aviatrix Transit Gateways are deployed with High Performance Encryption (HPE) and with BGP over LAN enabled. You only need to configure one BGP over LAN interface to peer with both Azure Route Server instances. Transit Gateway HPE mode with BGP over LAN enabled
  • A BGP ASN is assigned to the Transit Gateways (configure by going to CoPilot > Cloud Fabric > Gateways > Transit Gateways tab, select the Transit Gateway and go to Settings > Border Gateway Protocol (BGP) > Local AS Number).
  • Complete the following tasks in Azure:
    1. Create a VNet to deploy the Azure Route Server.
    2. Deploy the Azure Route Server in this VNet by referring to the applicable Azure documentation.
    3. Go to your Route Server > Overview and record the ASN and the private IP addresses of the Azure Route Server endpoints you created. You will use these later in the Aviatrix CoPilot configuration. Azure Route Server ASN and private IP addresses

Configure the VNet Peering Between Transit and Azure Route Server VNets

You need to configure the VNet peering between the VNet that is hosting the Azure Route Server and the Aviatrix Transit VNet. Follow these steps to configure the peering parameters from the Azure Route Server VNet to the Aviatrix Transit VNet.
If you are using Terraform, make sure to explicitly set the argument “allow_forwarded_traffic” to “True” for both VNet peerings.
  1. Launch the Azure Portal.
  2. Go to Virtual networks and select your Route Server VNet.
    1. Under Settings, click Peerings.
    2. On the Peerings page, click Add.
    3. On the Add peering page, select the following options: Add peering configuration options
  3. Click Add.

Configure the BGP peering Between Azure Route Server and Transit Gateways

  1. In Aviatrix CoPilot, go to Cloud Fabric > Gateways, select your primary Transit Gateway and click Gateway Diagnostics. Then, click Interface Stats and record the IP address assigned to the BGP over LAN interface. Repeat this step for the HA Transit Gateway. Primary Transit Gateway interface information HA Transit Gateway interface information
  2. In your Azure portal, go to Route Servers > select your Azure Route Server > Peers, and click Add.
  3. Configure the Azure Route Server peering to both remote Aviatrix Transit Gateways in the Transit VNet by specifying the ASN you configured for your Aviatrix Transit Gateways and the IP address of the BGP over LAN network interface on each Transit Gateway. Refer to the Prerequisites section to find the ASN number. Azure Route Server peers configuration
  4. Go to Route Servers > select your Azure Route Server > Configuration.
  5. Next to Branch-to-branch, select Enabled. This option allows the Azure Virtual Network Gateways to propagate the routes the Azure Route Server has learned from the Aviatrix Transit Gateways. It is disabled by default. Enable branch-to-branch on Azure Route Server

Configure the BGP over LAN External Connection to Azure Route Server

In Aviatrix CoPilot:
  1. Go to Networking > Connectivity > External Connections (S2C) tab.
  2. Click + External Connection.
  3. Provide the following information.
  4. Click + Connection to add a new connection.
  5. Click Save.

Verifying the LAN Connection Status

You can check the tunnel status by going to Diagnostics > Cloud Routes > External Connections. Confirm that Tunnel Status is Up and that HA Status (Activemesh for the Route Servers) and BGP Status is enabled. LAN tunnel status showing Up status

Verifying the BGP Session Status

You can check the BGP session status by going to Diagnostics > Cloud Routes > BGP Info. The Status should be Established. If some external connections for the selected Transit Gateway are Not Established, the overall BGP Status for the Transit Gateway is Partially Established. BGP session status showing Established You can also check the BGP Learned and Advertised routes. CoPilot BGP info showing learned and advertised routes