Skip to content

Commit 34b1412

Browse files
authored
Merge pull request #217860 from AbdullahBell/VPN-Peering-freshness
VPN Gateway: Configure VPN gateway transit for virtual network peering | Freshness
2 parents c5ca795 + c7524c5 commit 34b1412

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed
-9.56 KB
Loading
1.19 KB
Loading
8.63 KB
Loading
7.07 KB
Loading

articles/vpn-gateway/vpn-gateway-peering-gateway-transit.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: cherylmc
77

88
ms.service: vpn-gateway
99
ms.topic: how-to
10-
ms.date: 04/28/2021
10+
ms.date: 11/09/2022
1111
ms.author: cherylmc
1212
ms.custom: devx-track-azurepowershell
1313

@@ -16,9 +16,9 @@ ms.custom: devx-track-azurepowershell
1616

1717
This article helps you configure gateway transit for virtual network peering. [Virtual network peering](../virtual-network/virtual-network-peering-overview.md) seamlessly connects two Azure virtual networks, merging the two virtual networks into one for connectivity purposes. [Gateway transit](../virtual-network/virtual-network-peering-overview.md#gateways-and-on-premises-connectivity) is a peering property that lets one virtual network use the VPN gateway in the peered virtual network for cross-premises or VNet-to-VNet connectivity. The following diagram shows how gateway transit works with virtual network peering.
1818

19-
![Gateway transit diagram](./media/vpn-gateway-peering-gateway-transit/gatewaytransit.png)
19+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/gatewaytransit.png" alt-text="Diagram of Gateway transit." lightbox="./media/vpn-gateway-peering-gateway-transit/gatewaytransit.png":::
2020

21-
In the diagram, gateway transit allows the peered virtual networks to use the Azure VPN gateway in Hub-RM. Connectivity available on the VPN gateway, including S2S, P2S, and VNet-to-VNet connections, applies to all three virtual networks. The transit option is available for peering between the same, or different deployment models. If you are configuring transit between different deployment models, the hub virtual network and virtual network gateway must be in the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md), not the classic deployment model.
21+
In the diagram, gateway transit allows the peered virtual networks to use the Azure VPN gateway in Hub-RM. Connectivity available on the VPN gateway, including S2S, P2S, and VNet-to-VNet connections, applies to all three virtual networks. The transit option is available for peering between the same, or different deployment models. If you're configuring transit between different deployment models, the hub virtual network and virtual network gateway must be in the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md), not the classic deployment model.
2222
>
2323
2424
In hub-and-spoke network architecture, gateway transit allows spoke virtual networks to share the VPN gateway in the hub, instead of deploying VPN gateways in every spoke virtual network. Routes to the gateway-connected virtual networks or on-premises networks will propagate to the routing tables for the peered virtual networks using gateway transit. You can disable the automatic route propagation from the VPN gateway. Create a routing table with the "**Disable BGP route propagation**" option, and associate the routing table to the subnets to prevent the route distribution to those subnets. For more information, see [Virtual network routing table](../virtual-network/manage-route-table.md).
@@ -38,11 +38,11 @@ Before you begin, verify that you have the following virtual networks and permis
3838

3939
### <a name="vnet"></a>Virtual networks
4040

