Virtual network peering in Azure Portal

Virtual network peering enables you to seamlessly connect two Azure virtual networks. Once peered, the virtual networks appear as one, for connectivity purposes. The traffic between virtual machines in the peered virtual networks is routed through the Microsoft backbone infrastructure, much like traffic is routed between virtual machines in the same virtual network, through private IP addresses only. Azure supports:

Source Microsoft Doc

Step 1 : I have posted my previous article to “Create a virtual network & virtual machine by using the Azure portal” please refer this link . Continuing that this article we are going to learn about vnet peering across azure regions.

Step  2 : Login in to Microsoft azure ( portal with your credential

Step 3 : Click on the  button in the left side blade.   



Step 4 :To get know more details of the virtual machine then click on the VM which is available in the Virtual machines page.



Note :

 every vm in azure interally it will get connected through by private IP’s only

if  you want allow people to connect the vm through RDP , make sure while creating vm you have selected “Allow selected ports” option in pulic inbound section. please refer this link  to more details to creating the vm.


Step 6: to verify the RDP click on the  button then right side panel click on the  buton the RDP file would be downloaded.



If you are a windows user then click on the RDP ,enter the server IP address with vm user name and password.



Step 7 :repeat the steps Step: 15 - Step: 24 which is mentioned in my previous (please refer this link )  article to create another new the vm.



Step 8 : Click on the  button to open virtual network setup


Step 9 : Click on the  button and then clik on  the button to create new peering

Step 10: enter the name ,select virtual network and click on the  button.

Step 11 : Open the vm which has public IP enabled and then enter “cmd” in the run , hit enter.


Step 12: enter the IP private IP address of the another vm then you can able to ping status.