0
Here,we are going to see how to configure PAT with Dynamic NAT with Pool of IP address in packet tracer.


Go to this link and first do a Dynamic NAT with pool of IP address.'Click Here'.


The difference is just add this 'overload' at the end of the NAT command like this,


R1(config)#ip nat inside source list 10 pool publiciprange

                                               (to)

R1(config)#ip nat inside source list 10 pool publiciprange overload


        This command will force the router to use port number for translation.


Now,Click on PC->Desktop->command prompt->ping 30.0.0.10 and press 'enter'.Do this in all
5PC's immediately then only router use the ports from 1024-65,535 and go check router R1 to see
translation.i got this,

How to Configure PAT with Dynamic NAT with Pool of IP address using Packet Tracer



Translation in Router R1,


NAT: s=10.0.0.10->20.0.0.2, d=30.0.0.10 [1]

NAT: s=10.0.0.20->20.0.0.2, d=30.0.0.10 [1]

NAT: s=20.0.0.2, d=30.0.0.10->30.0.0.10 [1]

NAT: s=10.0.0.255->20.0.0.2, d=30.0.0.10 [1]

NAT: s=20.0.0.2, d=30.0.0.10->30.0.0.10 [1]

NAT: s=10.0.255.255->20.0.0.2, d=30.0.0.10 [1]

NAT: s=20.0.0.2, d=30.0.0.10->30.0.0.10 [1]

NAT: s=10.255.255.254->20.0.0.2, d=30.0.0.10 [1]

NAT: s=20.0.0.2, d=30.0.0.10->30.0.0.10 [1]

NAT: s=10.0.0.10->20.0.0.2, d=30.0.0.10 [2]

NAT: s=10.0.0.20->20.0.0.2, d=30.0.0.10 [2]



Router will wait 30 seconds after that translations will be expired and ip address will be available again


NAT: expiring 20.0.0.2 (10.0.0.10) icmp 1 (1)

NAT: expiring 20.0.0.2 (10.0.0.20) icmp 1024 (1)

NAT: expiring 20.0.0.2 (10.0.0.255) icmp 1025 (1)

NAT: expiring 20.0.0.2 (10.0.255.255) icmp 1026 (1)

NAT: expiring 20.0.0.2 (10.255.255.254) icmp 1027 (1)

NAT: expiring 20.0.0.2 (10.0.0.10) icmp 2 (2)

NAT: expiring 20.0.0.2 (10.0.0.20) icmp 1028 (2)

NAT: expiring 20.0.0.2 (10.0.0.255) icmp 1029 (2)

NAT: expiring 20.0.0.2 (10.0.255.255) icmp 1030 (2)

NAT: expiring 20.0.0.2 (10.255.255.254) icmp 1031 (2)

NAT: expiring 20.0.0.2 (10.0.0.10) icmp 3 (3)

NAT: expiring 20.0.0.2 (10.0.0.20) icmp 1032 (3)

Post a Comment

 
Top