简体   繁体   中英

Communicate between VMs on connected Azure Virtual Networks

I have two virtual networks (classic) in Azure, and I need to be able to ssh between vms on these networks. I have followed the instructions here ( https://azure.microsoft.com/en-us/blog/vnet-to-vnet-connecting-virtual-networks-in-azure-across-different-regions/ ), and successfully connected the networks. However, when I try and ping vm1 on vnet1 and vm2 on vnet2 the request times out, so it looks like vm1 cannot see vm2. Are there any further steps I need to take to allow communication? Shouldn't they be able to see each other's private IP addresses?

That's a pretty loaded question, but I think there is a better walk through for you to have a look at:

Configure a VNet-to-VNet connection in the Azure Classic Portal

or

Configure a VNet-to-VNet connection for virtual networks in the same subscription by using Azure Resource Manager and PowerShell

Pick your poison... I've verified both of these work as intended if you follow the steps carefully.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM