Skip to content

Commit ef5b970

Browse files
authored
Merge pull request #231654 from halkazwini/rs-preference
Route Server: New release: Routing preference
2 parents f21985f + 6346667 commit ef5b970

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

articles/route-server/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
href: about-dual-homed-network.md
3838
- name: Path selection
3939
href: path-selection.md
40+
- name: Routing preference
41+
href: routing-preference.md
4042
- name: Multi-region design
4143
href: multiregion.md
4244
- name: Injecting routes to AVS
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Routing preference
3+
titleSuffix: Azure Route Server
4+
description: Learn about Azure Route Server routing preference feature.
5+
author: halkazwini
6+
ms.author: halkazwini
7+
ms.service: route-server
8+
ms.topic: conceptual
9+
ms.date: 03/28/2023
10+
ms.custom: template-concept
11+
---
12+
13+
# Azure Route Server routing preference
14+
15+
Azure Route Server enables dynamic routing between network virtual appliances (NVAs) and virtual networks (VNets). In addition to supporting third-party NVAs, Route Server also seamlessly integrates with ExpressRoute and VPN gateways. Route Server uses built-in route selection algorithms to make routing decisions to set connection preferences.
16+
17+
When **branch-to-branch** is enabled and Route Server learns multiple routes across site-to-site (S2S) VPN, ExpressRoute and SD-WAN NVAs, for the same on-premises destination route prefix, users can now configure connection preferences to influence Route Server route selection.
18+
19+
## Routing preference configuration
20+
21+
When Route Server has multiple routes to an on-premises destination prefix, Route Server selects the best route(s) in order of preference, as follows:
22+
23+
1. Prefer routes with the longest prefix match (LPM)
24+
1. Prefer static routes over BGP routes
25+
1. Prefer routes based on routing preference configuration:
26+
* **ExpressRoute**: (This is the default setting): Prefer routes learned through ExpressRoute over routes learned through VPN/SD-WAN connections
27+
* **VPN/SD-WAN**: Prefer routes learned through VPN/SD-WAN connections over routes learned through ExpressRoute.
28+
> [!IMPORTANT]
29+
> Routing preference doesn't allow users to set preference between routes learned over VPN and SD-WAN connections. If the same routes are learned over VPN and SD-WAN connections, Route Server will prefer the route with the shortest BGP AS-PATH.
30+
* **AS-Path**: Prefer routes with the shortest BGP AS-PATH length, irrespective of the source of the route advertisement.
31+
32+
## Next steps
33+
34+
- Learn how to [configure Azure Route Server](quickstart-configure-route-server-portal.md).
35+
- Learn how to [monitor Azure Route Server](monitor-route-server.md).

0 commit comments

Comments
 (0)