acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

VNET peering docs: overlapping IP CIDR blocks not allowed

Open jackfrancis opened this issue 8 years ago • 3 comments

This is a general Azure networking gotcha, but worth adding to docs: if you're building a cluster in a VNET that is peered with other VNETs, ensure that all VNET IP address space CIDR blocks are distinct, and have no overlapping IP ranges.

jackfrancis avatar Jun 01 '18 18:06 jackfrancis

Azure portal starts giving the warning for overlapping subnets even before vnet creation or doing actual peering. Example: We already have a k8s cluster with vnet address space 10.0.0.0/8. If I just try to create a vnet using portal, it starts giving the warning for overlap.

image

The following screenshot shows vnet of our dev k8s cluster showing warning of overlap from qa k8s cluster even though they are not peered. I think its harmless and its a problem in azure portal.

image

The accepted answer at https://stackoverflow.com/questions/45836574/the-address-space-10-0-0-0-16-overlaps-with-10-0-0-0-16-in-virtual-network also says the same thing.

diwakar-s-maurya avatar Jun 02 '18 08:06 diwakar-s-maurya

I have the same scenario, I have overlapped CIDR from two VNets which are in two different subscriptions. Now I cannot peer this VNET's. I am not using portal to create this setup, so I didn't got any warnings.

VipinAgarwal avatar Jun 20 '18 20:06 VipinAgarwal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. Note that acs-engine is deprecated--see https://github.com/Azure/aks-engine instead.

stale[bot] avatar Mar 09 '19 11:03 stale[bot]