You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/virtual-network-peering-overview.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,26 +7,33 @@ author: asudbring
7
7
ms.service: virtual-network
8
8
ms.topic: conceptual
9
9
ms.workload: infrastructure-services
10
-
ms.date: 07/10/2022
10
+
ms.date: 05/28/2023
11
11
ms.author: allensu
12
12
#customer intent: As a cloud architect, I need to know how to use virtual network peering for connecting virtual networks. This will allow me to design connectivity correctly, understand future scalability options, and limitations.
13
13
---
14
+
14
15
# Virtual network peering
15
16
16
17
Virtual network peering enables you to seamlessly connect two or more [Virtual Networks](virtual-networks-overview.md) in Azure. The virtual networks appear as one for connectivity purposes. The traffic between virtual machines in peered virtual networks uses the Microsoft backbone infrastructure. Like traffic between virtual machines in the same network, traffic is routed through Microsoft's *private* network only.
17
18
18
19
Azure supports the following types of peering:
19
20
20
21
***Virtual network peering**: Connecting virtual networks within the same Azure region.
22
+
21
23
***Global virtual network peering**: Connecting virtual networks across Azure regions.
22
24
23
25
The benefits of using virtual network peering, whether local or global, include:
24
26
25
27
* A low-latency, high-bandwidth connection between resources in different virtual networks.
28
+
26
29
* The ability for resources in one virtual network to communicate with resources in a different virtual network.
30
+
27
31
* The ability to transfer data between virtual networks across Azure subscriptions, Azure Active Directory tenants, deployment models, and Azure regions.
32
+
28
33
* The ability to peer virtual networks created through the Azure Resource Manager.
34
+
29
35
* The ability to peer a virtual network created through Resource Manager to one created through the classic deployment model. To learn more about Azure deployment models, see [Understand Azure deployment models](../azure-resource-manager/management/deployment-models.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
36
+
30
37
* No downtime to resources in either virtual network when creating the peering, or after the peering is created.
31
38
32
39
Network traffic between peered virtual networks is private. Traffic between the virtual networks is kept on the Microsoft backbone network. No public Internet, gateways, or encryption is required in the communication between the virtual networks.
@@ -44,16 +51,20 @@ When you configure virtual network peering, either open or close the network sec
44
51
45
52
## Resize the address space of Azure virtual networks that are peered
46
53
47
-
You can resize the address space of Azure virtual networks that are peered without incurring any downtime on the currently peered address space. This feature is useful when you need to resize the virtual network's address space after scaling your workloads. After resizing the address space, all that is required is for peers to be synced with the new address space changes. Resizing works for both IPv4 and IPv6 address spaces.
54
+
You can resize the address space of Azure virtual networks that are peered without incurring any downtime on the currently peered address space. This feature is useful when you need to resize the virtual network's address space after scaling your workloads. Once the address spaceis resized, peers must sync with the new address space changes. Resizing works for both IPv4 and IPv6 address spaces.
48
55
49
56
Addresses can be resized in the following ways:
50
57
51
58
- Modifying the address range prefix of an existing address range (For example changing 10.1.0.0/16 to 10.1.0.0/18)
59
+
52
60
- Adding address ranges to a virtual network
61
+
53
62
- Deleting address ranges from a virtual network
63
+
54
64
- Resizing of address space is supported cross-tenant
55
65
56
66
Synching of virtual network peers can be performed through the Azure portal or with Azure PowerShell. We recommend that you run sync after every resize address space operation instead of performing multiple resizing operations and then running the sync operation. To learn how to update the address space for a peered virtual network, see [Updating the address space for a peered virtual network](./update-virtual-network-peering-address-space.md).
67
+
57
68
> [!IMPORTANT]
58
69
> This feature doesn't support scenarios where the virtual network to be updated is peered with:
59
70
> * A classic virtual network
@@ -77,7 +88,7 @@ When you configure both options for virtual network interconnectivity, the traff
77
88
78
89
You can also configure the gateway in the peered virtual network as a transit point to an on-premises network. In this case, the virtual network that is using a remote gateway can't have its own gateway. A virtual network could have only one gateway, the gateway should be either local or remote gateway in the peered virtual network as shown in the following diagram:
:::image type="content" source="./media/virtual-networks-peering-overview/local-or-remote-gateway-in-peered-virual-network.png" alt-text="Diagram of virtual network peering transit.":::
81
92
82
93
Both virtual network peering and global virtual network peering support gateway transit.
83
94
@@ -98,6 +109,7 @@ You can also try the [Troubleshoot virtual network peering issues](virtual-netwo
98
109
The following constraints apply only when virtual networks are globally peered:
99
110
100
111
* Resources in one virtual network can't communicate with the front-end IP address of a Basic Load Balancer (internal or public) in a globally peered virtual network.
112
+
101
113
* Some services that use a Basic load balancer don't work over global virtual network peering. For more information, see [What are the constraints related to Global VNet Peering and Load Balancers?](virtual-networks-faq.md#what-are-the-constraints-related-to-global-vnet-peering-and-load-balancers).
102
114
103
115
For more information, see [Requirements and constraints](virtual-network-manage-peering.md#requirements-and-constraints). To learn more about the supported number of peerings, see [Networking limits](../azure-resource-manager/management/azure-subscription-service-limits.md?toc=%2fazure%2fvirtual-network%2ftoc.json#azure-resource-manager-virtual-networking-limits).
@@ -110,7 +122,7 @@ To learn about permissions required to create a virtual network peering, see [Pe
110
122
111
123
There's a nominal charge for ingress and egress traffic that uses a virtual network peering connection. For more information, see [Virtual Network pricing](https://azure.microsoft.com/pricing/details/virtual-network).
112
124
113
-
Gateway Transit is a peering property that enables a virtual network to utilize a VPN/ExpressRoute gateway in a peered virtual network. Gateway transit works for both cross premises and network-to-network connectivity. Traffic to the gateway (ingress or egress) in the peered virtual network incurs virtual network peering charges on the spoke VNet (or non-gateway VNet). For more information, see [VPN Gateway pricing](https://azure.microsoft.com/pricing/details/vpn-gateway/) for VPN gateway charges and ExpressRoute Gateway pricing for ExpressRoute gateway charges.
125
+
Gateway Transit is a peering property that enables a virtual network to utilize a VPN/ExpressRoute gateway in a peered virtual network. Gateway transit works for both cross premises and network-to-network connectivity. Traffic to the gateway (ingress or egress) in the peered virtual network incurs virtual network peering charges on the spoke virtual network (or virtual network without a VPN gateway). For more information, see [VPN Gateway pricing](https://azure.microsoft.com/pricing/details/vpn-gateway/) for VPN gateway charges and ExpressRoute Gateway pricing for ExpressRoute gateway charges.
114
126
115
127
>[!NOTE]
116
128
> A previous version of this document stated that virtual network peering charges would not apply on the spoke VNet (or non-gateway VNet) with Gateway Transit. It now reflects accurate pricing per the pricing page.
@@ -127,5 +139,7 @@ Gateway Transit is a peering property that enables a virtual network to utilize
* To learn how to create a hub and spoke network topology, see [Hub-spoke network topology in Azure](/azure/architecture/reference-architectures/hybrid-networking/hub-spoke?toc=%2fazure%2fvirtual-network%2ftoc.json).
142
+
130
143
* To learn about all virtual network peering settings, see [Create, change, or delete a virtual network peering](virtual-network-manage-peering.md).
144
+
131
145
* For answers to common virtual network peering and global virtual network peering questions, see [VNet Peering](virtual-networks-faq.md#vnet-peering).
0 commit comments