DEV Community

Cover image for Create an Azure virtual network with four subnets using this address space 192.148.30.0/26
Adeola Adebari
Adeola Adebari

Posted on

Create an Azure virtual network with four subnets using this address space 192.148.30.0/26

Creating an Azure Virtual Network (VNet) with four subnets using the address space 192.148.30.0/26 involves a few detailed steps.

Step-by-Step Guide to Creating a VNet with Four Subnets in Azure

Sign in to Azure Portal

  1. Open a web browser and go to the Azure portal.
  2. Sign in with your Azure account credentials.

Image description

Create a Virtual Network

  1. In the Azure portal, click on "Create a resource" in the upper-left corner.

Image description

  1. In the "Search the Marketplace" box, type "Virtual Network" and select it from the list.

Image description

  1. Click on the "Create" button.

Image description

Basics Tab

  1. Subscription: Select your subscription.
  2. Resource group: Select an existing resource group or create a new one.
  3. Name: Provide a name for your virtual network (e.g., MyVNet).
  4. Region: Choose the region where you want to create the VNet.
  5. Click on the "Next: IP Addresses" button.

Image description

IP Addresses Tab

  1. IPv4 address space: Enter 192.148.30.0/26.
  2. Click on the "+ Add subnet" button to start adding your subnets.

Image description

Add Subnets

  • You need to divide the 192.148.30.0/26 address space into four subnets. Each subnet in this case will have an address space of /28, which provides 16 addresses per subnet.

  • Subnet 1:

  1. Name: Subnet1
  2. Subnet address range: 192.148.30.0/28
  3. Click "Add".

Image description

  • Subnet 2:
  1. Name: Subnet2
  2. Subnet address range: 192.148.30.16/28
  3. Click "Add".

Image description

  • Subnet 3:
  1. Name: Subnet3
  2. Subnet address range: 192.148.30.32/28
  3. Click "Add".

Image description

  • Subnet 4:
  1. Name: Subnet4
  2. Subnet address range: 192.148.30.48/28
  3. Click "Add".

Image description

Review and Create

  1. Once all subnets are added, click on the "Review + create" button.
  2. Review the configuration details and then click on the "Create" button.

Image description

Final Address Space Configuration

  1. Subnet 1: 192.148.30.0/28 (Range: 192.148.30.0 - 192.148.30.15)

  2. Subnet 2: 192.148.30.16/28 (Range: 192.148.30.16 - 192.148.30.31)

  3. Subnet 3: 192.148.30.32/28 (Range: 192.148.30.32 - 192.148.30.47)

  4. Subnet 4: 192.148.30.48/28 (Range: 192.148.30.48 - 192.148.30.63)

Image description

By following these steps, you will have successfully created an Azure Virtual Network with four subnets using the address space 192.148.30.0/26.

Top comments (0)