Inside Static NAT
This involves the static mapping of the Inside Local IP address (private address) to the Inside Global address (public address). When Inside Static NAT is used, private IP addresses remain hidden from the outside network.
Configuration:
- Configure the interface in the Inside Global as
ip nat outside
- Configure the interface in the Inside Local as
ip nat inside
- Lastly, enable Static Nat by using the command:
Router(config)#ip nat inside source static <inside-local-ip> <inside-global-ip>
R1(config)#int f0/0 R1(config-if)#ip nat outside R1(config-if)#exit R1(config)#int f1/0 R1(config-if)#ip nat inside R1(config-if)#exit R1(config)#ip nat inside source static 10.1.1.2 20.1.1.1
Static NAT Configuration in Cisco
Border routers are typically configured for NAT. H. A router with an interface on the local (internal) network and an interface on the global (external) network. When a packet leaves the local (internal) network, NAT translates its local (private) IP address to a global (public) IP address. Global (public) IP addresses are translated to local (private) IP addresses when packets enter the local network. When NAT runs out of addresses, i. H. if there are no more addresses in the configured pool, the packet is dropped and an Internet Control Message Protocol (ICMP) host unreachable packet is sent to the destination.