What is Network Address Translation (NAT) and how does it work? (2024)

What is Network Address Translation (NAT)?

A Network Address Translation (NAT) is the process of mapping an internet protocol (IP) address to another by changing the header of IP packets while in transit via a router. This helps to improve security and decrease the number of IP addresses an organization needs.

How does Network Address Translation work?

A NAT works by selecting gateways that sit between two local networks: the internal network, and the outside network. Systems on the inside network are typically assigned IP addresses that cannot be routed to external networks (e.g., networks in the 10.0.0.0/8 block).

A few externally valid IP addresses are assigned to the gateway. The gateway makes outbound traffic from an inside system appear to be coming from one of the valid external addresses. It takes incoming traffic aimed at a valid external address and sends it to the correct internal system.

This helps ensure security. Because each outgoing or incoming request must go through a translation process that offers the opportunity to qualify or authenticate incoming streams and match them to outgoing requests, for example.

NAT conserves the number of globally valid IP addresses a company needs and -- in combination with Classless Inter-Domain Routing (CIDR) -- has done a lot to extend the useful life of IPv4 as a result. NAT is described in general terms in IETF RFC 1631.

What are the various types of NAT techniques?

The NAT mechanism ("natting") is a router feature, and is often part of a corporate firewall. NAT gateways can map IP addresses in several ways:

  • from a local IP address to one global IP address statically;
  • hiding an entire IP address space comprised of private IP addresses behind a single IP address;
  • to a large private network using a single public IP address using translation tables;
  • from a local IP address plus a particular TCP port to a global address or a pool of public IP addresses; and
  • from a global IP address to any of a pool of local IP addresses on a round-robin basis.

In some cases, network administrators define policies that allow the gateway device to assign mappings based on the intended destination ("pick this external address for communications to partner A's area network; pick that external address for communications to partner B's").

Policies can also be used on the protocols being used ("assign out of this pool for HTTP traffic, that pool for HTTPS") or on other factors.

A newer way to use NAT focuses on translating an ISP provider's IPv4 addresses to IPv6, and vice versa. This provides integration of IPv4 infrastructure and end nodes into IPv6 environments, and allows IPv6 services to interact with IPv4 systems.

What is Network Address Translation (NAT) and how does it work? (1)

What is the difference between dynamic NAT (DNAT) and static NAT (SNAT)?

A dynamic NAT is common in larger organizations with complex internal networks. It uses several available IP addresses during the translation.

An example of this can be seen with Cisco, which has developed a technique that uses a NAT overload to map several private IP addresses to a single public IP address.

Conversely, a static NAT, also common in large organizations, provides a 1:1 mapping between an internal IP address and a public network IP address.

This was last updated in July 2021

Continue Reading About Network Address Translation (NAT)

Related Terms

millimeter wave (mmWave)
Millimeter wave (mmWave), also known as millimeter band, is a range of electromagnetic frequencies between microwaves and ...Seecompletedefinition
NFVi (network functions virtualization infrastructure)
NFVi (network functions virtualization infrastructure) encompasses all of the networking hardware and software needed to support ...Seecompletedefinition
TCP/IP
TCP/IP stands for Transmission Control Protocol/Internet Protocol and is a suite of communication protocols used to interconnect ...Seecompletedefinition

Dig Deeper on Network infrastructure

What is Network Address Translation (NAT) and how does it work? (2024)

FAQs

What is Network Address Translation (NAT) and how does it work? ›

What Is NAT? NAT stands for network address translation. It's a way to map multiple private addresses inside a local network to a public IP address before transferring the information onto the internet. Organizations that want multiple devices to employ a single IP address use NAT, as do most home routers.

What is network address translation (NAT) and how does it work? ›

Network Address Translation (NAT) is a process that enables one, unique IP address to represent an entire group of computers. In network address translation, a network device, often a router or NAT firewall, assigns a computer or computers inside a private network a public address.

