cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
0
Helpful
2
Replies

Control NAT via ACL?

cbrun
Level 1
Level 1

Can I use ACLs to control when a router performs a static NAT?

I have a situation where I need to NAT an address if it came from IP address A, but not if it came from IP address B. The problem is that both A & B come into my router on the same interface ... which means I have "ip nat outside" defined on the interface.

Device A needs NAT because it dosen't have a route to the real IP address. Device B just sends to the real IP address. The problem occures on the reply, as the router always NAT's the the source address using my static NAT enry.

I would like to control whether or not the router NAT's by use of an ACL, but can't find any way to configure it.

1 Accepted Solution
2 Replies 2

Thanks for the links. The Route Maps with Static Translations was exactly what I was looking for.