CCNA 200-301 · IP Connectivity · medium
An OSPF router is booted with no manual router-id command configured under router ospf 1. Its active IPv4 interfaces are: - GigabitEthernet0/0: 192.168.250.1/24 (up/up) - GigabitEthernet0/1: 172.16.100.1/24 (up/up) - Loopback0: 10.1.1.1/32 (up/up) - Loopback1: 10.99.99.1/32 (up/up) Which IPv4 address does OSPF select as its Router ID (RID)?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. 10.99.99.1 because it is the highest IPv4 address among active Loopback interfaces
OSPF selects its 32-bit Router ID using a strict 3-step precedence: (B) an explicitly configured router-id <ip> command, (C) the highest IPv4 address on any active Loopback interface, and (D) the highest IPv4 address on any active physical interface. Between Loopback0 (10.1.1.1) and Loopback1 (10.99.99.1), 10.99.99.1 is the highest active loopback IP.
Why the other options are wrong
- A. 192.168.250.1 because it is the numerically highest IPv4 address on the router — Active Loopback interfaces always take precedence over physical interfaces regardless of numeric value.
- C. 10.1.1.1 because Loopback0 has a lower interface index than Loopback1 — Among multiple Loopback interfaces, OSPF selects the highest IPv4 address (10.99.99.1), not the lowest interface number.
- D. 172.16.100.1 because Class B private addresses are preferred by OSPF — OSPF Router ID selection does not prefer Class B over Loopback interfaces.
More IP Connectivity questions
- Two core routers (R1 and R2) are configured in HSRP (Hot Standby Router Protocol) Group 10 on VLAN 10 (10.10.10.0/24)…
- An enterprise branch router learns its primary route to the headquarters subnet 10.0.0.0/16 via OSPF (Gig0/0). The…
- Two routers (R1 and R2) are connected over a shared GigabitEthernet broadcast segment (10.1.12.0/24) running OSPFv2…
- A Cisco router receives a packet destined for IPv4 address 10.16.1.50. The router has the following four routes in its…
- In an enterprise network, the OSPF auto-cost reference-bandwidth has been increased on all routers to 10000 (10,000…
Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.