What is NAT? How Nat works Explained with Examples

By | 9th November 2015

How Nat works.

In the example below, an inside host ( wants to communicate with an outside web server ( It sends a packet to the NAT-configured gateway router for the network.

The gateway router reads the source IP address of the packet and checks if the packet matches the criteria specified for translation.

The gateway router has an ACL (Access Control List) that identifies the inside network as valid hosts for translation. Therefore, it translates an inside local IP address into inside global IP address, which in this case is It stores this translated local to global address in the NAT table. The gateway router then sends the packet to its destination.

When the web server responds, the packet comes back to the global address of gateway router (

The gateway router refers to its NAT table and sees that this was a previously translated IP address. Then, it translates the inside global address to the inside local address, and the packet is forwarded to host at IP address If it does not find a translation that match, the packet is dropped.

how nat works

There are two types of NAT translation: Dynamic and Static.

NAT Overload or Port Address Translation

IPv6 Explained


RIPv6 or RIPng

OSPFv3 Explained

DHCPv6 Explained

Host Standby Router Redundancy Protocol (HSRP)

Virtual Router Redundancy Protocol (VRRP)

Gateway Load Balancing Protocol (GLBP)

Spanning Tree Protocol (STP)

VLAN Trunking Protocol (VTP)

Leave a Reply

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