10-17-2012 03:33 PM - edited 03-04-2019 05:53 PM
Hi, i have simple topolgy, but i am having some issue (Attached diagram)
What i want is destination nat working.
So from R1(10.80.0.1) i want to ping 10.20.4.4 (R3) but with destination IP 192.168.4.4
like this R1# ping 192.168.4.4 source 10.80.0.1 and then R2 should translate destination 192.168.4.4 into 10.20.4.4
R2 Middle NAT router config Below
int fa1/0
ip nat inside
int fa1/1
ip nat outside
ip nat outside source static 10.20.4.4 192.168.4.4
its doesnt work, unless i put a route ( ip route 192.168.4.4 255.255.255.255 192.168.23.3 )
Why do i need this route?
10-17-2012 04:34 PM
Hello Ahmad
I think you will need to add this static route to reach the 192.168.4.4 interface ip address since its not directly connected than you will need to add a route to reach it .
Please check the following link to for more details about the Nat outside command
http://www.Cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080093f2f.shtml
Hope it will help
Ahmed Sonba
05-15-2015 01:43 AM
I'm not sure if you still looking for an answer.
you use ip nat outside which mean when the traffic entered the router it will do translate first then route, so the destination will be translated to 192.168.4.4 then will do the lookup and here you need the a route for the new destination address.
in the ip nat inside is the other way around when the traffic entered the router it will do a route lookup then translate.
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