A Cisco router has OSPFv2 process 1 initialized without an explicitly configured router ID. The interface operational statuses and IPv4 address assignments are as follows:
- Loopback0: 172.25.1.1/32 (administratively down, down/down)
- Loopback1: 10.120.5.1/32 (up/up)
- Loopback2: 10.80.99.1/32 (up/up)
- GigabitEthernet0/0: 192.168.50.1/24 (up/up)
What IPv4 address will OSPFv2 select as the router ID for process 1?
Answer: 10.120.5.1
Answer
10.120.5.1
OSPF selects its Router ID using the following strict hierarchy: 1) Explicitly configured `router-id` command, 2) Highest IPv4 address among active (up/up) loopback interfaces, 3) Highest IPv4 address among active (up/up) physical interfaces. Here, Loopback1 (10.120.5.1) and Loopback2 (10.80.99.1) are both active loopbacks. Since 10.120.5.1 is numerically higher than 10.80.99.1, 10.120.5.1 is chosen.
Step-by-Step Solution
Key Concept
OSPFv2 Router ID Election Logic