how to create route table to point to bgp over ipsec tunnel vwan hub express route choose vpn over express route

Ted A. Rizzo 0 Reputation points
2024-07-23T19:44:41.8733333+00:00

how to create route table to point to bgp over ipsec tunnel vwan hub express route choose vpn over express route

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,559 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
381 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-07-24T00:57:26.05+00:00

    @Ted A. Rizzo

    Thank you for reaching out.

    I understand you wish to set your Virtual Hub to prefer VPN routes over Express Route.

    Have you tried setting the virtual hub routing preference configuration to VPN instead?

    You can change this configuration as documented here

    Just as FYI When a virtual hub has multiple routes to a destination prefix for on-premises, the best route or routes are selected in the order of preference as follows:

    1. Select routes with Longest Prefix Match (LPM).
    2. Prefer static routes learned from the virtual hub route table over BGP routes.
    3. Select best path based on the virtual hub routing preference configuration.

    If your VPN routes are more specific those will be selected. Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.