Skip to content

Commit 8760916

Browse files
authored
format
1 parent 21b9d63 commit 8760916

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

articles/vpn-gateway/create-routebased-vpn-gateway-powershell.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,12 @@ $vnet | Set-AzVirtualNetwork
8888

8989
## <a name="PublicIP"></a>Request a public IP address
9090

91-
A VPN gateway must have an allocated public IP address. When you create a connection to a VPN gateway, this is the IP address that you specify. Use the following example to request a public IP address when you want to create a VPN gateway using a SKU other than the VPN Gateway "Basic" SKU.
91+
A VPN gateway must have an allocated public IP address. When you create a connection to a VPN gateway, this is the IP address that you specify. Use the following example to request a public IP address. Note that if you want to create a VPN gateway using the Basic gateway SKU, use the following values when requesting a public IP address: `-AllocationMethod Dynamic -Sku Basic`.
9292

9393
```azurepowershell-interactive
9494
$gwpip = New-AzPublicIpAddress -Name "VNet1GWIP" -ResourceGroupName "TestRG1" -Location "EastUS" -AllocationMethod Static
9595
```
9696

97-
If you want to use the Basic SKU for your VPN Gateway, use the following example. The Basic SKU requires a Basic public IP address that's dynamically allocated:
98-
99-
```azurepowershell-interactive
100-
$gwpip = New-AzPublicIpAddress -Name "VNet1GWIP" -ResourceGroupName "TestRG1" -Location "EastUS" -AllocationMethod Dynamic -Sku Basic
101-
```
102-
103-
10497
## <a name="GatewayIPConfig"></a>Create the gateway IP address configuration
10598

10699
The gateway configuration defines the subnet and the public IP address to use. Use the following example to create your gateway configuration:

0 commit comments

Comments
 (0)