A network engineer starts an OSPFv2 routing process on router Branch-GW. Prior to launching the OSPF process, no explicit router-id command is configured. The router has the following interfaces configured:
- Interface Loopback0: IP address , Operational Status: Administratively Down
- Interface Loopback10: IP address , Operational Status: Up/Up
- Interface Loopback20: IP address , Operational Status: Up/Up
- Interface GigabitEthernet0/0: IP address , Operational Status: Up/Up
What IPv4 address will OSPFv2 select as the Router ID for Branch-GW?
Answer: 172.16.50.1
Answer
172.16.50.1
In Cisco OSPFv2, the Router ID selection order follows three rules: 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. Since no manual Router ID is configured, OSPF evaluates loopback interfaces. Loopback0 is administratively down, so it is ineligible. Between the active loopbacks (Loopback10 at 172.16.50.1 and Loopback20 at 172.16.20.1), 172.16.50.1 is the highest IP address, making it the selected Router ID.
Step-by-Step Solution
Key Concept
OSPFv2 Router ID Election Order and Interface State Requirements