OSPF Lab: FULL Adjacency but the External Route Is Missing
Every neighbor shows FULL, yet one router has no route to a prefix that another router is redistributing. This is a classic OSPF interview scenario, and in this lab you will build it in Cisco Packet Tracer, find the cause, and fix it.
The root cause is an unreachable forwarding address on a Type 5 LSA that was translated from a Type 7 LSA in an NSSA.
Topology
R1 ---- R2 (ABR) ---- R3 (ASBR) ---- R4 (customer) Area 0 | Area 1 (NSSA) | 192.168.99.0/24
Use four Cisco 2911 routers. Connect them with crossover cables (or use the automatic cable option in Packet Tracer).
| Link | Subnet | Addresses |
|---|---|---|
| R1 Gi0/0 to R2 Gi0/0 | 10.0.12.0/30 | R1 .1, R2 .2 |
| R2 Gi0/1 to R3 Gi0/0 | 10.0.23.0/30 | R2 .1, R3 .2 |
| R3 Gi0/1 to R4 Gi0/0 | 192.168.99.0/24 | R3 .2, R4 .1 |
| R1 Gi0/1 (branch LAN, optional) | 10.1.1.0/24 | R1 .1 |
| R4 Loopback0 (customer network) | 172.16.50.0/24 | R4 .1 |
Configuration
R1
hostname R1 ! interface GigabitEthernet0/0 ip address 10.0.12.1 255.255.255.252 no shutdown ! interface GigabitEthernet0/1 ip address 10.1.1.1 255.255.255.0 no shutdown ! router ospf 1 router-id 1.1.1.1 network 10.0.12.0 0.0.0.3 area 0 network 10.1.1.0 0.0.0.255 area 0
R2 (ABR)
hostname R2 ! interface GigabitEthernet0/0 ip address 10.0.12.2 255.255.255.252 no shutdown ! interface GigabitEthernet0/1 ip address 10.0.23.1 255.255.255.252 no shutdown ! router ospf 1 router-id 2.2.2.2 area 1 nssa network 10.0.12.0 0.0.0.3 area 0 network 10.0.23.0 0.0.0.3 area 1 area 1 filter-list prefix NO-FA out ! ip prefix-list NO-FA seq 5 deny 192.168.99.0/24 ip prefix-list NO-FA seq 10 permit 0.0.0.0/0 le 32
R3 (ASBR)
hostname R3 ! interface GigabitEthernet0/0 ip address 10.0.23.2 255.255.255.252 no shutdown ! interface GigabitEthernet0/1 ip address 192.168.99.2 255.255.255.0 no shutdown ! router ospf 1 router-id 3.3.3.3 area 1 nssa network 10.0.23.0 0.0.0.3 area 1 network 192.168.99.0 0.0.0.255 area 1 redistribute static subnets ! ip route 172.16.50.0 255.255.255.0 192.168.99.1
R4 (customer)
hostname R4 ! interface GigabitEthernet0/0 ip address 192.168.99.1 255.255.255.0 no shutdown ! interface Loopback0 ip address 172.16.50.1 255.255.255.0 ! ip route 0.0.0.0 0.0.0.0 192.168.99.2
What you should see
show ip ospf neighborshows FULL on R1, R2, and R3.- On R3,
show ip ospf database nssa-externallists 172.16.50.0 with forwarding address 192.168.99.1. - On R1,
show ip ospf database externallists the translated Type 5 LSA for 172.16.50.0, still carrying forwarding address 192.168.99.1. - On R1,
show ip route 172.16.50.0returns% Network not in table. - On R1,
show ip route 192.168.99.1also returns no route.
Questions to answer before reading the solution
- All adjacencies are FULL and the Type 5 LSA is in the R1 database. Why is the route not in the routing table?
- What is the role of the forwarding address?
- Which commands confirm your theory?
- Give at least two ways to fix it.
Solution
Try the lab yourself before reading on.
Root cause
R3 has a next hop (192.168.99.1) on an OSPF-enabled, non-passive interface, so it sets that address as the forwarding address in the Type 7 LSA. R2 translates the Type 7 to a Type 5 and keeps the forwarding address. R2 also has a prefix-list on the Area 1 outbound filter that blocks 192.168.99.0/24 from reaching Area 0.
As a result, R1 receives the Type 5 LSA but has no OSPF route to the forwarding address 192.168.99.1. A router does not install an external route when the forwarding address is unreachable through an intra-area or inter-area route.
Confirm it
R1# show ip ospf database external 172.16.50.0 R1# show ip route 192.168.99.1 R2# show ip ospf database nssa-external 172.16.50.0 R2# show ip prefix-list NO-FA R2# show run | section router ospf
Fix options
- Remove the filter on R2:
R2(config)# router ospf 1 R2(config-router)# no area 1 filter-list prefix NO-FA out
- Or permit the forwarding address subnet in the prefix-list:
R2(config)# ip prefix-list NO-FA seq 3 permit 192.168.99.0/24
- Or avoid the non-zero forwarding address by making the R3 link to R4 passive. The network statement stays, so the subnet is still advertised, but the forwarding address becomes 0.0.0.0 and traffic is sent to the ASBR (R3):
R3(config)# router ospf 1 R3(config-router)# passive-interface GigabitEthernet0/1
You may need to clear the Type 7 LSA (clear ip ospf processon R3) so it is re-originated with the new forwarding address.
Verify
R1# show ip route 172.16.50.0 R1# ping 172.16.50.1
R1 should now show an O E2 route for 172.16.50.0/24.
Interview takeaway
FULL only means the link-state databases are synchronized. It says nothing about whether a route gets installed. When an external route is in the LSDB but missing from the routing table, check these in order:
- Is the forwarding address reachable through an OSPF route?
- Is the path to the ASBR (Type 4) available?
- Is another protocol offering the same prefix with a lower administrative distance?
- Is a
distribute-list inblocking installation?
For NSSA designs, always check that the Type 7 is being translated and look at the forwarding address first.

