Create three vNets to demonstrate transitive BGP connections

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This template creates three VNETs in the same location, each containing a subnet and Gateway subnet. It creates three public IPs which are used to create a VPN Gateway in each VNET, all BGP enabled using private ASNs.

It then establishes a BGP enabled connection between vNet 1 and 2, and vNet 2 and 3.

To demonstrate the transitive routing capabilities, deploy VMs in vNets 1 and 3, connect to the VM in vNet 1 and try to connect (ping/SSH) to the internal IP of the VM in vNet 3.

Notes:

  • The Autonomous System Numbers (ASNs) can be private or public (if you do use a public one, you must be able to prove ownership of it)
  • Enter the Pre-shared Key as a parameter

Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworkGateways, Microsoft.Network/connections