cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
444
Views
0
Helpful
3
Replies

NATING

Harmeet Singh
Level 1
Level 1

Hi,

I am sharing the topology Picture and cofiguration file in attachment. Both PCs (PC0 and PC1) are unable to ping each other. Please check configuration of routers and solve the problem.

1 Accepted Solution

Accepted Solutions

Hi,

When PC0 sends its ping to 172.16.1.2 then the router R0 is natting the source IP to 10.0.0.1 but is not modifying the destination IP which is 172.16.1.2 and R3 doesn't know about this subnet.

The same behaviour happens when you ping from PC1 to 192.168.1.2.

Replace your NAT overload  statements on the NAT routers by static NAT entries:

on R0

ip nat inside source static 192.168.1.2 10.0.0.4

on R1

ip nat inside source static 172.16.1.2 20.0.0.4

then ping 20.0.0.4 from PC0 and ping 10.0.0.4 from PC1 and it will work.

Otherwise you'll have to do double NAT( nat inside and nat outside) to change both source and destination IP.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

Post tracert output from PC0 to PC1, ipconfig /all of both PCs

sh ip nat translation on R0

sh ip route on all routers

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

PC0 is pinging the wan interface ip address 20.0.0.1 but not pinging the lan interface ip address 172.168.1.1 of router 1. Same happening on other side.

sh ip nat translation is not working. I think it didnt work in Packet tracer.

Hi,

When PC0 sends its ping to 172.16.1.2 then the router R0 is natting the source IP to 10.0.0.1 but is not modifying the destination IP which is 172.16.1.2 and R3 doesn't know about this subnet.

The same behaviour happens when you ping from PC1 to 192.168.1.2.

Replace your NAT overload  statements on the NAT routers by static NAT entries:

on R0

ip nat inside source static 192.168.1.2 10.0.0.4

on R1

ip nat inside source static 172.16.1.2 20.0.0.4

then ping 20.0.0.4 from PC0 and ping 10.0.0.4 from PC1 and it will work.

Otherwise you'll have to do double NAT( nat inside and nat outside) to change both source and destination IP.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card