A Cisco router initializes OSPFv2 process 100 with no explicitly configured router ID and no active loopback interfaces. The router has three physical interfaces configured with the following IPv4 addresses and operational states:
- GigabitEthernet0/0: 10.200.15.1/24 (Status: up, Line Protocol: up)
- GigabitEthernet0/1: 172.25.1.254/16 (Status: up, Line Protocol: up)
- GigabitEthernet0/2: 192.168.50.5/30 (Status: up, Line Protocol: down)
Which IPv4 address will OSPFv2 select as the Router ID when the routing process starts?
Answer: 172.25.1.254 / 172.25.1.254/16
Answer
172.25.1.254
When OSPF process initializes without an explicit 'router-id' command or any active loopback interfaces, it chooses the highest IPv4 address among operationally active (up/up) physical interfaces. Since GigabitEthernet0/2 is inactive (up/down), only GigabitEthernet0/0 (10.200.15.1) and GigabitEthernet0/1 (172.25.1.254) are eligible. 172.25.1.254 is the highest active address.
Step-by-Step Solution
Key Concept
OSPFv2 Router ID election logic prioritizes active loopback interfaces over physical interfaces, selecting the highest IPv4 address among operationally active (up/up) interfaces when no manual router ID is specified.