41-
|VNet|Deployment model| Virtual network gateway|
42-
|---|---|---|---|
43-
| Hub-RM| [Resource Manager](./tutorial-site-to-site-portal.md)| [Yes](tutorial-create-gateway-portal.md)|
44-
| Spoke-RM | [Resource Manager](./tutorial-site-to-site-portal.md)| No |
45-
| Spoke-Classic | [Classic](vpn-gateway-howto-site-to-site-classic-portal.md#CreatVNet) | No |
41+
| VNet | Deployment model | Virtual network gateway |
42+
|---------------|-----------------------------------------------------------------------|------------------------------------------|
43+
| Hub-RM | [Resource Manager](./tutorial-site-to-site-portal.md) | [Yes](tutorial-create-gateway-portal.md) |
44+
| Spoke-RM | [Resource Manager](./tutorial-site-to-site-portal.md) | No |
45+
| Spoke-Classic | [Classic](vpn-gateway-howto-site-to-site-classic-portal.md#CreatVNet) | No |
4646

4747
### <a name="permissions"></a>Permissions
4848

@@ -71,7 +71,7 @@ In this scenario, the virtual networks are both in the Resource Manager deployme
7171
* Traffic forwarded from remote virtual network: **Allow**
7272
* Virtual network gateway: **Use this virtual network's gateway**
7373

74-
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-vnet.png" alt-text="Screenshot shows add peering.":::
74+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-vnet.png" alt-text="Screenshot shows add peering." lightbox="./media/vpn-gateway-peering-gateway-transit/peering-vnet.png":::
7575

7676
1. On the same page, continue on to configure the values for the **Remote virtual network**.
7777

@@ -82,7 +82,7 @@ In this scenario, the virtual networks are both in the Resource Manager deployme
8282
* Traffic forwarded from remote virtual network: **Allow**
8383
* Virtual network gateway: **Use the remote virtual network's gateway**
8484

85-
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-remote.png" alt-text="Screenshot shows values for remote virtual network.":::
85+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-remote.png" alt-text="Screenshot shows values for remote virtual network." lightbox="./media/vpn-gateway-peering-gateway-transit/peering-remote.png":::
8686

8787
1. Select **Add** to create the peering.
8888
1. Verify the peering status as **Connected** on both virtual networks.
@@ -93,15 +93,15 @@ If the peering was already created, you can modify the peering for transit.
9393

9494
1. Navigate to the virtual network. Select **Peerings** and select the peering that you want to modify.
9595

96-
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-modify.png" alt-text="Screenshot shows select peerings.":::
96+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-modify.png" alt-text="Screenshot shows select peerings." lightbox="./media/vpn-gateway-peering-gateway-transit/peering-modify.png":::
9797

9898
1. Update the VNet peering.
9999

100100
* Traffic to remote virtual network: **Allow**
101101
* Traffic forwarded to virtual network; **Allow**
102102
* Virtual network gateway: **Use remote virtual network's gateway**
103103

104-
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/modify-peering-settings.png" alt-text="Screenshot shows modify peering gateway.":::
104+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/modify-peering-settings.png" alt-text="Screenshot shows modify peering gateway." lightbox="./media/vpn-gateway-peering-gateway-transit/modify-peering-settings.png":::
105105

106106
1. **Save** the peering settings.
107107

@@ -146,13 +146,13 @@ For this configuration, you only need to configure the **Hub-RM** virtual networ
146146
* Virtual network gateway: **Use this virtual network's gateway**
147147
* Remote virtual network: **Classic**
148148

149-
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-classic.png" alt-text="Add peering page for Spoke-Classic":::
149+
:::image type="content" source="./media/vpn-gateway-peering-gateway-transit/peering-classic.png" alt-text="Add peering page for Spoke-Classic" lightbox="./media/vpn-gateway-peering-gateway-transit/peering-classic.png":::
150150

151151
1. Verify the subscription is correct, then select the virtual network from the dropdown.
152152
1. Select **Add** to add the peering.
153153
1. Verify the peering status as **Connected** on the Hub-RM virtual network.
154154

155-
For this configuration, you do not need to configure anything on the **Spoke-Classic** virtual network. Once the status shows **Connected**, the spoke virtual network can use the connectivity through the VPN gateway in the hub virtual network.
155+
For this configuration, you don't need to configure anything on the **Spoke-Classic** virtual network. Once the status shows **Connected**, the spoke virtual network can use the connectivity through the VPN gateway in the hub virtual network.
156156

157157
### <a name="ps-different"></a>PowerShell sample
158158

0 commit comments

Comments
 (0)