Virtual Network and subnets

Lalith 161 Reputation points

Hi, I have a virtual network . now, i want to know why do we have to create subnets and what is the whole point of creating subnets when we can directly access the 65,536 ip addresses available in the specified virtual network ip address space.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,297 questions
0 comments No comments
{count} votes

Accepted answer
  1. msrini-MSFT 6,946 Reputation points Microsoft Employee


    In Azure, when you create VNET, you create Address space. In your case, the address space is Once that is created, you need to create subnets on which you will be able to deploy any resources.

    Address space is the super set and the subnets are the subsets of Address space. If you want to use all the address space, then create a subnet with prefix and you will have 65K IPs available for you.

    Let me know if you have any further questions.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Rajesh Swarnkar 681 Reputation points

    > why do we have to create subnets

    Subnets are created for the purpose of network segmentation with the network performance and security goals in focus. Without the sub-netting it will be hard to manage network.

    VNet is like a large piece of land and subnets are like rooms/buildings. Ofcourse you can't give shelter to entire population without segmenting it.

    0 comments No comments