Soru

Zorluk: OrtaConfigure Virtual Network Peering

An administrator is configuring connectivity for an Azure environment containing the following resources:
* `VNet-Hub` (10.100.0.0/1610.100.0.0/16) with a virtual network gateway and virtual machines deployed in its subnets.
* `VNet-SpokeA` (10.101.0.0/1610.101.0.0/16) with virtual machines deployed in its subnets.

You configure virtual network peering between `VNet-Hub` and `VNet-SpokeA`. Virtual machines in `VNet-SpokeA` must be able to use the virtual network gateway in `VNet-Hub` to communicate with an on-premises network.

Which of the following configuration settings must be enabled on the peerings to achieve this goal? (Select two.)

  1. Enable 'Allow gateway transit' on the peering configuration from VNet-Hub to VNet-SpokeA.Cevap
  2. Enable 'Use remote gateways' on the peering configuration from VNet-SpokeA to VNet-Hub.Cevap
  3. C
    Enable 'Allow forwarded traffic' on the peering configuration from VNet-SpokeA to VNet-Hub.
  4. D
    Enable 'Allow gateway transit' on the peering configurations for both VNet-Hub and VNet-SpokeA.

Cevap

Enable 'Allow gateway transit' on the peering configuration from VNet-Hub to VNet-SpokeA, and enable 'Use remote gateways' on the peering configuration from VNet-SpokeA to VNet-Hub.
To configure gateway transit across peered virtual networks, you must configure settings on both ends of the peering connection. The virtual network containing the gateway (VNet-Hub) must be configured to allow transit by enabling 'Allow gateway transit'. The virtual network that will use the gateway (VNet-SpokeA) must be configured to use the remote gateway by enabling 'Use remote gateways'.

Adım Adım Çözüm

1
Configure the hub-to-spoke peering direction settings.
The peering link from VNet-Hub to VNet-SpokeA is configured with 'Allow gateway transit' enabled.
This grants permission for the peered VNet-SpokeA to utilize the virtual network gateway hosted within VNet-Hub.
2
Configure the spoke-to-hub peering direction settings.
The peering link from VNet-SpokeA to VNet-Hub is configured with 'Use remote gateways' enabled.
This instructs VNet-SpokeA to route traffic destined for remote networks (like on-premises) via the gateway in VNet-Hub.

Anahtar Kavram

Virtual Network Peering Gateway Transit
Bu soruyu puanla