Router R1 and Router R2 are directly connected via their GigabitEthernet0/0 interfaces across an Ethernet link. A network engineer attempts to establish an OSPFv2 neighbor relationship between them in Area 0.
The interfaces are configured with the following parameters:
- Router R1 (Gi0/0): IP address 172.16.10.1/24 (Subnet Mask: 255.255.255.0), OSPF Area 0, Hello timer 10s, Dead timer 40s
- Router R2 (Gi0/0): IP address 172.16.10.2/25 (Subnet Mask: 255.255.255.128), OSPF Area 0, Hello timer 10s, Dead timer 40s
Executing `show ip ospf neighbor` on both routers reveals no neighbor entries. Which statement correctly explains why R1 and R2 fail to establish an OSPFv2 neighbor adjacency?
- AThe OSPF process IDs configured on R1 and R2 do not match.
- The subnet masks configured on the interconnecting interfaces do not match.Answer
- CThe routers are using different subnet lengths, which prevents basic IP unicast connectivity between 172.16.10.1 and 172.16.10.2.
- DThe Dead timers are mismatched because the Dead timer is automatically derived by multiplying the Hello timer by the prefix length.
Answer
The correct explanation is that the subnet masks configured on the interconnecting interfaces do not match.
For OSPFv2 neighbor adjacencies to form over broadcast multiaccess or point-to-point networks, specific fields within the OSPF Hello packet must match across neighboring interfaces. One critical requirement is that the subnet mask of the primary IP address configured on the interface must be identical on both ends. Since R1 is configured with a /24 subnet mask and R2 is configured with a /25 subnet mask, the routers drop received Hello packets and fail to establish an OSPF neighbor relationship.
Step-by-Step Solution
Key Concept
OSPFv2 Hello Packet Parameter Matching Requirements