Does subnet need correcting in Exercise: "Create and configure a virtual network gateway" ?

PaweJachimowicz-3329 20 Reputation points
2025-01-01T22:10:03.2566667+00:00

in web page below [1] - Exercise: "Create and configure a virtual network gateway", in Architecture Diagram, since the IP of TestVM1 is 10.20.20.4, should the CoreServicesSubnet be 10.20.20.0/24 instead of 10.20.0.0/24 shown in diagram?

(this way the CoreServicesSubnet would also not conflict with GatewaySubnet 10.20.0.0/27 in "East US")

[1] https://learn.microsoft.com/en-us/training/modules/design-implement-hybrid-networking/3-exercise-create-configure-local-network-gateway

This question is related to the following Learning Module

Azure Azure Training
0 comments No comments
{count} votes

Accepted answer
  1. Divyesh Govaerdhanan 6,235 Reputation points
    2025-01-01T23:54:35.0633333+00:00

    Hello,

    Welcome to Microsoft Q&A,

    Yes, That's right, In Azure, it's essential to ensure that subnets within a virtual network have non-overlapping address spaces to prevent routing conflicts.

    In the provided architecture diagram, the GatewaySubnet is assigned the address range 10.20.0.0/27, and the CoreServicesSubnet is assigned 10.20.0.0/24. This configuration results in overlapping address spaces, which can cause connectivity issues.

    Given that TestVM1 has an IP address of 10.20.20.4, it's logical to assign the CoreServicesSubnet an address range that includes this IP and doesn't overlap with the GatewaySubnet. Therefore, setting the CoreServicesSubnet 10.20.20.0/24 would be appropriate.

    Please upvote and Accept the answer if it helps!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.