Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using OSPF in ASA to advertise NAT Pools.

We are about to configure NAT on a Client's ASA Firewalls and we need some examples on how to go about configuring ospf for external (outside) interface that will advertise NATed addresses (or NAT Pools) and how to configure the ospf for internal networks (only with private addreses).

Assume a simple example where A is internal Router with Private Networks and RouterG that is a outside public Router with BGP that advertises default route to ASA. ASA translates private addresses to public addresses using NAT/Global.



Re: Using OSPF in ASA to advertise NAT Pools.

AFAIK - You cannot re-distribute a NAT pool, as it is not a connected interface, or route.


New Member

Re: Using OSPF in ASA to advertise NAT Pools.

Why would you want to advertise the NAT pool out?

Hall of Fame Super Blue

Re: Using OSPF in ASA to advertise NAT Pools.


I'm assuming you want to advertise out the NAT pool so that remote devices know how to route to it ? Therefore i'm assuming also that this is not just standard ISP public addressing because if it is the ISP will take care of advertising the addressing and routing it to you.

With a router you could just create a loopback and run OSPF on that but the ASA doesn't support loopbacks so the best thing to do is

1) create a static route for the NAT pool

2) redistribute this static route into OSPF

As for the internal OSPF, just set it up as you would normally - here is a link to OSPF config on the ASA -

Obviously you need to be careful that your internal networks don't get advertised to RouterG and external to RouterA.


New Member

Re: Using OSPF in ASA to advertise NAT Pools.

Also I think if you add the reverse-route command to the dynamic crypto map and do a redistribute static that will also work, because with the reverse-route added the pools or at least a host in the pool show up as a static route in the routing table.

New Member

Re: Using OSPF in ASA to advertise NAT Pools.

How exactly do you add a static route on an ASA for a NAT pool?  For example...



NAT Pool:

I want to redistribute the static route for into OSPF or EIGRP, but it is not associated with any particular interface so it will not be advertised as is.

On a router I would normally create a route like this...

ip route null0

On the ASA I have to specify an interface and gateway IP.  What would this look like?

New Member

Re: Using OSPF in ASA to advertise NAT Pools.


Any News on the Topic? I am interested in an answer as well.

I used to create a static route pointing to the outside interface but that ist not working anymore because of some recently added checks befor einserting the route. ASA complains about the fact that the next hop is the asa itself.

kind regards