NAT Flashcards
static NAT
(config)# int fa0/1
(config-if)# ip address 10.1.1.1 255.255.255.0
(config-if)# ip nat inside
(config)# int fa0/2
(config-if)# ip address 170.46.2.2 255.255.255.0
(config-if)# ip nat outside
ip nat inside source static 10.1.1.1 170.46.2.2
dynamic NAT
(config)# int Ethernet0
(config-if)# ip address 10.1.1.10 255.255.255.0
(config-if)# ip nat inside
(config)# int Serial0
(config-if)# ip address 170.168.2.1 255.255.255.0
(config-if)# ip nat outside
ip nat pool TODD 170.168.2.3 170.168.2.254 netmask 255.255.255.0
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat inside source list 1 pool TODD
PAT
(config)# int Ethernet0
(config-if)# ip address 10.1.1.10 255.255.255.0
(config-if)# ip nat inside
(config)# int Serial0
(config-if)# ip address 170.168.2.1 255.255.255.0
(config-if)# ip nat outside
ip nat pool globalnet 170.168.2.1 170.168.2.21 netmask 255.255.255.0
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat inside source list 1 pool globalnet overload
misc
# do show ip nat translations # do show ip nat stats # clear ip nat trans*
RFC 1918
- 0.0.0/8
- 16.0.0/11
- 168.0.0/16