Adding a subnet in the Azure portal
In addition to adding subnets while creating a virtual network, we can add additional subnets to our network at any time.
Getting ready
Before you start, open a web browser and go to the Azure portal at https://portal.azure.com. Here, locate the previously created virtual network.
How to do it…
In order to add a subnet to a virtual network using the Azure portal, we must take the following steps:
- In the Virtual network pane, go to the Subnets section.
- Select the Add subnet option.
- A new pane will open. We need to provide information for the subnet, including the Name value and the Address range value in CIDR format. The Address range value must be in the range limit of the virtual network address range and cannot overlap with the address range of other subnets in the virtual network. Optionally, we can add information for Network security group, Route table, Service endpoints, and Subnet delegation. These options...