Routing Problem - Azure to Onpremise

rawzace 46 Reputation points
2021-11-03T17:37:09.96+00:00

146311-capture.pngAll 3 VM has IIS installed.

I have attached the sample network diagram.
I have Site to Site VPN setup between VNet1 and VnetB.
VM1 is able to access the VM2 at VNetB. VM2 is also able to access the VM1.

I have peered VnetB and VnetC with Traffic to remote virtual network- Enabled, Traffic forwarded from remote virtual network- Enabled.
But i am not able to reach VM3 from VM1 or VM1 to VM3.

I have added the route to both 10.2.0.0/16 and 10.3.0.0/16 on VM1 but still not working.

The VM3 also doesnot have any route to 10.4.0.0/16 on this routes if i check the routes on its NIC.

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,369 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
321 questions
0 comments No comments
{count} votes

Accepted answer
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2021-11-03T17:49:39.27+00:00

    @rawzace ,

    Make sure the blow items are in place:

    1. VNET A and VNET B is Site to Site not VNET to VNET connection. When you create Site to Site connection, you will have Local Network Gateway deployed in each VNET and you will add address spaces. In VNET A's Local Network Gateway, you will need to add VNET B, C's address space and in the VNETB's LNG you need to Add VNET A's Address space.
    2. Make sure that the Gateway transit is enabled on VNET B and remote gateway is enabled on VNET C.

    If these are in place, this scenario should work. If not let me know.

    Regards,
    Karthik Srinivas

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. rawzace 46 Reputation points
    2021-11-03T18:09:14.197+00:00

    Hello Srinivas,

    Thank you for your reply. I have satisfied both of the items you mentioned above but its still not working.

    I can provide the screenshots to you if required. Any other advise or help is greatly appreciated.

    Thanks,
    Rajesh Khanal