Static NAT:
ip nat inside source static 192.168.1.11 24.1.2.3
Dynamic NAT:
ip nat pool jedi 22.1.2.3 22.1.2.10 netmask 255.255.255.0
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 pool jedi
PAT 1:
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool jedi 32.1.1.5 32.1.1.11 netmask 255.255.255.0
ip nat inside source list 1 pool jedi overload
PAT 2 :
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool jedi 32.1.1.5 32.1.1.5 netmask 255.255.255.0
! single IP !
ip nat inside source list 1 pool jedi overload
PAT 3:
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface serial 0/1 overload
All :
ip nat inside
ip nat outside
inside local: private IP inside network
inside global:global public IP to which inside local will be translated to
outside local:the private IP of the outside network
outside global: the outside public IP ,example a web URL.
show ip nat statistics
show ip nat translations
ip nat inside source static 192.168.1.11 24.1.2.3
Dynamic NAT:
ip nat pool jedi 22.1.2.3 22.1.2.10 netmask 255.255.255.0
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 pool jedi
PAT 1:
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool jedi 32.1.1.5 32.1.1.11 netmask 255.255.255.0
ip nat inside source list 1 pool jedi overload
PAT 2 :
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool jedi 32.1.1.5 32.1.1.5 netmask 255.255.255.0
! single IP !
ip nat inside source list 1 pool jedi overload
PAT 3:
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface serial 0/1 overload
All :
ip nat inside
ip nat outside
inside local: private IP inside network
inside global:global public IP to which inside local will be translated to
outside local:the private IP of the outside network
outside global: the outside public IP ,example a web URL.
show ip nat statistics
show ip nat translations
No comments:
Post a Comment