Introduction
VNet Peering allows communication between peered networks. It provides high bandwidth between all the resources.
Step 1
Log into your account on Azure Portal here.
In the dashboard, choose to “Create a resource” under the new select “Networking”, then select "Virtual network".
Step 2
In this demo, we need two Virtual Networks. The information about the configuration of both is given below.
- Name - BattiVNet1
- IP Address Space – 10.10.0.0/16
- Subnet Range – 10.10.0.0/24
- Name - ColomboVNet1
- IP Address Space – 192.168.1.0/24
- Subnet Range – 192.168.1.0/24
Enter the Name, Address space, Resource group, and Subnet. Then, click “Create”.
Follow the same process to create the ColomboVNet1 Virtual Network.
Step 3
Here, we have successfully created two Virtual Networks.
Step 4
To verify our “BattiVnet1” network's address space information, click the BattiVnet and find the address space,i.e., 10.10.0.0/16.
Step 5
To create the peering, click “Peering” under "Overview" and click “+Add” to start the configuration.
Step 6
Enter the name for Peering. In this demo, our BattiVnet1 Peering name is “BattiVNetToColomboVNet”. Under the Virtual Networks part, we need to choose our second Virtual Network. In this demo, we have “ColomboVnet1”, so select “ColomboVnet1” and then click “OK”.
Step 7
Now, we can check our “PEERING STATUS”. It’s initiated. If we set up our next peering, it will get automatically connected.
Step 8
Repeat the same process of Step 6, name it as “ColomboVNetTOBattiVNet”, and the Virtual Network is “BattiVnet1”. So, click OK to configure.
Step 9
Now, we can check our PEERING STATUS, that is showing “Connected”.
Step 10
Now, we can check both our Peerings. It will display the Peering Status and the Virtual Network.
Summary
I hope you now understand how to access and create the VNet Peering in Azure. If you have any questions, feel free to comment under my article.