Skip to main content
Definition Website Computer and Technology

Network Address Translation

Subject: Computer and Technology noun /ˈnɛt.wɜːrk ˈæd.rɛs trænsˈleɪ.ʃən/ 1 definition

  1. Definition (noun)

    Entry #18 · Updated

    Network Address Translation (NAT) is a networking mechanism performed by routers, firewalls, or gateways that modifies the source or destination IP address information in packet headers while packets transit between networks. Most commonly deployed at the boundary between a private local area network (LAN) and the public internet, it allows multiple internal hosts using non-routable private addresses (such as RFC 1918 ranges) to share one or more public IPv4 addresses, conserving limited global address space and shielding internal topology. Because NAT rewrites packet headers mid-flight and typically tracks active session state, it differs from standard stateless IP routing and often requires helper mechanisms for inbound connectivity or peer-to-peer protocols.

    Common Types

    • Static NAT (One-to-One): Permanently maps a single private IP address to a dedicated public IP address, giving external clients predictable inbound access to an internal server.

    • Dynamic NAT (Many-to-Many): Temporarily binds an internal host's private IP address to an available address from a pool of public IP addresses, releasing the mapping after the session expires.

    • Port Address Translation (PAT): Multiplexes many private IP addresses onto a single public IP address by rewriting transport-layer port numbers (also known as NAT overload), forming the default configuration on most home and enterprise routers.

    • Carrier-Grade NAT (CGNAT): Operates within an internet service provider (ISP) network to translate multiple customer networks behind shared public IPv4 pools, stretching scarce IPv4 allocations across large subscriber bases.

    Example

    A laptop on an office LAN with private IP 192.168.1.42 initiates an HTTPS connection from port 51234 to an external server at 198.51.100.25:443. The office router records the flow in its NAT table, rewrites the source to its public IP 203.0.113.10 and mapped port 61001, and reverses the translation when the server's reply arrives so packets reach 192.168.1.42:51234.