IP Connectivity
No router-id command is configured. Loopback0 is 1.1.1.1, G0/0 is 10.0.0.1 and G0/1 is 192.168.1.1, all up. Which router ID does OSPF use?
Show the answer
Correct answerD. 1.1.1.1
AWhy not this: This is the highest physical address, but a loopback takes precedence over physical interfaces.
BWhy not this: 0.0.0.0 is not used while any interface has an IP address; it signals no usable ID.
CWhy not this: This is neither the loopback nor the highest physical address, so it is never chosen.
DWhy this is right: An up loopback is preferred over physical interfaces regardless of numeric value.
Without a router-id command, OSPF uses the highest IP address on an up loopback interface, and only then the highest on an active physical interface. The loopback wins even though its address is numerically lower.