|
| 1 | +--- |
| 2 | +title: Virtual WAN to Virtual WAN connectivity |
| 3 | +description: Learn about the different available options for connecting your Azure Virtual WAN to other Virtual WANs. |
| 4 | +author: halkazwini |
| 5 | +ms.author: halkazwini |
| 6 | +ms.service: azure-virtual-wan |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 03/24/2025 |
| 9 | +--- |
| 10 | + |
| 11 | +# Virtual WAN to Virtual WAN connectivity options |
| 12 | + |
| 13 | +In this article, you learn about the various connection options available to connect multiple Virtual WAN environments. |
| 14 | + |
| 15 | +## IPsec tunnels using virtual network gateways |
| 16 | + |
| 17 | +In this option, you can provision a virtual network gateway in each virtual hub of your virtual WAN environment to connect virtual WANs together. |
| 18 | + |
| 19 | +Because the virtual network gateway ASN is always 65515, you can't have BGP over IPsec due to BGP loop prevention mechanism as the remote virtual hub will receive routes from the source virtual hub with 65515 in the AS-PATH and BGP will drop that. Therefore, if you want to connect two different virtual WANs, the tunnels must use static routing. |
| 20 | + |
| 21 | +:::image type="content" source="./media/virtual-wan-connectivity/vwan-connectivity-using-vpn-gateway.png" alt-text="Diagram shows virtual WAN connectivity using virtual network gateways." lightbox="./media/virtual-wan-connectivity/vwan-connectivity-using-vpn-gateway.png"::: |
| 22 | + |
| 23 | +This option is good for you if you want to connect two virtual WANs together using virtual network gateways, but it has the following limitations: |
| 24 | + |
| 25 | +- No BGP support |
| 26 | +- Max throughput per tunnel is 2.4 Gbps, depending on ciphers. You can add more tunnels to achieve higher throughput. |
| 27 | + |
| 28 | +## IPsec tunnels using SD-WAN devices |
| 29 | + |
| 30 | +This option is good for you if you have your own SD-WAN devices in your Virtual WANs to connect to on-premises environments. By using an SD-WAN device in each respective virtual hub to connect virtual WANs, you can run BGP over IPsec for these connections. |
| 31 | + |
| 32 | +In order to make the routing work, you must use "AS-Path Replace" or "AS-Path Exclude" BGP commands in your SD-WAN devices for ASNs: 65520 and 65515. The command for example would be "as-path exclude 65520 65515" or similar depending on the SD-WAN vendor. You would then need to apply that inbound route-map to each BGP peer. That way, the remote virtual hub's SD-WAN won't drop the route, because it won't see its own ASN in the path. This is the same behavior as in the first connectivity option, except here we have the ability to do BGP manipulation on third party devices unlike the Azure virtual network gateways. The SD-WAN devices can use different ASNs and do eBGP, or they could also be the same ASN and have an iBGP session. |
| 33 | + |
| 34 | +:::image type="content" source="./media/virtual-wan-connectivity/vwan-connectivity-using-sdwan-nva.png" alt-text="Diagram shows virtual WAN connectivity using SD-WAN devices in the virtual hubs." lightbox="./media/virtual-wan-connectivity/vwan-connectivity-using-sdwan-nva.png"::: |
| 35 | + |
| 36 | + |
| 37 | +## IPsec tunnels using SD-WAN devices in peered spokes |
| 38 | + |
| 39 | +This would be the similar to option 3, except we have the SD-WAN device in a spoke VNet that is VNet peered to each virtual hub. We then would BGP peer the SD-WAN device to the Route Server instances inside the virtual hub. This is a good for scenarios where users have SD-WAN devices that cannot be deployed inside virtual hubs, but still support BGP. Like above, we need to apply inbound route-maps to each SD-WAN device and do the "same as-path exclude or as-path replace on both 65520 and 65515 ASNs" so the receiving end does not drop the routes. |
| 40 | + |
| 41 | +:::image type="content" source="./media/virtual-wan-connectivity/vwan-connectivity-using-spoke-sdwan.png" alt-text="Diagram shows virtual WAN connectivity using SD-WAN devices in spoke virtual networks." lightbox="./media/virtual-wan-connectivity/vwan-connectivity-using-spoke-sdwan.png"::: |
0 commit comments