Hub & Spoke network Architecture With Azure P2S VPN

Abdullah Alattar 97 Reputation points
2023-04-12T02:44:01.0333333+00:00

I 3 virtual network, 1 as Hub 2 as Spoke, in the Hub VNet i created VPN gateway(basic) with P2S configuration. I peered the 2 spoke networks with the Hub network and I enabled gateway transit for VNet peering. the Hub could communicate with both of the Spoke networks. I could communicate with Hub network via VPN. But I could not reach both of the spoke virtual networks via VPN. The current environment is as follow: On-premise-->Hub VNet ----> Spoke VNets.
Please advise.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,795 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,775 questions
{count} vote

Accepted answer
  1. KapilAnanth-MSFT 49,611 Reputation points Microsoft Employee Moderator
    2023-04-12T04:46:05.36+00:00

    @Abdullah Alattar Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well. I understand that you would like to establish communication between Spoke VNets and the OnPrem via the Hub VNet. Can you please confirm if you have enabled VPN gateway transit for virtual network peering

    • Make sure you check Use this virtual network's gateway or Route Server in the peering from HubVnet side
    • And, check Use the remote virtual network's gateway or Route Server in the peering from SpokeVnet side
    • From the VMs of the SpokeVnet's subnet, kindly make sure you do not have any route table attached

    Thanks, Kapil


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

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.