What is NAT? How Nat works Explained with Examples

By | 9th November 2015

How Nat works.

In the example below, an inside host (192.168.1.10) wants to communicate with an outside web server (199.100.20.1). 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 199.100.10.34. 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 (199.100.10.34).

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 192.168.1.10. 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

EIGRPv6

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 *