How to configure Dynamic NAT on Cisco IOS Router

I think the IP address that host 2 is translated to is 192.168.23.11.

I have always been a bit confused by the prefix command at the end of the pool command.
I wondered why I only had 10 ip addresses but such a huge prefix-length. I thought I would mention what I discovered here.

when using Dynamic NAT you have two goals.

  1. You need an inside global(an IP that you translate to)
  2. You need to be in the same subnet as the router interfaces on that link.

so when the translation happens you will end up translating the IP address to some ip between 192.168.23.10-192.168.23.20 with a mask of /24