Static NAT Configuration with Packet Tracer

Static NAT

Packet Tracer Static NAT Configuration Example

In this example we will configure one of the NAT types, Static NAT (Network Address Translation) on Packet Tracer. For our Static NAT configuration, we will use the topology below.


You can DOWNLOAD the Cisco Packet Tracer example with .pkt format at the End of This Lesson.


You can also DOWNLOAD all Packet Tracer examples with .pkt format in Packet Tracer Labs section.


In this NAT topology, we will configure Static NAT on Router1. We wwill use Router0 and Router2 as host devices(For example like PCS).

static nat (network adress translation) configuration
 
Static NAT (Network Address Translation) Configuration Topology


Interface Configurations

Here firstly we will configure interface IP addresses on three of these routers. And then we will write static route from both ends to others. For IP connectivity, lastly we will ping from one end to other end. After this verification, our Static NAT configuration topology is ready for our NAT configuration.

In Router0 we will use private block IP address, because we will think that this area is our local network. In Router2, we will use public block IP addresses. Router2 will be like any place on internet.

Inside Local : 10.0.0.1
Inside Global : 212.100.100.10

Outside Local : 212.100.100.1
Outside Global : 212.100.100.1

Router0(config)# interface FastEthernet0/0
Router0(config-if)# ip address 10.0.0.1 255.255.255.0
Router0(config-if)# no shutdown
Router0(config-if)# end
Router0# copy running-config startup-config
Router1(config)# interface FastEthernet0/0
Router1(config-if)# ip address 10.0.0.2 255.255.255.0
Router1(config-if)# no shutdown
Router1(config-if)# exit
Router1(config)# interface FastEthernet0/1
Router1(config-if)# ip address 212.100.100.2 255.255.255.0
Router1(config-if)# no shutdown
Router1(config-if)# end
Router1# copy running-config startup-config
Router2(config)# interface FastEthernet0/0
Router2(config-if)# ip address 212.100.100.1 255.255.255.0
Router2(config-if)# no shutdown
Router2(config-if)# end
Router2# copy running-config startup-config

We will also set “no ip routing” on host devices (router0 and router2) and configure the default gateway address of host devices.

Router0(config)# no ip routing
Router0(config)# ip default-gateway 10.0.0.2
Router2(config)# no ip routing
Router2(config)# ip default-gateway 212.100.100.2

After IP connectivity, let’s check the packets situation by openning debug with “debug ip icmp” command. Till now, we did not configure any NAT on Packet Tracer. We will only see the packets source and destintion before Static NAT.


You can also DOWNLOAD all the Packet Tracer examples with .pkt format in Packet Tracer Labs section.


Lesson tags: NAT, Static NAT, sample
Back to: CCNA 200-301 > NAT (Network Address Translation)

Leave a Reply

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

CCNA 200-301

Collapse
Expand