Skip to content

Commit 91fa58a

Browse files
Merge pull request #263413 from cherylmc/subnet-fix
GatewaySubnet
2 parents 80fdcb5 + 3f94625 commit 91fa58a

5 files changed

+37
-13
lines changed

articles/vpn-gateway/tutorial-create-gateway-portal.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.author: cherylmc
77
ms.service: vpn-gateway
88
ms.topic: tutorial
9-
ms.date: 11/20/2023
9+
ms.date: 01/17/2024
1010

1111
---
1212

@@ -49,6 +49,12 @@ Create a VNet using the following values:
4949

5050
After you create your VNet, you can optionally configure Azure DDos Protection. Protection is simple to enable on any new or existing virtual network, and it requires no application or resource changes. For more information about Azure DDoS protection, see [What is Azure DDoS Protection?](../ddos-protection/ddos-protection-overview.md)
5151

52+
## Create a gateway subnet
53+
54+
The virtual network gateway requires a specific subnet named **GatewaySubnet**. The gateway subnet is part of IP address range for your virtual network and contains the IP addresses that the virtual network gateway resources and services use. Specify a gateway subnet that is /27 or larger.
55+
56+
[!INCLUDE [Create gateway subnet](../../includes/vpn-gateway-create-gateway-subnet-portal-include.md)]
57+
5258
## <a name="VNetGateway"></a>Create a VPN gateway
5359

5460
In this step, you create the virtual network gateway (VPN gateway) for your VNet. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.

articles/vpn-gateway/tutorial-site-to-site-portal.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.author: cherylmc
77
ms.service: vpn-gateway
88
ms.topic: tutorial
9-
ms.date: 11/21/2023
9+
ms.date: 01/17/2024
1010

1111
---
1212

@@ -50,13 +50,15 @@ In this section, you'll create a virtual network (VNet) using the following valu
5050

5151
After you create your VNet, you can optionally configure Azure DDos Protection. Protection is simple to enable on any new or existing virtual network, and it requires no application or resource changes. For more information about Azure DDoS protection, see [What is Azure DDoS Protection?](../ddos-protection/ddos-protection-overview.md)
5252

53-
## <a name="VNetGateway"></a>Create a VPN gateway
53+
## Create a gateway subnet
5454

55-
In this step, you create the virtual network gateway for your VNet. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
55+
[!INCLUDE [About gateway subnets](../../includes/vpn-gateway-about-gwsubnet-portal-include.md)]
5656

57-
### About the gateway subnet
57+
[!INCLUDE [Create gateway subnet](../../includes/vpn-gateway-create-gateway-subnet-portal-include.md)]
5858

59-
[!INCLUDE [About gateway subnets](../../includes/vpn-gateway-about-gwsubnet-portal-include.md)]
59+
## <a name="VNetGateway"></a>Create a VPN gateway
60+
61+
In this step, you create the virtual network gateway for your VNet. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
6062

6163
### Create the gateway
6264

includes/vpn-gateway-about-gwsubnet-portal-include.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
author: cherylmc
66
ms.service: vpn-gateway
77
ms.topic: include
8-
ms.date: 07/17/2023
8+
ms.date: 01/16/2024
99
ms.author: cherylmc
1010
ms.custom: include file
1111
---
1212

13-
The virtual network gateway uses specific subnet called the gateway subnet. The gateway subnet is part of the virtual network IP address range that you specify when configuring your virtual network. It contains the IP addresses that the virtual network gateway resources and services use.
13+
The virtual network gateway requires a specific subnet named **GatewaySubnet**. The gateway subnet is part of IP address range for your virtual network and contains the IP addresses that the virtual network gateway resources and services use.
1414

1515
When you create the gateway subnet, you specify the number of IP addresses that the subnet contains. The number of IP addresses needed depends on the VPN gateway configuration that you want to create. Some configurations require more IP addresses than others. It's best to specify /27 or larger (/26,/25 etc.) for your gateway subnet.
1616

