You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/vpn-gateway/vpn-gateway-create-site-to-site-rm-powershell.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ titleSuffix: Azure VPN Gateway
5
5
author: cherylmc
6
6
ms.service: azure-vpn-gateway
7
7
ms.topic: how-to
8
-
ms.date: 12/02/2024
8
+
ms.date: 03/25/2025
9
9
ms.author: cherylmc
10
10
ms.custom: devx-track-azurepowershell
11
11
@@ -30,6 +30,8 @@ Verify that your environment meets the following criteria before beginning confi
30
30
* Make sure you have a compatible VPN device and someone who can configure it. For more information about compatible VPN devices and device configuration, see [About VPN devices](vpn-gateway-about-vpn-devices.md).
31
31
* Determine if your VPN device supports active-active mode gateways. This article creates an active-active mode VPN gateway, which is recommended for highly available connectivity. Active-active mode specifies that both gateway VM instances are active. This mode requires two public IP addresses, one for each gateway VM instance. You configure your VPN device to connect to the IP address for each gateway VM instance.<br>If your VPN device doesn't support this mode, don't enable this mode for your gateway. For more information, see [Design highly available connectivity for cross-premises and VNet-to-VNet connections](vpn-gateway-highlyavailable.md) and [About active-active mode VPN gateways](about-active-active-gateways.md).
32
32
33
+
* If your virtual network gateway and local network gateway reside in different subscriptions and different tenants, you'll need to use slightly different steps. Review the [Connections with different tenants and different subscriptions](#tenants).
@@ -91,6 +93,26 @@ The shared key must match the value you used for your VPN device configuration.
91
93
-ConnectionType IPsec -SharedKey 'abc123'
92
94
```
93
95
96
+
## <aname="tenants"></a>Connections with different tenants and different subscriptions
97
+
98
+
When the virtual network gateway and the local network gateway reside in different subscriptions and in different tenants, the connection commands need to be specified differently than in the previous section.
99
+
100
+
For the LocalNetworkGateway that resides in Tenant2, Subscription 2, use the following commands. Adjust any variables to match your environment.
0 commit comments