DEV Community

Cover image for Creating an Azure Virtual Network with Subnets.
Otitoju Mercy
Otitoju Mercy

Posted on

Creating an Azure Virtual Network with Subnets.

Azure Virtual Networks is used to communicate with each other securely and privately. Azure Virtual Network enables secure communication between various Azure resources, the internet, and on-premises networks .

To create this azure Virtual Networks with the four subnet using the address space 192.148.30.0/26.Here are the steps to create an Azure Virtual Network (VNet):

1. Log in to the Azure portal.

Image description

2. Navigate to the Virtual Networks page.

  • Click on "Virtual networks" in the navigation menu.

Image description

  • Click on the "Create virtual network" button.

Image description

  • Enter basic details, Choose an Azure subscription.
  • Create a new resource that you would like to use.

Image description

-Choose a name for the Virtual Network.

  • Select a region were you like to deploy the virtual network.

Image description

3. Configure IP addressing.

  • Enter the IPV4 address 192.148.30.0/26 space for your virtual network. The image below shows that we can have 64 addresses within this network.

Image description

4.Configure the subnet: Enter a name for the subnet.

  • Subnet address range: This is the range of IP address that can be assigned to devices within a specific subnet . Specify the subnet range within the virtual network address space192.148.30.0/26, Ensure each subnet range is within the /26 address space (192.148.30.0 to 192.148.30.63).

  • Click Add subnet.

Image description

  • 1st Subnet:192.148.30.0/28 - 192.148.30.15/28.
  • 2nd Subnet:192.148.30.16/28 - 192.148.30.31/28.
  • 3rd Subnet:192.148.30.32/28 - 192.148.30.47/28.
  • 4th Subnet:192.148.30.48/28 - 192.148.30.63/28.

Image description

  • When the 4 subnets are added Review and create.

Image description

Step 5: Review and create.

  • Review the virtual network configuration.

  • Click "Create" to create the virtual network.

Image description

Step 6: Verify creation.

  • Verify that your virtual network has been created successfully.

Image description

  • Click on Go resources and navigate to the setting check the subnets we just created.

Image description

That's it! You have successfully created an Azure Virtual Network with four subnets. This VNet can now be used to deploy Azure resources, such as virtual machines, storage accounts, and more.

Note: This is just a general outline, and specific steps may vary depending on your Azure subscription and requirements.

Top comments (2)

Collapse
 
laoluafolami profile image
Olaolu' Afolami

Great stuff. Keep it up.

Collapse
 
emmanuel_adedeji_f1720240 profile image
Emmanuel Adedeji

✅✅