question

AZLearner-5762 avatar image
0 Votes"
AZLearner-5762 asked OlivierDupr-9576 commented

Is vnet peering transitive by default?

This is about Azure only, no S2S to on-prem. I have a hub-and-spoke topology where vnet A is the hub and vnet B & C are the spokes. Vnet peering is set up between A & C as well as A & B. Does it imply by default resources in B & C can reach each other?

Thanks.

azure-virtual-network
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GitaraniSharmaMSFT-4262 avatar image
1 Vote"
GitaraniSharmaMSFT-4262 answered OlivierDupr-9576 commented

Hello @AZLearner-5762 ,


No. Transitive peering is not supported. You must peer VNetB and VNetC for this to take place.
Please refer : https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#if-i-peer-vneta-to-vnetb-and-i-peer-vnetb-to-vnetc-does-that-mean-vneta-and-vnetc-are-peered


Hope this helps!


Kindly let us know if the above helps or you need further assistance on this issue.




Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You can make it transitive. You simply need to add:
a "Virtual Network Gateway" in your hub,
a "Gateway Subnet" in your hub,
* A Route Table to each of your B and C subnets with route to other VNet CIDR and next hop on the Virtual Appliance automatically deployed in the "Gateway Subnet". eg: If you declare a "GW Subnet" with the CIDR 10.0.0.0/16, then it has, by default a Virtual Appliance on 10.0.0.4.

1 Vote 1 ·