Soru

Zorluk: KolayConfigure Virtual Network Peering

An administrator is configuring a peering connection from a hub virtual network named VNet-Hub (10.1.0.0/1610.1.0.0/16) to a spoke virtual network named VNet-Spoke (10.2.0.0/1610.2.0.0/16). Both virtual networks have virtual machines deployed in their subnets. VNet-Hub contains a virtual network gateway. The administrator wants virtual machines in VNet-Spoke to be able to use the virtual network gateway in VNet-Hub to access on-premises resources. Which two actions must the administrator perform to configure this gateway transit functionality?

  1. On the peering from VNet-Hub to VNet-Spoke, select 'Allow gateway transit'Cevap
  2. On the peering from VNet-Spoke to VNet-Hub, select 'Use remote gateways'Cevap
  3. C
    On the peering from VNet-Spoke to VNet-Hub, select 'Allow gateway transit'
  4. D
    On the peering from VNet-Hub to VNet-Spoke, select 'Use remote gateways'

Cevap

Enable 'Allow gateway transit' on the peering connection from VNet-Hub to VNet-Spoke, and enable 'Use remote gateways' on the peering connection from VNet-Spoke to VNet-Hub.
To establish gateway transit, the configuration must be set correctly on both sides of the peering connection. The peering link from the virtual network containing the gateway (the hub) must have 'Allow gateway transit' enabled. The peering link from the virtual network that wants to use the gateway (the spoke) must have 'Use remote gateways' enabled.

Adım Adım Çözüm

1
Configure the hub-side peering link (VNet-Hub to VNet-Spoke).
Enable 'Allow gateway transit' so the hub permits peered virtual networks to use its gateway.
This allows the gateway in the hub virtual network to transit traffic for peered networks.
2
Configure the spoke-side peering link (VNet-Spoke to VNet-Hub).
Enable 'Use remote gateways' so the spoke routes its gateway-bound traffic through the peered hub gateway.
This configures the spoke virtual network to utilize the gateway hosted in the peered hub network.

Anahtar Kavram

Gateway transit in virtual network peering allows a spoke virtual network to share the virtual network gateway of a peered hub virtual network.
Bu soruyu puanla