liveBook · Manning

Static nat

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

Static NAT is a network address translation technique that permanently configures one-to-one mappings between inside local and inside global addresses.

Static NAT permanently maps each inside local (private) address to one inside global (public) address. It lets selected inside hosts communicate over the internet, including replies translated back to their private addresses. section 9.3.1

Configure and verify static NAT on a Cisco router:

  • Mark the interfaces with ip nat inside and ip nat outside. section 9.3.1
  • Create each mapping with ip nat inside source static inside-local inside-global. section 9.3.1 section 9.4
  • Inspect permanent mappings and session entries with show ip nat translations. section 9.4

Cisco IOS configuration

R1(config)# interface g0/0 R1(config-if)# ip nat inside R1(config-if)# interface g0/1 R1(config-if)# ip nat outside R1(config)# ip nat inside source static 10.0.0.11 192.0.2.1 R1(config)# ip nat inside source static 10.0.0.12 192.0.2.2 These commands map two private hosts to two public addresses. Each inside host requires its own public address; static NAT does not solve IPv4 address exhaustion. section 9.3.1

Figure 9.6 Static NAT. Inside local addresses 10.0.0.11 and 10.0.0.12 are statically mapped to inside global addresses 192.0.2.1 and 192.0.2.2, respectively.

Use the topology figure to trace inside local and inside global addresses for two statically mapped hosts. section 9.3.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains interface roles, command keywords, bidirectional translation, verification output, and the one-to-one limitation.
Examples
Uses Cisco IOS mappings from 10.0.0.11 and 10.0.0.12 to 192.0.2.1 and 192.0.2.2, plus translation-table output.
What it assumes
Assumes basic inside/outside interface roles and NAT address terminology, then applies them through Cisco IOS commands.
What you can do after
Configure and verify static one-to-one translations on a Cisco router.
How it connects
Contrasts static NAT with dynamic NAT and dynamic PAT while using inside local, inside global, outside local, and outside global terminology.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.