PAT Configuration with Packet Tracer


PAT Configuration with Cisco Packet Tracer

In some cases there can be hundreds of inside local addresses and at the same time your global ip addresses can be limited.At this time you can use PAT instead of static and dynamic NAT translation.

Here, with PAT(Port Address Translation), we translate each PC to a unique port number of a single public address.

You can DOWNLOAD Packet Tracer example with .pkt format HERE.

Firstly we identify the interfaces as inside and outside as before static and dynamic NAT configurations. Here, we will use the same topology like Dynamic NAT configuration article. Because, for PAT configuration, we need a small change on the configuration.

port address translation (PAT) topology

PAT (Port Address Translation) Configuration Topology
Here, we will start with the IP address configurations firstly.

Our PCs on Packet Tracer will be configured with below IP addresses.

PC0 : GW:
PC1 : GW:
PC2 : GW:

Router1(config)# interface FastEthernet0/0
Router1(config-if)# ip address
Router1(config-if)# no shutdown
Router1(config-if)# exit
Router1(config)# interface FastEthernet0/1
Router1(config-if)# ip address
Router1(config-if)# no shutdown
Router1(config-if)# exit
Router2(config)# interface FastEthernet0/0
Router2(config-if)# ip address
Router2(config-if)# no shutdown
Router2(config-if)# exit
Router2(config)# ip default-gateway
Router2(config)# no ip routing

Now, let’s do the classical NAT configuration and plus PAT configuration (overload).

Router1 (config)# int e0/0 
Router1 (config-if)# ip nat inside
Router1 (config-if)# exit
Router1 (config)# int s0/0 
Router1 (config-if)# ip nat outside
Router1 (config-if)# exit

After that we will use the below commands for PAT configuration:

Router1 (config)# access-list 10 permit
Router1 (config)# ip nat pool IPCISCO netmask
Router1 (config)# ip nat inside source list 10 pool IPCISCO overload

Here, any match interface with access-list 10, will be translated with overload to the serial interface IP address. The secret key word of PAT configuration is “overload“.

Let’s check the nat table on Router1.

Router1# show ip nat translations 
Pro  Inside global     Inside local       Outside local      Outside global

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: cisco IOS, cisco packet tracer, NAT, packet tracer
Back to: Cisco Hands On Course (With Packet Tracer) > DHCP and NAT Configurations

Cisco Hands On Course (With Packet Tracer)