How to do it...

To create a VNet-2-VNet connection, we must follow these steps:

  1. In Azure portal, locate one of the virtual network gateways (associated with one of the VNets you are trying to connect to).
  2. In the virtual network gateway blade, select Connections and select Add to add a new connection:
  1. In a new blade, enter the name for a new connection and select VNet-to-VNet under Connection type:
  1. The first virtual network gateway will be automatically highlighted. We need to select the second virtual network gateway:
  1. We need to provide ...

Get Azure Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.