I have two separate classic virtual networks connected site to site with dynamic routing and they able to communicate. The Vnets are in different subsciptions.
- Vnet1 - 10.1.0.0/24
- Vnet2 - 192.168.0.0/24
Each Vnet has classic Virtual machines running and are able to communicate. I have created a Webapp and configured it with Vnet1 with point-to-site connection(172.16.1.0/24).
The Webapp(172.16.1.3) is running and able to communicate with the Vms -(10.1.0.4-10.1.0.5)in Vnet1.
However I would like to access the Vms in Vnet2 with the Webapp.
Note:All the Vms are running Ubuntu server by the way.
There is a similar msdn thread and a stackoverflow which are pretty much left unresolved. My situation is similar, I have database servers in Vnet2 and some Web servers in Vnet1 and the Webapp needs to be able to communicate with both Vnets.
https://social.msdn.microsoft.com/Forums/azure/en-US/dd4330fd-1511-415b-a685-2b827f3f29ea/how-to-connect-web-apps-with-vms-through-more-vnets?forum=WAVirtualMachinesVirtualNetwork
http://stackoverflow.com/questions/31489648/how-to-connect-web-apps-with-vms-through-more-vnets
Sorry for the links, cannot submit links since my account is not verified yet.
What are some possible solutions to this problem? Is it possible to do this using User Defined Rules, if so, any help is appreciated. Thanks