Network address translation
From WikiTech, the free technology encyclopedia
Rewriting IP addresses so devices share public ones
3 sources from RFC Editor / IETF. Checked by ByteExplained editors on 4 December 2026. How we check facts
Network address translation (NAT) is a method by which a router at the border of a network rewrites the IP address information in packets passing through it, so that computers inside the network can use addresses that need not be unique on the wider Internet.[1]
History
NAT was described in RFC 1631, published in May 1994 by Kjeld Borch Egevang of Cray Communications and Paul Francis of NTT. It was offered as a short-term solution to two problems: the depletion of IP addresses and the difficulty of scaling internet routing.[1] In February 1996 RFC 1918 set aside three blocks of addresses for private use – 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 – which any organisation can reuse internally.[2] RFC 3022, published in January 2001 by Pyda Srisuresh and Egevang, replaced RFC 1631, adding a description of network address port translation and correcting its checksum method.[3]
How it works
A NAT device sits at the border router of a "stub" network, such as a company network, and keeps a translation table linking internal addresses to globally unique ones. It rewrites the source address of outgoing packets, reverses the change for replies and recalculates checksums; hosts elsewhere need no changes.[1] In basic NAT each internal host in use needs its own public address from a pool. Network address port translation (NAPT) instead lets many internal hosts share a single public address by giving each session a unique TCP or UDP port number.[3]
Limitations
Connections through NAT are mainly outgoing; reaching an internal computer from outside needs a fixed mapping set up in advance.[3] NAT removes the end-to-end meaning of an IP address and adds state inside the network, so end-to-end IPsec security cannot be assumed.[3] Protocols that carry IP addresses inside their data, such as the PORT command of File Transfer Protocol, need special handling, and encrypted payloads cannot be translated.[1]
See also
References
- ^ RFC 1631: The IP Network Address Translator (NAT). RFC Editor / IETF. 1994-05-01. rfc-editor.org
- ^ RFC 1918: Address Allocation for Private Internets. RFC Editor / IETF. 1996-02-01. rfc-editor.org
- ^ RFC 3022: Traditional IP Network Address Translator (Traditional NAT). RFC Editor / IETF. 2001-01-01. rfc-editor.org




