Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.73 KB

vpn-gateway-modify-local-network-gateway.md

File metadata and controls

41 lines (30 loc) · 1.73 KB
title description titleSuffix author ms.service ms.custom ms.topic ms.date ms.author
Modify gateway IP address settings: PowerShell
Learn how to change IP address prefixes for your local network gateway using PowerShell.
Azure VPN Gateway
cherylmc
azure-vpn-gateway
devx-track-azurepowershell
how-to
10/28/2021
cherylmc

Modify local network gateway settings using PowerShell

Sometimes the settings for your local network gateway AddressPrefix or GatewayIPAddress change. This article shows you how to modify your local network gateway settings. You can also modify these settings using a different method by selecting a different option from the following list:

[!div class="op_single_selector"]

Note

Making changes to a local network gateway that has a connection may cause tunnel disconnects and downtime.

Before you begin

Install the latest version of the Azure Resource Manager PowerShell cmdlets. See How to install and configure Azure PowerShell for more information about installing the PowerShell cmdlets.

Modify IP address prefixes

[!INCLUDE vpn-gateway-modify-ip-prefix-rm]

Modify the gateway IP address

[!INCLUDE vpn-gateway-modify-lng-gateway-ip-rm]

Next steps

You can verify your gateway connection. See Verify a gateway connection.