Soru

Zorluk: OrtaConfigure Virtual Network Peering

An administrator is configuring connectivity between an on-premises network and Azure resources. The environment includes the following virtual networks in the West US region:
* `VNet-Hub` (10.50.0.0/1610.50.0.0/16) contains a virtual network gateway and a virtual machine named `VM-Hub` deployed in a subnet.
* `VNet-Spoke1` (10.60.0.0/1610.60.0.0/16) contains a virtual machine named `VM-Spoke1` deployed in a subnet.

The on-premises network is connected to the virtual network gateway in `VNet-Hub` via a Site-to-Site VPN. Virtual network peering is established between `VNet-Hub` and `VNet-Spoke1`.

You need to ensure that `VM-Spoke1` can access the on-premises network through the gateway in `VNet-Hub`.

Which of the following configuration settings must be enabled to meet this requirement? (Select two.)

  1. Configure 'Allow gateway transit' on the peering link from VNet-Hub to VNet-Spoke1.Cevap
  2. Configure 'Use remote gateways' on the peering link from VNet-Spoke1 to VNet-Hub.Cevap
  3. C
    Configure 'Use remote gateways' on the peering link from VNet-Hub to VNet-Spoke1.
  4. D
    Configure 'Allow forwarded traffic' on the peering link from VNet-Spoke1 to VNet-Hub.

Cevap

To enable spoke-to-on-premises connectivity through the hub's gateway, you must enable 'Allow gateway transit' on the peering link from the hub virtual network to the spoke, and enable 'Use remote gateways' on the peering link from the spoke virtual network to the hub.
To establish connectivity from the spoke virtual network to the on-premises network via the hub's virtual network gateway, you must configure gateway transit on the peering connection. This requires configuring 'Allow gateway transit' on the peering link from VNet-Hub to VNet-Spoke1 (so the hub shares its gateway) and configuring 'Use remote gateways' on the peering link from VNet-Spoke1 to VNet-Hub (so the spoke uses the hub's gateway).

Adım Adım Çözüm

1
Configure the hub-side peering link configuration
Enable 'Allow gateway transit' on the peering from VNet-Hub to VNet-Spoke1.
This allows the hub virtual network to share its virtual network gateway with the peered spoke virtual network.
2
Configure the spoke-side peering link configuration
Enable 'Use remote gateways' on the peering from VNet-Spoke1 to VNet-Hub.
This configuration allows resources in the spoke virtual network to route traffic through the hub's remote virtual network gateway to reach the on-premises network.

Anahtar Kavram

Gateway transit in virtual network peering allows peered virtual networks to share a gateway and get connectivity to on-premises networks.
Tahmini Süre:1m 30s
Bu soruyu puanla