Have created VPN peering but unable to reach to on prem network over the VPN-LNG

Mohamed Hasan Adnan 45 Reputation points
2023-12-12T13:08:49.7566667+00:00

Hi everyone, I have three Vnet (192..., 172..., 10...)and two VPN gateways that are connected to my two onprem VPN gateways through Local network gateway. I have peered all the vnets but when I try to ping my onprem server 172... from one of the vnets that has vm 192... It doesn't get through. Alternatively I tried enabling the remote gateway in the peering and I was able to ping from that particular network 192... To 172 but 10.... Cannot ping to 172.. How to solve this. I would image if the vnets are peered then it should just be able to reach all the ips as if it is the same network.. please clarify. Thanks 🙏

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,734 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,730 questions
{count} votes

Accepted answer
  1. Silvia Wibowo 5,871 Reputation points Microsoft Employee Moderator
    2023-12-13T21:18:41.06+00:00

    Hi @Mohamed Hasan Adnan , why do you need two VPN gateways? If you use one VPN gateway to connect to both your on-prem locations, your VM1 will be able to reach both S1 and S2.

    1 person found this answer helpful.
    0 comments No comments

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.