
- Data Comm & Networks Home
- DCN - Overview
- DCN - What is Computer Network
- DCN - Uses of Computer Network
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- DCN - Components
- DCN - Connectors
- DCN - Switches
- DCN - Repeaters
- DCN - Gateways
- DCN - Bridges
- DCN - Socket
- DCN - Network Interface Card
- DCN - NIC: Pros and Cons
- DCN - Network Hardware
- DCN - Network Port
- Computer Network Topologies
- DCN - Computer Network Topologies
- DCN - Point-to-point Topology
- DCN - Bus Topology
- DCN - Star Topology
- DCN - Ring Topology
- DCN - Mesh Topology
- DCN - Tree Topology
- DCN - Hybrid Topology
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Transmission Impairments
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Data Link Control & Protocols
- DCN - RMON
- DCN - Token Ring Network
- DCN - Hamming Code
- DCN - Byte Stuffing
- DCN - Channel Allocation
- DCN - MAC Address
- DCN - Cyclic Redundancy Checks
- DCN - Error Control
- DCN - Flow Control
- DCN - Framing
- DCN - Error Detection & Correction
- DCN - Error Correcting Codes
- DCN - Parity Bits
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- DCN - Routing Information Protocol
- DCN - Border Gateway Protocol
- DCN - OSPF Protocol
- DCN - Network Address Translation
- DCN - Network Address Translation Types
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- DCN - Congestion Control
- DCN - TCP Service Model
- DCN - TLS Handshake
- DCN - TCP Vs. UDP
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN - Virtual Private Network
- DCN - Load Shedding
- DCN - Optimality Principle
- DCN - Service Primitives
- DCN - Services of Network Security
- DCN - Hypertext Transfer Protocol
- DCN - File Transfer Protocol
- DCN - Secure Socket Layer
- Network Protocols
- DCN - ALOHA Protocol
- DCN - Pure ALOHA Protocol
- DCN - Sliding Window Protocol
- DCN - Stop and Wait Protocol
- DCN - Link State Routing
- DCN - Link State Routing Protocol
- Network Algorithms
- DCN - Shortest Path Algorithm
- DCN - Routing Algorithm
- DCN - Leaky Bucket Algorithm
- Wireless Networks
- DCN - Wireless Networks
- DCN - Wireless LANs
- DCN - Wireless LAN & IEEE 802.11
- DCN - IEEE 802.11 Wireless LAN Standards
- DCN - IEEE 802.11 Networks
- Multiplexing
- DCN - Multiplexing & Its Types
- DCN - Time Division Multiplexing
- DCN - Synchronous TDM
- DCN - Asynchronous TDM
- DCN - Synchronous Vs. Asynchronous TDM
- DCN - Frequency Division Multiplexing
- DCN - TDM Vs. FDM
- DCN - Code Division Multiplexing
- DCN - Wavelength Division Multiplexing
- Miscellaneous
- DCN - Shortest Path Routing
- DCN - B-ISDN Reference Model
- DCN - Design Issues For Layers
- DCN - Selective-repeat ARQ
- DCN - Flooding
- DCN - E-Mail Format
- DCN - Cryptography
- DCN - Unicast, Broadcast, & Multicast
- DCN - Network Virtualization
- DCN - Flow Vs. Congestion Control
- DCN - Asynchronous Transfer Mode
- DCN - ATM Networks
- DCN - Synchronous Vs. Asynchronous Transmission
- DCN - Network Attacks
- DCN - WiMax
- DCN - Buffering
- DCN - Authentication
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
Network Address Translation (NAT) in Network Layer
Before starting the explanation of Network Address Translation lets recall some key points. That will help you to understand the explanation and working of NAT.
Key Points
We generally have two types of IP address, which are as follows
- Private IP address
- Public IP address
Private IP address normally used in the LAN (Local area network) side of the Network.
Public IP address provided by the ISP is configured in the WAN side of the network.
Public IP addresses are always paid, while the private IP address is free.
Private IP addresses range as follows
- 192.168.0.0 - 192.168.255.255 (65,536 IP addresses)
- 172.16.0.0 - 172.31.255.255 (1,048,576 IP addresses)
- 10.0.0.0 - 10.255.255.255 (16,777,216 IP addresses)
Understanding Network Address Translation (NAT)
Now let us try to understand what Network Address Translation (NAT) is:
Step 1 Consider you have internet provided by Internet Service Provider ABC.
Step 2 So, they will give you connection to your Modem. That connection we used to call WAN.
Step 3 This connection is always configured with a Public IP address.
Step 4 Then, your LAN side of the MODEM is configured with a Private IP address.
Step 5 That means your computer or laptop connected to the network receives a Private IP address.
Step 6 As per the standard Private IP will not communicate with Public IP address at any Point of time.
Step 7 To achieve this, Private IP addresses need to be translated to Public IP addresses with help of NAT.
Step 8 In simple words, Network Address translation is used to translate Private IP address to Public IP address to communicate LAN side of the Device to Global Network. Network address translation can be processed in Router or Firewall.
Given below is the diagram of the NAT

Working of NAT
Usually we used gateway router / Border devices used for NAT configuration. One of the interfaces for that device is connected to the local Area network (INSIDE) and one of the interfaces for this device connected to the outside network (OUTSIDE).
When we have received a request from our local machine it will hit the configuration pool then that Private IP will convert it into Public IP address and vice versa.
Inside worldwide location IP address that speaks to at least one inside nearby IP delivers to the rest of the world. This is within have as observed from the external organization.
Outside residential area This is the genuine IP address of the objective host in the nearby organization after interpretation.
Outside worldwide location This is the external host as observed to structure the external organization. It is the IP address of the external objective host before interpretation.
Examples of NAT
Given below are some of the examples of NAT
- Usage included with Windows work area working frameworks.
- Local bundle channel.
- Linux filter.
- Window third party implementation.