Proposed Pull Request Change

title description services author ms.service ms.topic ms.date ms.author ms.custom
Link a virtual network to ExpressRoute circuits - Azure portal This article shows you how to create a connection to link a virtual network to Azure ExpressRoute circuits using the Azure portal. expressroute duongau azure-expressroute how-to 03/31/2025 duau sfi-image-nochange
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: 'Link a virtual network to ExpressRoute circuits - Azure portal' description: This article shows you how to create a connection to link a virtual network to Azure ExpressRoute circuits using the Azure portal. services: expressroute author: duongau ms.service: azure-expressroute ms.topic: how-to ms.date: 03/31/2025 ms.author: duau ms.custom: sfi-image-nochange --- # Connect a virtual network to ExpressRoute circuits using the Azure portal > [!div class="op_single_selector"] > * [Azure portal](expressroute-howto-linkvnet-portal-resource-manager.md) > * [PowerShell](expressroute-howto-linkvnet-arm.md) > * [Azure CLI](expressroute-howto-linkvnet-cli.md) > * [PowerShell (classic)](expressroute-howto-linkvnet-classic.md) This article helps you create a connection to link a virtual network to Azure ExpressRoute circuits using the Azure portal. The virtual networks that you connect to your Azure ExpressRoute circuit can either be in the same subscription or part of another subscription. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/gateway-circuit.png" alt-text="Diagram showing a virtual network linked to an ExpressRoute circuit." lightbox="./media/expressroute-howto-linkvnet-portal-resource-manager/gateway-circuit.png"::: ## Prerequisites * Review the [prerequisites](expressroute-prerequisites.md), [routing requirements](expressroute-routing.md), and [workflows](expressroute-workflows.md) before you begin configuration. * You must have an active ExpressRoute circuit. * Follow the instructions to [create an ExpressRoute circuit](expressroute-howto-circuit-portal-resource-manager.md) and have the circuit enabled by your connectivity provider. * Ensure that you have Azure private peering configured for your circuit. See the [Create and modify peering for an ExpressRoute circuit](expressroute-howto-routing-portal-resource-manager.md) article for peering and routing instructions. * Ensure that Azure private peering gets configured and establishes BGP peering between your network and Microsoft for end-to-end connectivity. * Ensure that you have a virtual network and a virtual network gateway created and fully provisioned. Follow the instructions to [create a virtual network gateway for ExpressRoute](expressroute-howto-add-gateway-resource-manager.md). A virtual network gateway for ExpressRoute uses the GatewayType `ExpressRoute`, not VPN. * You can link up to 10 virtual networks to a standard ExpressRoute circuit. All virtual networks must be in the same geopolitical region when using a standard ExpressRoute circuit. * A single virtual network can be linked to up to 16 ExpressRoute circuits. Use the following process to create a new connection object for each ExpressRoute circuit you're connecting to. The ExpressRoute circuits can be in the same subscription, different subscriptions, or a mix of both. * If you enable the ExpressRoute premium add-on, you can link virtual networks outside of the geopolitical region of the ExpressRoute circuit. The premium add-on also allows you to connect more than 10 virtual networks to your ExpressRoute circuit depending on the bandwidth chosen. Check the [FAQ](expressroute-faqs.md) for more details on the premium add-on. * Review guidance for [connectivity between virtual networks over ExpressRoute](virtual-network-connectivity-guidance.md). ## Connect a virtual network to a circuit - same subscription > [!NOTE] > BGP configuration information will not appear if the layer 3 provider configured your peerings. If your circuit is in a provisioned state, you should be able to create connections. ### To create a connection 1. Sign in to the [Azure portal](https://portal.azure.com). 2. Ensure that your ExpressRoute circuit and Azure private peering have been configured successfully. Follow the instructions in [Create an ExpressRoute circuit](expressroute-howto-circuit-arm.md) and [Create and modify peering for an ExpressRoute circuit](expressroute-howto-routing-arm.md). Your ExpressRoute circuit should look like the following image: :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/express-route-circuit.png" alt-text="ExpressRoute circuit screenshot"::: 3. You can now start provisioning a connection to link your virtual network gateway to your ExpressRoute circuit. Select **Connection** > **Add** to open the **Create connection** page. 4. Select the **Connection type** as **ExpressRoute** and then select **Next: Settings >**. 5. Select the resiliency type for your connection. You can choose **Maximum resiliency** or **Standard resiliency**. **Maximum resiliency (Recommended)** - This option provides the highest level of resiliency to your virtual network. It provides two redundant connections from the virtual network gateway to two different ExpressRoute circuits in different ExpressRoute locations. > [!NOTE] > Maximum Resiliency provides maximum protection against location wide outages and connectivity failures in an ExpressRoute location. This option is strongly recommended for all critical and production workloads. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/maximum-resiliency.png" alt-text="Diagram of a virtual network gateway connected to two different ExpressRoute circuits."::: **High resiliency** - This option provides a single redundant connection from the virtual network gateway to a Metro ExpressRoute circuit. Metro circuits provide redundancy across ExpressRoute peering locations. Whereas, unlike maximum resiliency, there is no redundancy within the peering locations. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/high-resiliency.png" alt-text="Diagram of a virtual network gateway connected to a single ExpressRoute circuit via two peering locations."::: **Standard resiliency** - This option provides a single redundant connection from the virtual network gateway to a single ExpressRoute circuit. > [!NOTE] > Standard resiliency does not provide protection against location wide outages. This option is suitable for non-critical and non-production workloads. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/standard-resiliency.png" alt-text="Diagram of a virtual network gateway connected to a single ExpressRoute circuit via one peering location."::: 6. Enter the following information for the respective resiliency type and then select **Review + create**. Then select **Create** after validation completes. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/create-connection-configuration.png" alt-text="Screenshot of the settings page for maximum resiliency ExpressRoute connections to a virtual network gateway."::: **Maximum resiliency** | Setting | Value | | --- | --- | | Virtual network gateway | Select the virtual network gateway that you want to connect to the ExpressRoute circuit. | | Use existing connection or create new | You can augment resiliency for an ExpressRoute connection you already created by selecting **Use existing**. Then select an existing ExpressRoute connection for the first connection. If you select **Use existing**, you only need to configure the second connection. If you select **Create new**, enter following information for both connections. | | Name | Enter a name for the connection. | | ExpressRoute circuit | Select the ExpressRoute circuit that you want to connect to. | | Routing weight | Enter a routing weight for the connection. The routing weight is used to determine the primary and secondary connections. The connection with the higher routing weight is the preferred circuit. | | FastPath | Select the checkbox to enable FastPath. For more information, see [About ExpressRoute FastPath](about-fastpath.md). | Complete the same information for the second ExpressRoute connection. When selecting an ExpressRoute circuit for the second connection, you are provided with the distance from the first ExpressRoute circuit. This information appears in the diagram and can help you select the second ExpressRoute location. > [!NOTE] > To have maximum resiliency, you should select two circuits in different peering location. You'll be given the following warning if you select two circuits in the same peering location. > > :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/same-location-warning.png" alt-text="Screenshot of warning in the Azure portal when selecting two ExpressRoute circuits in the same peering location."::: **High/Standard resiliency** For high or standard resiliency, you only need to enter information for one connection. For high resiliency the connection you need to attach a metro circuit. For standard resiliency the connection you need to attach a regular (non-metro) circuit. 7. After your connection has been successfully configured, your connection object will show the information for the connection. ## Connect a virtual network to a circuit - different subscription You can share an ExpressRoute circuit across multiple subscriptions. The following figure shows a simple schematic of how sharing works for ExpressRoute circuits across multiple subscriptions. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/cross-subscription.png" alt-text="Cross-subscription connectivity"::: Each of the smaller clouds within the large cloud is used to represent subscriptions that belong to different departments within an organization. Each of the departments within the organization uses their own subscription for deploying their services--but they can share a single ExpressRoute circuit to connect back to your on-premises network. A single department (in this example: IT) can own the ExpressRoute circuit. Other subscriptions within the organization may use the ExpressRoute circuit. > [!NOTE] > * Connecting virtual networks between Azure sovereign clouds and global Azure cloud is not supported. You can only link virtual networks from different subscriptions in the same cloud. > * Connectivity and bandwidth charges for the dedicated circuit will be applied to the ExpressRoute circuit owner. All virtual networks share the same bandwidth. ### Administration - About circuit owners and circuit users The 'circuit owner' is an authorized Power User of the ExpressRoute circuit resource. The circuit owner can create authorizations that can be redeemed by 'circuit users'. Circuit users are owners of virtual network gateways that aren't within the same subscription as the ExpressRoute circuit. Circuit users can redeem authorizations (one authorization per virtual network). The circuit owner has the power to modify and revoke authorizations at any time. Revoking an authorization results in all link connections being deleted from the subscription whose access was revoked. > [!NOTE] > Circuit owner is not a built-in RBAC role or defined on the ExpressRoute resource. > The definition of the circuit owner is any role with the following access: > - Microsoft.Network/expressRouteCircuits/authorizations/write > - Microsoft.Network/expressRouteCircuits/authorizations/read > - Microsoft.Network/expressRouteCircuits/authorizations/delete > > This includes the built-in roles such as Contributor, Owner and Network Contributor. Detailed description for the different [built-in roles](../role-based-access-control/built-in-roles.md). ### Circuit owner operations **To create a connection authorization** The circuit owner creates an authorization, which creates an authorization key to be used by a circuit user to connect their virtual network gateways to the ExpressRoute circuit. An authorization is valid for only one connection. > [!NOTE] > Each connection requires a separate authorization. > 1. In the ExpressRoute page, select **Authorizations** and then type a **name** for the authorization and select **Save**. 2. Once the configuration is saved, copy the **Resource ID** and the **Authorization Key**. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/authorization-key.png" alt-text="Authorization key"::: **To delete a connection authorization** You can delete a connection by selecting the **Delete** icon for the authorization key for your connection. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/delete-authorization-key.png" alt-text="Delete authorization key"::: If you want to delete the connection but retain the authorization key, you can delete the connection from the connection page of the circuit. > [!NOTE] > To view your Gateway connections, go to your ExpressRoute circuit in Azure portal. From there, navigate to *Connections* underneath *Settings* for your ExpressRoute circuit. This will show you each ExpressRoute gateway that your circuit is connected to. If the gateway is under a different subscription than the circuit, the *Peer* field will display the circuit authorization key. ### Circuit user operations The circuit user needs the resource ID and an authorization key from the circuit owner. **To redeem a connection authorization** 1. Select the **+ Create a resource** button. Search for **Connection** and select **Create**. 1. In the **Basics** page, make sure the *Connection type* is set to **ExpressRoute**. Select the *Resource group*, and then select **Next: Settings>**. 1. In the **Settings** page, select **High Resiliency** or **Standard Resiliency**, and then select the *Virtual network gateway*. Check the **Redeem authorization** check box. Enter the *Authorization key* and the *Peer circuit URI* and give the connection a name. > [!NOTE] > - Connecting to circuits in a different subscription is supported under Maximum Resiliency; however, there is a limitation within the portal, and authorization must be redeemed individually for each circuit. > - You can connect a virtual network to a Metro circuit in a different subscription when choosing High Resiliency. > - You can connect a virtual network to a regular (non-metro) circuit in a different subscription when choosing Standard Resiliency. > - The *Peer Circuit URI* is the Resource ID of the ExpressRoute circuit (which you can find under the Properties Setting pane of the ExpressRoute Circuit). :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/connection-settings.png" alt-text="Settings page"::: 1. Select **Review + create**. 1. Review the information in the **Summary** page and select **Create**. ## Configure ExpressRoute FastPath [FastPath](expressroute-about-virtual-network-gateways.md) improves data path performance such as packets per second and connections per second between your on-premises network and your virtual network. You can enable FastPath if your virtual network gateway is Ultra Performance or ErGw3AZ. > [!NOTE] > When you enable FastPath on new or existing connections, the Gateway bypass is enabled after the ExpressRoute Gateway and Circuit connection is established. This will briefly route the on-premises traffic through the gateway. ### Configure FastPath on a new connection When adding a new connection for your ExpressRoute gateway, select the checkbox for **FastPath**. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/enable-fastpath-portal.png" alt-text="Screenshot of FastPath checkbox in add a connection page."::: ### Configure FastPath on an existing connection 1. Go to the existing connection resource either from the ExpressRoute gateway, the ExpressRoute circuit, or the Connection resource page. 1. Select **Configuration** under *Settings* and then select the **FastPath** checkbox. Select **Save** to enable the feature. :::image type="content" source="./media/expressroute-howto-linkvnet-portal-resource-manager/enable-fastpath-connection.png" alt-text="Screenshot of FastPath checkbox on connection configuration page."::: > [!NOTE] > You can use [Connection Monitor](how-to-configure-connection-monitor.md) to verify that your traffic is reaching the destination using FastPath. ## Clean up resources You can delete a connection and unlink your virtual network to an ExpressRoute circuit by selecting the **Delete** icon on the page for your connection. ## Next step In this tutorial, you learned how to connect a virtual network to a circuit in the same subscription and in a different subscription. For more information about ExpressRoute gateways, see: [ExpressRoute virtual network gateways](expressroute-about-virtual-network-gateways.md). To learn how to configure route filters for Microsoft peering using the Azure portal, advance to the next tutorial. > [!div class="nextstepaction"] > [Configure route filters for Microsoft peering](how-to-routefilter-portal.md)
Success! Branch created successfully. Create Pull Request on GitHub
Error: