Add a subnet to the virtual network to deploy the Azure resources.
A subnet is a range of IP addresses in the virtual network. You can segment the virtual network into one or more sub-networks and allocate a portion of the virtual network's address space to each subnet. You can then deploy Azure resources in a specific subnet.
Go to the virtual network that you created.
Under
Settings
, click
Subnets
.
Click
Subnet
.
The
Add subnet
page appears.
In the
Name
field, enter a name for the subnet.
In the
Subnet address range
field, you can specify an address range as per your requirement or use the default subnet address range .
The subnet address range must be contained by the address space of the virtual network. You can't edit the address range of a subnet which is in use.
In the
Network security group
field, select the network security group that you created. If you don't want to use a network security group, select