How do you connect two Azure virtual networks so that the virtual machines in the first VNET can communicate with the virtual machines in the second VNET?

Experience Level: Junior
Tags: Azure CloudAzure Virtual MachinesAzure Virtual Networks

Answer

You need to configure a VNET peering.

  • Sign in to Azure Portal
  • Go to Virtual Networks
  • Select the first VNET
  • Click on Peerings
  • Add a new peering
  • Enter the name (for example VNET1-VNET2)
  • Select the second VNET
  • Click on Peerings
  • Add a new peering
  • Enter the name (for example VNET2-VNET1)
  • Click OK


Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Azure Virtual Machines
Azure Virtual Machines

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
Azure Virtual Networks
Azure Virtual Networks

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-500 Microsoft Azure Security Technologies Preparation
AZ-500 Microsoft Azure Security Technologies Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-303 Microsoft Azure Architect Technologies Preparation
AZ-303 Microsoft Azure Architect Technologies Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself