T The Triage ManualTechnical Guides for IT Emergencies
P3 · Network Infrastructure

Cisco ASA NAT Outside Addresses Unreachable via Upstream OSPF Router

When a Cisco ASA performs NAT and maps internal hosts to outside addresses, upstream OSPF routers (e.g., Juniper MX5) have no routing information for that outside address space because the ASA does not natively redistribute NAT pools into OSPF. The resolution is to add a static route on the upstream router pointing the NAT outside subnet toward the ASA's upstream interface, then optionally redistribute that static route into OSPF or BGP so it propagates to other peers.

Indicators

Likely causes

Diagnostic steps

  1. Verify the ASA NAT configuration: run 'show nat detail' on the ASA CLI to confirm the static NAT mapping (e.g., 10.0.0.1 <-> 134.0.15.1) is correctly defined and active.
  2. Check the upstream Juniper MX5 routing table for the NAT outside subnet: run 'show route 134.0.15.0/24' (adjust prefix as needed) to confirm whether a route exists and via which next-hop.
  3. Inspect the OSPF database on the Juniper MX5: run 'show ospf database' to verify whether any LSA is advertising the NAT outside address space into the OSPF domain.
  4. Review the ASA OSPF configuration: run 'show ospf' and 'show run router ospf' on the ASA to identify which networks are being advertised and confirm the NAT outside subnet is absent.
  5. On the Juniper MX5, configure a static route pointing the NAT outside address space toward the ASA's OSPF-facing interface IP (e.g., next-hop 10.0.1.1): 'set routing-options static route 134.0.15.0/24 next-hop 10.0.1.1'.
  6. If the route must be propagated to other OSPF or BGP neighbors, create and apply a redistribution/export policy on the Juniper MX5 (e.g., 'set protocols ospf export static-to-ospf') referencing the static route.
  7. Verify end-to-end reachability after the static route is in place by pinging the NAT outside address (e.g., 134.0.15.1) from the Juniper MX5 and any relevant BGP peers.

Resolution path

Prevention

Tools

References

cisco-asaospfnatjuniper-mxstatic-routeroutingbgpnetwork-designreachabilityredistribution