NAT - Dynamic NAT
Share this page:1 - Define the POOL of the DESTINATION IPs (Public)
(config)#ip nat pool DESTIN 131.1.12.3 131.1.12.8 prefix-length 24
2 - Define the ACCESS-LIST of the PRIVATE IPs
(config)#access-list 1 permit 10.2.2.0 0.0.0.255
3- Implement the NAT from-ACL-to-POOL IPs
(config)#ip nat inside source list 1 pool DESTIN
Do not forget to configure the “ip nat inside | outside” on the appropriate interfaces!
#sh ip nat translations <- BE SURE TO PING SOMETHING BEFORE YOU CHECK THE TRANSLATIONS:
Pro Inside global Inside local Outside local Outside global
icmp 131.1.12.3:2 10.2.2.2:2 10.1.1.1:2 10.1.1.1:2
— 131.1.12.3 10.2.2.2 — —