Reduce the Azure vnet address space

N Wakchaure, Jagdish 175 Reputation points
2024-11-18T14:48:29.6566667+00:00

Hello Team,

I need to reduce the address space as below at the VNet for one of my project. this vnet also peered with other Vnet. also this vnet has express route and site to site vpn connected. by reducing i will save the ip address which i can use for other purpose. will there be any impact to Azure resources by doing this and any other prerequisite , precaution i need to take. Thanks in advance.

from

10.6.0.0/16

10.7.0.0/16

to

10.6.80.0/20

10.7.80.0/20

also forgot to mention that there is gateway subnet as well currently exist with the ip address 10.6.1.0/24. so if we modify the current address space . will this gateway subnet change automatically to new one or not . if not do i need to delete the gateway subnet and recreate it . and if i have to recreate it that means i need recreate the site to site vpn tunnel as well as express route also ? pls help.

Regards

Jagdish

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,638 questions
{count} votes

Accepted answer
  1. Rohith Vinnakota 2,705 Reputation points Microsoft Vendor
    2024-11-18T19:12:39.8166667+00:00

    Hi N Wakchaure, Jagdish,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    this vnet also peered with other Vnet prerequisite

    Note: you have to delete all subnets in the vnet.
    When you update the address space for a virtual network, you need to sync the virtual network peer for each remote peered virtual network.

    refer this link : Update the address space for a peered virtual network - Azure portal | Microsoft LearnUser's image

    will this gateway subnet change automatically to new one or not.

    No

    if not do i need to delete the gateway subnet and recreate it . and if i have to recreate it that means i need recreate the site to site vpn tunnel as well as express route also

    yes, you're correct.

    Thanks,

    Rohith


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.