What is a Subnet?
It’s nothing but a segmentation of a Virtual Network. You can have multiple subnets in a given VNet. Below is a depiction of a Virtual network with two subnets, one of hosting Web Servers (demo-web-snet) and the other (demo-db-snet) for hosting the database Servers.
![]()
In one of my previous articles Create Virtual Network (VNet) Using Azure Management Portal, we have created “demo-web-snet” default subnet. Let’s go ahead and create a new subnet named “demo-db-snet”, which will contain all the database related Services.
Navigate to the Virtual Network and click on the network “demo-vnet1” to which we will like to add another subnet.
![]()
As shown in the above screenshot, click on the “Subnets” to navigate to the following subnets, which are available in the selected virtual network.
![]()
Now, click on the “Subnet” button, as shown in the screenshot, mentioned above, which will navigate to the blade, given below.
![]()
Provide a meaningful name and the address range for the subnet, as shown above and click OK button to create the subnet.
After a few seconds, the subnet gets added to the VNet, as shown below.
![]()
Summary
In this article, we have learned what a Subnet is and how to create a new subnet to an existing VNet. You can read the original article here. I hope you enjoyed reading the article. Your feedback is appreciated.