question

RinshadR-2100 avatar image
0 Votes"
RinshadR-2100 asked GitaraniSharmaMSFT-4262 rolled back

Not able to communicate between spokes

129297-screen-shot-2021-09-04-at-20837-pm.jpgHello,

I have created a Hub and Spoke topology to establish a connection from one VNET to another. But am not able to connect the VM from Spoke-A to the VM in spoke-B.

Here is how I created the connections.

  1. Created 3 VNET named as vnet-for-hub-A, vnet-spoke-A (VM-A), vnet-spoke-B (VM-B)

  2. Created a Virtual network gateway and connected it to vnet-hub (Route based)

  3. created 2 peering for vnet-spoke-A and vnet-spoke-B from vnet-hub

  4. created 2 route tables for vnet-spoke-A and vnet-spoke-B with Next hope as virtual network gateway

But am not able to communicate from VM-A to VM-B


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
0 Votes"
GitaraniSharmaMSFT-4262 answered GitaraniSharmaMSFT-4262 rolled back

Hello @RinshadR-2100 ,

Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

If you require connectivity between spokes, you can use a VPN gateway to route traffic between spokes, although this choice will impact latency and throughput. In this scenario, you must configure the peering connections to allow forwarded traffic. Then create routes to forward traffic from the spoke to the VPN gateway, which can then route to the second spoke.

To enable transit connectivity, please enable the below options in your configured Vnet peerings:

From Hub Vnet to Spoke Vnet Peering:
129680-image.png

From Spoke Vnet to Hub Vnet Peering:
129637-image.png

Please refer below articles for more details:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke?tabs=cli#spoke-connectivity
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-peering-issues#troubleshoot-a-hub-spoke-network-connectivity-issue-between-spoke-virtual-networks-in-the-same-region

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


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.





image.png (43.6 KiB)
image.png (63.5 KiB)
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.