Static NAT Configuration and Verification
Static NAT creates a fixed, one-to-one mapping between a private IP (Inside Local) and a public IP (Inside Global) using the `ip nat inside source static` command.
When to Use Static NAT
Static NAT is commonly used for internal servers (like web or email servers) that need to be consistently accessible from the outside internet via a specific public IP address.
Configuration Steps
1. Define the inside and outside interfaces using `ip nat inside` and `ip nat outside`. 2. Create the mapping: `ip nat inside source static [local_ip] [global_ip]`.
Verifying Static NAT
Use the command `show ip nat translations` to view the active one-to-one mappings, and `show ip nat statistics` for hit counts.
❓ Frequently Asked Questions
Does Static NAT conserve public IP addresses?
No, because it requires one public IP address for every private IP address mapped.
Can traffic be initiated from the outside with Static NAT?
Yes, because the mapping is permanent, external hosts can initiate connections to the mapped internal server.
What happens if I forget to define the inside/outside interfaces?
The NAT process will not function until the interfaces are explicitly defined.