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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.