Objectives

This challenge involves the configuration of dynamic NAT. The objectives of this challenge are to:

In this example, the netmask is defined with a number of bits. Remember /32 is 255.255.255.255, /31 is 255.255.255.254, /30 is 255.255.255.252, /29 is 255.255.255.248, /28 is 255.255.255.240, /27 is 255.255.255.224, /26 is 255.255.255.192, /25 is 255.255.255.128, /24 is 255.255.255.0, and so on.

Example

> en
# config t
(config)# access-list 7 permit 195.11.220.0 31.255.255.255
(config)# ip nat pool mynatpool 150.122.41.150 150.122.41.99 netmask 255.255.255.0
(config)# ip nat inside source list 7 pool mynatpool
(config)# int e0
(config-if)# ip nat inside
(config-if)# int s0
(config-if)# ip nat outside