Skip to content

Commit 37ea8da

Browse files
authored
Update 7-enable-cross-virtual-network-connectivity-peering.md
1 parent 6a46df6 commit 37ea8da

1 file changed

Lines changed: 7 additions & 19 deletions

File tree

learn-pr/wwl-azure/introduction-to-azure-virtual-networks/includes/7-enable-cross-virtual-network-connectivity-peering.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ Network traffic between peered virtual networks is private. The virtual networks
1111

1212
Virtual network peering enables you to seamlessly connect two Azure virtual networks. Once peered, the virtual networks appear as one, for connectivity purposes. There are two types of VNet peering.
1313

14+
:::image type="content" source="../media/global-vnet-peering-2368962c.png" alt-text="Diagram with VNet1 in Region 1, and VNet2 and VNet3 in Region 2. VNet2 and VNet3 are connected with regional VNet peering. VNet1 and VNet2 are connected with a global VNet peering.":::
15+
1416
- **Regional VNet peering** connects Azure virtual networks in the same region.
15-
- **Global VNet peering** connects Azure virtual networks in different regions. The peered virtual networks can exist in any Azure public cloud region or China cloud regions, but not in Government cloud regions. You can only peer virtual networks in the same region in Azure Government cloud regions.
17+
- **Global VNet peering** connects Azure virtual networks in different regions.
1618

17-
:::image type="content" source="../media/global-vnet-peering-2368962c.png" alt-text="Diagram with VNet1 in Region 1, and VNet2 and VNet3 in Region 2. VNet2 and VNet3 are connected with regional VNet peering. VNet1 and VNet2 are connected with a global VNet peering.":::
19+
> [!TIP]
20+
> Azure also supports [subnet peering](/azure/virtual-network/how-to-configure-subnet-peering), a more granular peering option. Subnet peering lets you select specific subnets to peer across virtual networks rather than peering entire address spaces.
1821
1922
### Benefits of virtual network peering
2023

@@ -24,28 +27,13 @@ The benefits of using virtual network peering, whether local or global, include:
2427
- The ability to apply network security groups in either virtual network to block access to other virtual networks or subnets.
2528
- The ability to transfer data between virtual networks across Azure subscriptions, Microsoft Entra tenants, deployment models, and Azure regions.
2629
- The ability to peer virtual networks created through the Azure Resource Manager.
27-
- The ability to peer a virtual network created through Resource Manager to one created through the classic deployment model.
2830
- No downtime to resources in either virtual network is required when creating the peering, or after the peering is created.
2931

30-
31-
32-
## Configure VNet Peering
33-
34-
Here are the steps to configure VNet peering. Notice you need two virtual networks. To test the peering, you need a virtual machine in each network. Initially, the VMs won't be able to communicate, but after peering the communication works.
35-
36-
1. Create two virtual networks.
37-
2. **Peer the virtual networks**.
38-
3. Create virtual machines in each virtual network.
39-
4. Test the communication between the virtual machines.
40-
41-
> [!NOTE]
42-
> When you add a peering on one virtual network, the second virtual network configuration is automatically added.
43-
4432
### Gateway Transit and Connectivity
4533

4634
You can configure a VPN gateway in the peered virtual network as a [gateway transit](/azure/vpn-gateway/vpn-gateway-peering-gateway-transit) point. In this case, a peered virtual network uses the remote gateway to gain access to other resources. A virtual network can have only one gateway. Gateway transit is supported for both VNet Peering and Global VNet Peering.
4735

48-
Gateway Transit allows the virtual network to communicate to resources outside the peering. For example, the subnet gateway could:
36+
For example, the subnet gateway could:
4937

5038
- Use a site-to-site VPN to connect to an on-premises network.
5139
- Use a VNet-to-VNet connection to another virtual network.
@@ -59,4 +47,4 @@ In these scenarios, gateway transit allows peered virtual networks to share the
5947
> Network security groups can be applied in either virtual network to block access to other virtual networks or subnets.
6048
6149

62-
Choose the best response for each question.
50+
Choose the best response for each question.

0 commit comments

Comments
 (0)