cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
495
Views
0
Helpful
5
Replies

Problem configuring nat

ferdelriomex
Level 1
Level 1

First of all i apologize for my english.

well, i am configuring nat on packe tracer, i have 4 routers, on 2 routers i configure Nat and on the other 2 routers do not, when i ping from the lan of one router where nat is configured with the lan of the other router where nat IT SI NOT configured the ping respond OK, the problem is when i try ping from the lan of one router where nat it is configured with the lan of the other router where also has configured NAT, the ping do not respond, 

 

I attach the file 

 

any tip for these issue

 

       Regards   

         Fernando

 

3 Accepted Solutions

Accepted Solutions

nkarthikeyan
Level 7
Level 7

Hi Fernando,

 

That is because the return response it gets from the NATed IP ( 172.16.0.10) not from the 192.168.1.2 as expected. For non nat zone it accepts as it is. I am working on that to sort it out. But this is the Issue.

 

HTH

 

Regards

Karthik

View solution in original post

Hi,

You cannot ping the real ip address which is PATed in router. You can do one thing. If you make one end or both the end as static... you will be able to ping the NAT ip of the system. I have made static nat for 192.168.1.3 to 172.16.0.10 and tried ping from host 192.168.4.3... i was able to reach the same. You scenario will not work with NAT.

 

Packet Tracer PC Command Line 1.0
PC>ipconfig

FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: ::
IP Address......................: 192.168.4.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.3.1

PC>ping 172.16.0.10

Pinging 172.16.0.10 with 32 bytes of data:

Request timed out.
Reply from 172.16.0.10: bytes=32 time=10ms TTL=124
Reply from 172.16.0.10: bytes=32 time=19ms TTL=124
Reply from 172.16.0.10: bytes=32 time=10ms TTL=124

Ping statistics for 172.16.0.10:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 10ms, Maximum = 19ms, Average = 13ms

PC>ping 192.168.1.3

Pinging 192.168.1.3 with 32 bytes of data:

Request timed out.

Ping statistics for 192.168.1.3:
    Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),

Control-C
^C
PC>

 

HTH

 

Regards

Karthik

View solution in original post

Hi,

Yeah something like as per your scenario. All we need is a fixed IP to reach something. If you do dynamic which will not be the permanent IP in your scenario. So that is why you get a response from the NATed IP when you ping from no-nat zone.

 

Please do rate for the helpful posts and do remember to select the correct answer

 

Regards

Karthik

View solution in original post

5 Replies 5

nkarthikeyan
Level 7
Level 7

Hi Fernando,

 

That is because the return response it gets from the NATed IP ( 172.16.0.10) not from the 192.168.1.2 as expected. For non nat zone it accepts as it is. I am working on that to sort it out. But this is the Issue.

 

HTH

 

Regards

Karthik

Thank you nkarthikeayn, i also look on internet and i find that i need configure the command:

Empresa1# configure terminal 
 Empresa1(config)# interface loopbak 0 
 Empresa1(config-if)# ip address 199.6.13.9 255.255.255.248 
 Empresa1(config-if)# exit 
 Empresa1(config)# router rip 
 Empresa1(config)# version 2 
 Empresa1(config-router)# network 199.6.13.8 
 Empresa1(config-router)# exit 
 Empresa1(config)# CTRL+Z 

i try rigth now with this command  ( interface loopback comand) on my excecise i never configure that command ) i try i  put the result in this page.

 If you find any solution i will appreciate you.

 

Regards

Hi,

You cannot ping the real ip address which is PATed in router. You can do one thing. If you make one end or both the end as static... you will be able to ping the NAT ip of the system. I have made static nat for 192.168.1.3 to 172.16.0.10 and tried ping from host 192.168.4.3... i was able to reach the same. You scenario will not work with NAT.

 

Packet Tracer PC Command Line 1.0
PC>ipconfig

FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: ::
IP Address......................: 192.168.4.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.3.1

PC>ping 172.16.0.10

Pinging 172.16.0.10 with 32 bytes of data:

Request timed out.
Reply from 172.16.0.10: bytes=32 time=10ms TTL=124
Reply from 172.16.0.10: bytes=32 time=19ms TTL=124
Reply from 172.16.0.10: bytes=32 time=10ms TTL=124

Ping statistics for 172.16.0.10:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 10ms, Maximum = 19ms, Average = 13ms

PC>ping 192.168.1.3

Pinging 192.168.1.3 with 32 bytes of data:

Request timed out.

Ping statistics for 192.168.1.3:
    Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),

Control-C
^C
PC>

 

HTH

 

Regards

Karthik

A lot of thanks Nkartthikeyan, i made what you said, that means, i configure nat static on the router numer 1 and the problem was solve, whit this configuration i can ping from pc on lan of router 1 ( where nat static is configured) to a pc on the lan of router 4 ( where nat dinamic is configured) and all go fine, thank a lot.

 Only one dude, do you know because you do not can configure nat dynamic on both routers ??

this is only for study purposes.

 

 

Hi,

Yeah something like as per your scenario. All we need is a fixed IP to reach something. If you do dynamic which will not be the permanent IP in your scenario. So that is why you get a response from the NATed IP when you ping from no-nat zone.

 

Please do rate for the helpful posts and do remember to select the correct answer

 

Regards

Karthik

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: