Network address translation
Network address translation is a networking technique that rewrites IP addresses and often transport-layer ports as traffic crosses a gateway or network boundary.
Fundamentals of Cybersecurity
Network Address Translation is a technique that rewrites network addresses in packet traffic to map between internal and external addressing contexts.
- How it is used
- Places address translation in the context of IP addressing and traffic moving between networks.
- How deep it goes
- Illustrates NAT but does not provide configuration steps or packet-level detail.
- Examples
- Uses a NAT diagram and compares IP addresses to street addresses for routing context.
- What you can do after
- Evaluate/understand NAT as address mapping between internal and external networks.
Read how Fundamentals of Cybersecurity explains network address translation →
Acing the CCNA Exam: Volume 2 Advanced Networking and Security
Network Address Translation is a technique that rewrites network-layer addresses and often transport-layer ports as traffic crosses a gateway.
- How it is used
- Deploys NAT at a network perimeter to let private IPv4 hosts communicate over the internet.
- How deep it goes
- Explains packet translation, address terminology, and interface marking, but stops short of detailed NAT types and pool configuration.
- Examples
- Uses PC1, perimeter router R1, private addressing, public translation, and server 8.8.8.8 to trace a request and reply.
- What you can do after
- Operate/configure Cisco NAT interfaces with ip nat inside and ip nat outside for private-to-public translation.
Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
Network address translation is a technique that translates network addresses so private-network resources can communicate with external networks.
- How it is used
- Enables private-network resources to access the internet while keeping them inaccessible to direct inbound internet traffic.
- How deep it goes
- Explains subnet placement, public IP assignment, route-table forwarding, gateway cost, and the more involved NAT-instance alternative.
- Examples
- Uses a three-tier application, two-segment and three-segment networks, and Terraform subnet modules as concrete examples.
- What you can do after
- Apply it via Terraform by configuring public and private subnets, a NAT gateway, and routes for private-subnet internet access.
Also covered in
- Kubernetes in Action, Second Edition
- Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
- Cyber Threat Hunting
What to know first
- IP addressAn IP address is a numerical network-layer address identifying an interface or endpoint for communication over an Internet Protocol network.
- network packetA network packet is a formatted unit of data transmitted across a computer network.
- port numberA port number is a transport-layer identifier associated with a host address that directs network traffic to a service or application endpoint.
- routerA router is a network device that forwards packets between networks based on destination addresses and routing information.
Related concepts
- dynamic port address translationincludes · Dynamic Port Address Translation is a Network Address Translation technique that dynamically maps many internal hosts to one public IP address by distinguishing connections with transport-layer ports.
- private ipv4 addressuses · A private IPv4 address is an address from a designated range intended for communication within private networks rather than direct routing on the public Internet.
- dynamic natincludes · Dynamic NAT is a network address translation technique that dynamically assigns one-to-one mappings from inside local addresses to available inside global addresses from a configured pool.
- firewallcontrasts with · A firewall is a network security system that monitors and filters traffic according to rules governing which communications are permitted or blocked.
- global addressuses · A global address is a host address as represented after a NAT router translates it or from the perspective of the outside network.
- inside local addressuses · An inside local address is the address of an inside host from the perspective of the inside network before NAT translation.
Questions about network address translation
What is network address translation?
Network address translation is a networking technique that rewrites IP addresses and often transport-layer ports as traffic crosses a gateway or network boundary.
Which Manning books explain network address translation?
Fundamentals of Cybersecurity, Acing the CCNA Exam: Volume 2 Advanced Networking and Security and Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu.
What should I know before learning network address translation?
Manning books that teach network address translation usually introduce IP address, network packet, port number and router first.
What is the difference between network address translation and firewall?
Network address translation is a networking technique that rewrites IP addresses and often transport-layer ports as traffic crosses a gateway or network boundary. A firewall is a network security system that monitors and filters traffic according to rules governing which communications are permitted or blocked.
What kinds of network address translation are there?
Kinds of network address translation include dynamic port address translation and dynamic nat.
What is network address translation also called?
Network address translation is also called nat.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


