Downsizing vnet

prasantc 976 Reputation points
2023-07-14T05:29:55.9633333+00:00

I was able to downsize the vnets from /20 to /21 on a vnets peered to other vnets and the subnet was not using all the IP scope therefore, it was not an issue.

However, doing the same on the production with same range of IPs and subnets in a vnet errored out as it had a remote hub peering on a VWAN.

As the per 2022, peering will fix after sync but I did not read any article on remote hub resize limitation. What is the best approach the vnet with remote hub peering?

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,775 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 50,096 Reputation points Microsoft Employee Moderator
    2023-07-14T13:15:24.6733333+00:00

    Hello @prasantc ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you were able to downsize your Vnets from /20 to /21 which were peered to other Vnets and the subnet was not using all the IP scope but doing the same in production with same range of IPs and subnets in a Vnet errored out as it had a remote hub peering on a VWAN. You would like to if there is a resize limitation and what is the best approach to downsize Vnet with remote hub peering.

    As per Vnet peering documentation,

    You can resize the address space of Azure virtual networks that are peered without incurring any downtime on the currently peered address space. Once the address space is resized, peers must sync with the new address space changes. Resizing works for both IPv4 and IPv6 address spaces.

    However, this feature doesn't support scenarios where the virtual network to be updated is peered with:

    • A classic virtual network
    • A managed virtual network such as the Azure VWAN hub

    If your Vnet has a remote hub peering on a VWAN, then downsizing/re-sizing the Vnet in such a case is not supported.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.