Creating Azure Virtual Network with 4 Subnets Using the Address Space 192.148.30.0/26
Olaolu' Afolami
Posted on July 12, 2024
Azure Virtual Network (VNet) is a fundamental service in Microsoft Azure that creates a private network environment within the Azure cloud. It functions similarly to a traditional network you might have on-premises, but with the added benefits of Azure's scalability, availability, and security features.
Here's a breakdown of key functionalities of an Azure VNet:
Isolation and Security: VNet isolates your Azure resources, such as virtual machines (VMs), from the public internet and other VNets. This isolation creates a secure environment for your applications to communicate with each other without worrying about unauthorized access.
Subnet Creation: VNets can be further segmented into subnets. Subnets act like sub-divisions within the VNet, allowing you to group related resources and define specific access controls for each subnet.
IP Address Management: VNets use a private IP address space (like the one you provided: 192.148.30.0/26) for resources within the network. This allows for private communication between resources without conflicting with public IP addresses.
Connectivity Options: VNets offer various options for connecting resources:
Internet Access: Subnets can be configured to allow resources controlled access to the internet through outbound rules in network security groups (NSGs).
VNet Peering: VNets can be peered together to enable communication between resources across different VNets within the same region.
VPN Gateway: VNets can connect to your on-premises network using a VPN gateway, creating a hybrid network environment.
Integration with Azure Services: VNets can integrate with various Azure services like Azure SQL Database or Azure Storage. By placing these services within a VNet, you can enforce private access only from authorized resources within the VNet.
Benefits of using Azure Virtual Network:
Improved Security: Isolation and access control features enhance the security of your cloud resources.
Simplified Management: VNets provide a centralized way to manage and configure your network infrastructure in Azure.
Scalability: You can easily scale your VNet by adding or removing subnets as needed.
Flexibility: VNets offer various connectivity options to suit your specific needs.
In summary, Azure VNet is a critical component for building secure and scalable private networks within the Azure cloud environment. It provides a foundation for deploying and managing your Azure resources while ensuring their isolation and controlled access.
Steps in Creating Azure Virtual Network with 4 Subnets.
Step 1: Sign in to Azure Portal
Open your web browser and navigate to the Azure Portal.
Sign in with your Azure account credentials.
Step 2: Navigate to Virtual Networks
Click on Create a resource.
In the "Search the Marketplace" box, type Virtual Network and press Enter.
Click on Virtual Network in the search results.
Click on the Create button.
Step 3: Create a Virtual Network
In the "Basics" tab, fill in the following details:
Subscription: Select your subscription.
Resource group: Create a new resource group or select an existing one.
Name: Enter a name for your virtual network (e.g., MyVNet).
Region: Select the region where you want to create the virtual network.Click on Next: IP Addresses.
Step 4: Configure Address Space
- In the "IP Addresses" tab, modify the existing address space to 192.148.30.0/26.
Click on Add a subnet.
Step 5: Add Subnets
Enter the following details:
Subnet name: Enter a name for the subnet (e.g., Subnet1).
Subnet address range: Enter the address range for the first subnet (e.g., 192.148.30.0/28).
- Click on Add.
- Repeat 1 & 2 above to add the remaining three subnets with the following details:
Subnet2: 192.148.30.16/28
Subnet3: 192.148.30.32/28
Subnet4: 192.148.30.48/28
Step 6: Review and Create
Click on Review + create to review your configuration.
After the validation passes, click on Create.
Step 7: Verification
Once the deployment is complete, navigate to the Resource Group you selected earlier (RG1).
Click on your Virtual Network (e.g., MyVNet).
Verify that the address space and subnets are correctly configured.
Posted on July 12, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.