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

Why i need Static route for Destination NAT network

ahmad82pkn
Level 3
Level 3

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?

2 Replies 2

AhmedSonba
Level 1
Level 1

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

khaled alodat
Level 1
Level 1

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.

 

Review Cisco Networking for a $25 gift card