Start with basic connectivity: can the routers ping each other across that link? Then check that the settings which must match do match: area ID, subnet and mask, hello and dead timers, authentication, area type and network type. Check the interface is not passive and that nothing is filtering OSPF. If the neighbours get stuck in the exstart or exchange state, suspect an MTU mismatch, and check for duplicate router IDs.
Why interviewers ask this
This is a classic practical question that separates people who have configured OSPF from those who have only read about it. The interviewer wants a systematic checklist rather than random guesses, and they listen for the details that commonly break adjacencies, such as mismatched timers, passive interfaces and MTU mismatches. Using the neighbour state as a clue to which stage is failing shows real troubleshooting experience.
How to structure your answer
- Confirm connectivity on the link itself.
- Compare the settings that must match.
- Check passive interfaces and filtering.
- Use the neighbour state to narrow it down.
Example answer
First I check the link itself. Are both interfaces up, are they in the same subnet, and can I ping across? If not, it is not an OSPF problem yet. Then I look at the neighbour table on both routers, because the state tells me a lot. If there is no neighbour at all, hellos are not arriving or are being rejected, so I compare the area ID, the subnet mask, the hello and dead intervals, the authentication type and key, and the area type, since a stub flag mismatch also stops it. I check the interface is not passive, a common mistake when passive is the default and someone forgot the exception. I check that no access list or firewall is dropping OSPF, which is IP protocol 89 using the multicast addresses 224.0.0.5 and 224.0.0.6. If the neighbours appear but stick in exstart or exchange, the classic cause is an MTU mismatch, because the database description packets cannot be processed. A duplicate router ID causes strange behaviour too. Once you know where to look, the logs often name the mismatch directly.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- What does it mean if a neighbour is stuck in the two-way state?
- Why does an MTU mismatch stop the database exchange?
- How would you safely use debug output on a busy production router?
Related network engineer questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions