04-19-2004 05:34 AM - edited 03-02-2019 03:05 PM
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.
Solved! Go to Solution.
04-19-2004 06:22 AM
Use NAT with route maps.
consider the following links
http://cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080093fca.shtml
http://cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087bac.html
04-19-2004 06:22 AM
Use NAT with route maps.
consider the following links
http://cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080093fca.shtml
http://cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087bac.html
04-19-2004 10:59 AM
Thanks for the links. The Route Maps with Static Translations was exactly what I was looking for.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide