Konfigurasi Static & Dynamic NAT di Router Cisco
Konfigurasi di Router:
Static NAT:
(config)# ip nat inside source static 10.0.0.2 202.10.10.2
(config)# ip nat inside source static 10.0.0.3 202.10.10.3
Dynamic NAT:
(config)# access-list 10 permit 10.0.1.0 0.0.0.255
(config)# ip nat pool MyPool 202.10.10.4 202.10.10.7 netmask 255.255.255.0
(config)# ip nat inside source list 10 pool MyPool
Setting up inside & outside interface:
(config)# int f0/0
(config-if)# ip nat inside
(config-if)# int f0/1
(config-if)# ip nat inside
(config-if)# int s0/0
(config-if)# ip nat outside
(config-if)# end
Verifikasi konfigurasi NAT:
# show ip nat translation
# debug ip nat