How does NAT and port address translation work together? ›

PAT stands for Port Address Translation. In NAT, Private IP addresses are translated into the public IP address. In PAT, Private IP addresses are translated into the public IP address via Port numbers. NAT can be considered PAT's superset.

How does a network address translation (NAT) type of firewall work in Quizlet? ›

Network address translation (NAT) works by translating private addresses to the public address of the NAT router. -Hosts on the private network share the IP address of the NAT router or a pool of addresses assigned for the network.

What are the main reasons behind the development of network address translation NAT? ›

To access the Internet, one public IP address is needed, but we can use a private IP address in our private network. The idea of NAT is to allow multiple devices to access the Internet through a single public address. To achieve this, the translation of a private IP address to a public IP address is required.

How does NAT work with an example? ›

Meaning, Working, and Examples. NAT is used to map multiple local private addresses to a single IP address. Network address translation (NAT) is defined as the process of mapping private IP addresses to a single public IP address while information is being transferred via a router or NAT firewall.

What is network address translation quizlet? ›

Network Address Translation (NAT) Translates private IP addresses to the public address of the NAT router. This allows you to connect a private network to the internet without obtaining registered (public) addresses for every host.

What is a NAT port address translation? ›

Port address translation (PAT) is a type of network address translation (NAT) that maps a network's private internal IPv4 addresses to a single public IP address. NAT is a process that routers use to translate internal, nonregistered IP addresses to external, registered IP addresses.

What is network address and port translation? ›

NAPT translates a private source IP address to an external source address and port. Multiple private IP addresses can be mapped to the same external address because each private address is mapped to a different port of the external address.

How does network addressing work? ›

Network addressing is a fundamental system that assigns unique identifiers to each device on a network. These identifiers, known as IP addresses, are crucial in facilitating communication between devices. Each device on the network uses a unique IP address to send and receive data accurately and efficiently.

What is NAT translation firewall? ›

A router uses NAT to 'translate' a public IP address into a private IP address for incoming traffic, and vice versa for outgoing traffic. It accomplishes this by rewriting the headers of data packets so that they have the correct IP address to reach the proper destination.

What is network address translation in security? ›

Definitions: A routing technology used by many firewalls to hide internal system addresses from an external network through use of an addressing schema. The process of mapping addresses on one network to addresses on another network.

What is network address translation NAT and IPv6? ›

IPv6 NAT helps to translate IPv4 addresses to IPv6 addresses of network devices. IPv6 NAT also helps to translate the address between IPv6 hosts. IPv6 NAT supports source NAT, destination NAT, and static NAT.

What is the conclusion of network address translation? ›

Conclusion. After summarizing all the above information, NAT (Network Address Translation) is a method used by network devices in order to translate the IP addresses of devices in a private network to a single IP address. This single IP address is used to communicate with the internet.

How can you determine if NAT is working properly? ›

One of the simplest ways to test your NAT configuration is to use ping and traceroute commands to verify the connectivity and routing between your private and public networks.

What is the purpose of a NAT network address translation device quizlet? ›

NAT translates a host's private IP address into a public IP address that can be used by the internet or other public networks.

What is a network address translation NAT gateway? ›

A NAT gateway is a Network Address Translation (NAT) service. You can use a NAT gateway so that instances in a private subnet can connect to services outside your VPC but external services cannot initiate a connection with those instances.

What is the difference between NAT and NAT network? ›

NAT Network is similar to NAT, but it provides a shared network between virtual machines. Virtual machines connected to the same NAT Network can communicate with each other and share resources. However, they cannot communicate with the host or external networks without additional configuration.

What is the difference between DNS and NAT? ›

DNS (Domain Name System)

Commonly used in home networks to conserve IP addresses and improve security. Essential for the internet as it allows users to remember domain names rather than IP addresses. NAT is a technique used for IP addressing.

Top Articles
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 5653

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.