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

  • A192.168.250.1 because it is the numerically highest IPv4 address on the router
  • B10.99.99.1 because it is the highest IPv4 address among active Loopback interfacesCorrect answer
  • C10.1.1.1 because Loopback0 has a lower interface index than Loopback1
  • D172.16.100.1 because Class B private addresses are preferred by OSPF

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.

All IP Connectivity questions and the topic overview →

Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.