DEV Community

Cover image for HOW TO CREATE A VIRTUAL NETWORK WITH FOUR SUBNETS
Phillip Ajifowobaje
Phillip Ajifowobaje

Posted on

HOW TO CREATE A VIRTUAL NETWORK WITH FOUR SUBNETS

We will be creating four Azure virtual network subnet using the IP address: 192.148.30.0/26.

Below are the steps:

  1. Log in to Azure Portal

Click on virtual Network navigation tool, click on CREATE as indicated in the below diagram:

Image description

  1. From the BASIC tab select the resource group name and give the virtual machine a name, you will also need to select the region for your VM. in this case we are using East US. Click on next to take you to the IP Address tab. See below diagram:

Image description

  1. The next step is to configure the IP address for the virtual machine. Delete the default IP address before you begin to create four subnet IP addresses: proceed to input IPV4 address 192.148.30.0/26 space for your virtual network.

Image description

The above diagram shows we can have 64 addresses within this virtual network.

  1. Add the Subnets for the Virtual Network(Click on Add Subnet). The range for the subnets are from(192.148.30.0 to 192.148.30.63). As shown in the below diagram subnet1, subnet2, subnet3 and subnet4 where each subnet is within the /26 address range.

Image description

  1. The next step will be to Review and Create when the subnets have been configured. Click on CREATE:

Image description

6 Virtual Network Deployment, the VM id delpoyed as shown below:

Image description

Finally you click on Go to Resources to see your VM and Subnet in the overview tab to see the subnets of the virtual Network. see below:

Image description

You have created the virtaul network with four subnets.

Top comments (0)