Sharing Ilmu

Sharing for useful things

How To Configuration Dynamic NAT Overload/PAT (Port Address Translation)

In the preceding tutorial I have discuss about Network Address Translation (NAT) on Cisco Packet Tracer and How To Configuration Dynamic NAT (Network Address Translation) on Cisco Packet Tracer . In this tutorial I’ll discuss about configuration of Dynamic NAT overload or Port Address Translation on cisco packet tracer.

PAT is the one to many NAT type that’s provide one public ip can be translate many private ip.  The following is the topologi :

 

Configure IP Address on R1 :

R1(config)#int g0/0/0
R1(config-if)#ip add 10.10.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#int g0/0/1
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown

Configure IP Address on R2 :

R2(config)#int g0/0/0
R2(config-if)#ip add 10.10.10.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#int g0/0/1
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit

Configure IP Address on PC0 :

Configure IP Address on PC1 :

 

Configure IP Address on PC2 :

Configure IP Address on PC3 :

 

Test ping from pc0 to ip R2 :

The PC can’t be reach the router ip because network PC0 is behind the Router R1.

Configure R1  :

R1(config)#int g0/0/0
R1(config-if)#ip nat outside
R1(config-if)#exit
R1(config)#int g0/0/1
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#ip nat pool R1-POOL 10.10.10.1 10.10.10.1 netmask 255.255.255.0
R1(config)#ip nat inside source list 1 pool R1-POOL overload
R1(config)#

Configure pool R2 10.10.10.16 – 10.10.10.20 :

R2(config)#int g0/0/0
R2(config-if)#ip nat outside
R2(config-if)#exit
R2(config)#int g0/0/1
R2(config-if)#ip nat inside
R2(config-if)#exit
R2(config)#access-list 1 permit 192.168.2.0 0.0.0.255
R2(config)#ip nat pool R2-POOL 10.10.10.2 10.10.10.2 netmask 255.255.255.0
R2(config)#ip nat inside source list 1 pool R2-POOL overload
R2(config)#

Test ping from PC0, PC1 to ip address of R2 (10.10.10.2) and PC2, PC3 to ip address of R1 (10.10.10.1) make sure ping connection is successfull. Then check IP nat translation on R1 and R2 :

 

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>