Sub topic 16
Troubleshooting Stuck Adjacencies
This chapter assumes you know the Hello protocol, the neighbor state machine, and the show commands from the previous chapter. It covers what to check when two routers will not reach Full.
Read the State First
The state tells you where to look. It is the fastest clue you have.
| Stuck state | What it usually means | First thing to check |
|---|---|---|
| No neighbor listed | Hellos are not received or are rejected | Interface up, area, timers, subnet, authentication |
| INIT | You hear the neighbor, but it does not hear you | ACLs, one-way link, mismatched settings on the other side |
| 2-WAY | Normal between two DROTHERs on a broadcast segment | Nothing, unless a DR or BDR is expected |
| EXSTART or EXCHANGE | Database exchange fails | MTU mismatch, duplicate router IDs |
| LOADING | LSA requests are not answered | MTU, packet loss, corrupt LSAs |
Hello Parameters That Must Match
Two routers reject each other's Hellos if any of these differ:
- Area ID.
- Subnet and mask (except on point-to-point links).
- Hello and dead timers.
- Authentication type and key.
- Stub area flag.
The router ID must be unique, but it is not carried as a match test. Two routers with the same ID can reach 2-WAY and then fail later.
A Working Method
- Confirm both interfaces are up and in the same subnet with
show ip interface brief. - Run
show ip ospf interfaceon both ends. Compare area, network type, and timers. - Check that the interface is not passive. A passive interface sends no Hellos.
- Check for ACLs or firewalls that block IP protocol 89, or the multicast addresses 224.0.0.5 and 224.0.0.6.
- If the state reaches EXSTART, compare the MTU on both interfaces.
- Turn on debugging only if the steps above find nothing.
show ip ospf interface GigabitEthernet0/0
show ip ospf neighbor
show interface GigabitEthernet0/0 | include MTU
debug ip ospf adjLook for messages such as "mismatched hello parameters" or "mismatched area ID". They name the exact field that differs.
Diagram of the Decision Path
The MTU Trap
Routers exchange Database Description packets in EXSTART. If one side has a larger interface MTU, its packets may be dropped or rejected by the other side. The neighbor then cycles between EXSTART and EXCHANGE. The best fix is to make the MTU equal on both ends. Using ip ospf mtu-ignore hides the problem and can cause trouble later.
Duplicate Router IDs
If two routers share a router ID, each sees LSAs that claim to be its own. The database becomes unstable, and routes flap or disappear. Check each ID with show ip ospf, then set a unique one with router-id and restart the process with clear ip ospf process.
Exercise
Two routers on a shared Ethernet link show each other in EXSTART, then drop back and repeat. Hello timers, area, and authentication match. What should you check next, and why?
Show answer
Check the interface MTU on both routers. Hellos succeed because they are small, but the larger Database Description packets fail when the MTU differs. Make the MTUs equal. Also confirm the router IDs are unique.