Soru

Zorluk: ZorConfigure Virtual Network Peering

An administrator is configuring connectivity in an Azure subscription. The environment contains the following resources in the East US region:

* VNet-Hub (10.150.0.0/1610.150.0.0/16): Contains a subnet named GatewaySubnet with an active Virtual Network Gateway, and a subnet named Subnet-Hub containing a virtual machine named VM-Hub.
* VNet-SpokeA (10.160.0.0/1610.160.0.0/16): Contains a subnet named Subnet-A containing a virtual machine named VM-SpokeA.
* VNet-SpokeB (10.170.0.0/1610.170.0.0/16): Contains a subnet named Subnet-B containing a virtual machine named VM-SpokeB.

The administrator configures virtual network peering between VNet-Hub and VNet-SpokeA, and between VNet-Hub and VNet-SpokeB. No direct peering exists between VNet-SpokeA and VNet-SpokeB.

You need to ensure that VM-SpokeA can communicate with an on-premises network connected via the Virtual Network Gateway in VNet-Hub.

Which of the following configuration settings must be enabled on the virtual network peering links to meet this requirement? Select two.

  1. Enable Allow gateway transit on the peering link from VNet-Hub to VNet-SpokeA.Cevap
  2. Enable Use remote gateways on the peering link from VNet-SpokeA to VNet-Hub.Cevap
  3. C
    Enable Use remote gateways on the peering link from VNet-Hub to VNet-SpokeA.
  4. D
    Rely on a virtual network peering between VNet-SpokeA and VNet-SpokeB to route traffic transitively through VNet-SpokeB to the gateway, as peered networks are transitive by default.

Cevap

To allow communication between the spoke virtual network and the on-premises network, you must enable 'Allow gateway transit' on the peering link from the hub virtual network to the spoke virtual network, and enable 'Use remote gateways' on the peering link from the spoke virtual network to the hub virtual network.
To establish connectivity between a virtual machine in a spoke virtual network and an on-premises network through a gateway in a hub virtual network, two peering configurations are required: 'Allow gateway transit' must be enabled on the peering link from the hub virtual network to the spoke virtual network, and 'Use remote gateways' must be enabled on the peering link from the spoke virtual network to the hub virtual network.

Adım Adım Çözüm

1
Configure the peering link from the hub virtual network (VNet-Hub) to the spoke virtual network (VNet-SpokeA).
The 'Allow gateway transit' option is enabled.
This allows the hub virtual network to share its gateway with the spoke virtual network.
2
Configure the peering link from the spoke virtual network (VNet-SpokeA) to the hub virtual network (VNet-Hub).
The 'Use remote gateways' option is enabled.
This allows the spoke virtual network to route traffic to the gateway in the hub virtual network.

Anahtar Kavram

Gateway transit in virtual network peering allows a peered virtual network to use the virtual network gateway in the hub virtual network to connect to on-premises networks.
Bu soruyu puanla