R1 and R2 are directly connected and both configured for OSPF area 0. The IP addresses are correct, but the routers do not become neighbors. What is the most likely cause?
This is correct because OSPF network type controls fundamental adjacency behaviors such as Hello/Dead timer intervals and DR/BDR election. A point-to-point interface expects to form an adjacency without a DR, while a broadcast interface will wait for a DR/BDR process, and their timer values typically differ. Even if both routers have matching subnet masks and are directly connected, a mismatch in network type causes the routers to discard each other's Hello packets or fail to reach Full state, preventing any LSA exchange.
Why this answer
The most likely cause is an OSPF network type mismatch. In practical terms, both routers are on the same IP segment and both are trying to use OSPF in the same area, but they do not agree on the type of OSPF network the interface represents. That matters because OSPF behavior changes depending on the network type, including how neighbors are discovered and how adjacencies are formed.
This is a classic exam-style troubleshooting case because the obvious items look correct: IP addressing works and the area matches. But a mismatch between point-to-point and broadcast expectations can still stop the relationship from forming cleanly. That makes network type mismatch the strongest answer here.
Exam trap
A frequent exam trap is to overlook the importance of matching OSPF network types on connected interfaces. Candidates might assume that correct IP addressing and area numbers are sufficient for adjacency. However, if one router uses a broadcast network type and the other uses point-to-point, they will not become neighbors despite appearing correctly configured.
This subtle mismatch is often missed because it does not generate explicit errors, leading to confusion and incorrect troubleshooting steps.
Why the other options are wrong
This option is incorrect because OSPF neighbor relationships do not depend on matching hostnames. Hostnames are administrative identifiers and do not affect OSPF protocol operations or LSA exchanges.
This option is incorrect because a /30 subnet is a standard subnet size for point-to-point links and does not prevent OSPF from operating or forming adjacencies. OSPF works normally over /30 subnets.