17-
If you see an error that specifies that the address space overlaps with a subnet, or that the subnet isn't contained within the address space for your virtual network, check your VNet address range. You may not have enough IP addresses available in the address range you created for your virtual network. For example, if your default subnet encompasses the entire address range, there are no IP addresses left to create additional subnets. You can either adjust your subnets within the existing address space to free up IP addresses, or specify an additional address range and create the gateway subnet there.
17+
If you see an error that specifies that the address space overlaps with a subnet, or that the subnet isn't contained within the address space for your virtual network, check your VNet address range. You might not have enough IP addresses available in the address range you created for your virtual network. For example, if your default subnet encompasses the entire address range, there are no IP addresses left to create additional subnets. You can either adjust your subnets within the existing address space to free up IP addresses, or specify an additional address range and create the gateway subnet there.

includes/vpn-gateway-add-gw-portal-include.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: cherylmc
33
ms.service: vpn-gateway
44
ms.topic: include
5-
ms.date: 10/05/2023
5+
ms.date: 01/17/2024
66
ms.author: cherylmc
77
---
88

@@ -19,7 +19,11 @@
1919
* **Name**: Name your gateway. Naming your gateway not the same as naming a gateway subnet. It's the name of the gateway object you're creating.
2020
* **Region**: Select the region in which you want to create this resource. The region for the gateway must be the same as the virtual network.
2121
* **Gateway type**: Select **VPN**. VPN gateways use the virtual network gateway type **VPN**.
22-
* **SKU**: Select the gateway SKU that supports the features you want to use from the dropdown. See [Gateway SKUs](../articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md#gwsku). In the portal, the SKUs available in the dropdown depend on the `VPN type` you select. [!INCLUDE [Basic SKU](vpn-gateway-basic-sku.md)]
22+
* **SKU**: From the dropdown, select the gateway SKU that supports the features you want to use. See [Gateway SKUs](../articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md#gwsku). In the portal, the SKUs available in the dropdown depend on the `VPN type` you select. [!INCLUDE [Basic SKU](vpn-gateway-basic-sku.md)]
2323
* **Generation**: Select the generation you want to use. We recommend using a Generation2 SKU. For more information, see [Gateway SKUs](../articles/vpn-gateway/vpn-gateway-about-vpngateways.md#gwsku).
24-
* **Virtual network**: From the dropdown, select the virtual network to which you want to add this gateway. If you can't see the VNet for which you want to create a gateway, make sure you selected the correct subscription and region in the previous settings.
25-
* **Gateway subnet address range**: This field only appears if your VNet doesn't have a gateway subnet. It's best to specify /27 or larger (/26,/25 etc.). This allows enough IP addresses for future changes, such as adding an ExpressRoute gateway. If you already have a gateway subnet, you can view GatewaySubnet details by navigating to your virtual network. Select **Subnets** to view the range. If you want to change the range, you can delete and recreate the GatewaySubnet.
24+
* **Virtual network**: From the dropdown, select the virtual network to which you want to add this gateway. If you can't see the virtual network for which you want to create a gateway, make sure you selected the correct subscription and region in the previous settings.
25+
* **Gateway subnet address range** or **Subnet**: The gateway subnet is required to create a VPN gateway.
26+
27+
At this time, this field has a couple of different behaviors, depending on the virtual network address space and whether you already created a subnet named **GatewaySubnet** for your virtual network.
28+
29+
If you don't have a gateway subnet AND you don't see the option to create one on this page, go back to your virtual network and create the gateway subnet. Then, return to this page and configure the VPN gateway.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
author: cherylmc
3+
ms.service: vpn-gateway
4+
ms.topic: include
5+
ms.date: 01/17/2024
6+
ms.author: cherylmc
7+
---
8+
9+
1. On the page for your virtual network, in the left pane, select **Subnets** to open the Subnets page.
10+
1. At the top of the page, click **+ Gateway subnet** to open the **Add subnet** pane.
11+
1. The name is automatically entered as **GatewaySubnet**. Adjust the IP address range value, if necessary. For example, **10.1.255.0/27**.
12+
1. Don't adjust the other values on the page. Click **Save** at the bottom of the page to save the subnet.

0 commit comments

Comments
 (0)