Unable to create subnets

Anonymous
2023-11-12T04:15:07.0633333+00:00

As a part of Azure LAB (https://gsi.learnondemand.net/Class/572405) I was attempting to create virtual networking (Lab 8). As per exercise, I could able to create 1st subnet (10.40.0.0/24). But when I tried to create another subnet (10.40.1.0/24) i kept getting error as "The subnet IP range is not contained in this virtual network's address space"

Similar issue I faced when I was attempting "Implement Monitoring"

In this Lab, In task 4 – its mentioned to review the default monitoring setting on AZ VM. Means its expected VM is already created & We need to review the settings. But I didn’t found any existing VM available also LAB is not allowing me to create a new VM.

I followed the interactive Lab for these modules & ensured I am not doing anything wrong. Please look into this.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,544 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sreeju Nair 12,376 Reputation points
    2023-11-12T10:18:20.3133333+00:00

    You need to check your VNet address range. If your VNet also has address range, 10.40.0.0/24 then you can not create a subnet in that VNet with address range 10.40.1.0/24, as it is outside the VNet address range.

    See the subnet address range requirements from the following URL.

    https://learn.microsoft.com/en-us/azure/virtual-network/manage-virtual-network

    User's image

    Hope this helps


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.