none
Validation subnet address range under vnet address range through c#

    Question

  • I have a scenario which is that I have created a virtual network on azure with a address range in CIDR block e.g. 10.0.0.0/24 then a default subnet needs to be created which have a address range in similar CIDR block e.g. 10.1.0.0/16. I need to validate that subnet address range should resides in virtual network address range means i need to validate that 10.1.0.0/16 is in range of 10.0.0.0/24 or not?

    I search it over the internet but I get only IP address validation under CIDR block but what i want is to validate CIDR block is in range under other CIDR block like the validation done on azure portal while creating virtual networks and subnets. Any help would be appreciated. Thanks

    Thursday, April 20, 2017 4:03 PM