Soru

Zorluk: KolayConfigure Virtual Network Peering

Your company has a hub-and-spoke network topology in Azure consisting of three virtual networks: `Hub-VNet` (10.10.0.0/1610.10.0.0/16), `Spoke-VNet1` (10.20.0.0/1610.20.0.0/16), and `Spoke-VNet2` (10.30.0.0/1610.30.0.0/16). Virtual machines are deployed in subnets within all three virtual networks to establish data plane connectivity.

You configure virtual network peering between `Hub-VNet` and `Spoke-VNet1`, and between `Hub-VNet` and `Spoke-VNet2`. No virtual network gateways or virtual appliances are deployed.

Which configuration is required to allow virtual machines in `Spoke-VNet1` to communicate directly with virtual machines in `Spoke-VNet2` over the Azure backbone network?

  1. A
    Enable 'Allow gateway transit' on the peering from `Hub-VNet` to both spokes.
  2. Configure a direct virtual network peering between `Spoke-VNet1` and `Spoke-VNet2`.Cevap
  3. C
    Enable 'Use remote gateways' on the peering from the spokes to `Hub-VNet`.
  4. D
    Enable 'Allow forwarded traffic' on all peerings to automatically route traffic between the spokes.

Cevap

Configure a direct virtual network peering between `Spoke-VNet1` and `Spoke-VNet2`.
The correct answer is configuring a direct virtual network peering between the two spokes. Since Azure virtual network peering is non-transitive, traffic cannot flow from one spoke to another through a hub VNet without a transit routing mechanism such as a Network Virtual Appliance (NVA) and User-Defined Routes (UDRs). Peerings must be established directly between the communicating virtual networks to allow direct communication over the Azure backbone network.

Adım Adım Çözüm

1
Analyze the existing network topology and peering configuration.
Two spokes (`Spoke-VNet1` and `Spoke-VNet2`) are peered with `Hub-VNet`, but not directly with each other.
To determine how traffic flows between virtual networks.
2
Apply the rule of virtual network peering transitivity.
Since Azure virtual network peering is non-transitive by default, traffic cannot transit from `Spoke-VNet1` through `Hub-VNet` to reach `Spoke-VNet2`.
To identify why the current configuration does not allow communication between the spokes.
3
Select the correct solution to establish direct connectivity.
Creating a direct peering connection between `Spoke-VNet1` and `Spoke-VNet2` bypasses the non-transitive limitation.
Direct peering enables direct VM-to-VM communication over the Azure backbone without routing through the hub.

Anahtar Kavram

Azure virtual network peering is non-transitive. To route traffic between two spokes in a hub-and-spoke topology without deploying a network virtual appliance in the hub, a direct virtual network peering link must be established between the two spokes.
Bu soruyu puanla