Soru

Zorluk: OrtaRouting Concepts and Dynamic Routing Protocols

Four routers on a shared Layer 2 Ethernet segment are configured to run OSPF using the broadcast network type. The administrator configures the OSPF interface priorities and router IDs as follows:

RouterOSPF Interface PriorityRouter ID
Router A1192.168.1.10
Router B210.10.10.1
Router C010.20.20.20
Router D210.10.10.2

Assuming all routers boot simultaneously and form adjacencies, which router will be elected as the Designated Router (DR) for this multi-access segment?

  1. Router DCevap
  2. B
    Router C
  3. C
    Router B
  4. D
    Router A

Cevap

Router D will be elected as the Designated Router because it shares the highest priority (2) and has a higher Router ID than Router B.
In OSPF broadcast networks, the Designated Router election evaluates highest interface priority first. Routers with priority 0 are completely excluded. Routers B and D tie with a priority of 2. To break the tie, OSPF selects the router with the highest Router ID. Comparing 10.10.10.2 (Router D) against 10.10.10.1 (Router B), Router D has the higher Router ID and is elected DR.

Adım Adım Çözüm

1
Filter out ineligible routers based on OSPF interface priority.
Router C (priority 0) is excluded from DR and BDR election.
Setting an OSPF priority to 0 makes a router ineligible to become a DR or BDR.
2
Compare the remaining routers by highest OSPF interface priority.
Router B and Router D tie with the highest priority of 2, while Router A has a lower priority of 1.
OSPF DR election first evaluates the highest interface priority value.
3
Break the tie between Router B and Router D using Router IDs.
Router D wins with Router ID 10.10.10.2 compared to Router B's 10.10.10.1.
When interface priorities are equal, the router with the highest numeric Router ID is elected.

Anahtar Kavram

OSPF Designated Router (DR) election criteria (Highest Priority > Highest Router ID; Priority 0 excludes).
Tahmini Süre:1m 0s
Bu soruyu puanla