For example:

Answer:
Router>enable
Router#config terminal
Router(config)#hostname weaver
weaver(config)#ip nat pool test 198.18.184.105 198.18.184.110 255.255.255.248
weaver(config)#ip nat inside source list 1 pool test overload
weaver(config)#access-list 1 permit 192.168.100.16 0.0.0.15
weaver(config)#interface fa0/0
weaver(config-if)#ip nat inside
weaver(config-if)#interface s0/0
weaver(config-if)#ip nat outside 1,Terms:The following router configuration has been completed???1.1 The basic configuration of the routers1.2 NAT router interface on the inside and outside1.3 Suitable static routing is configuration (internal corporate networks is a stub-terminal network, single-exports, not running any routing protocol.)1.4 All passwords are “cisco” 2, Requirements:In accordance with the requirements of the exhibit to perfect the NAT configuration of the enterprise’s router.2,1 Give name for enterprise’s border router–Weaver2,2 inside-global address is 198.18.184.105a???198.18.184.110, Sub-mask has 29 digitals2,3 inside-local address is 192.168.100.17a???192.168.100.30 Sub-mask has 28 digitals Prior to the completion of the allocation, first to recall what’s the functions, heory and background of NAT; to review the configuration of NAT finally.1. Breif IntroductionNAT router is the technology for a user to transfer a specified IP into another IP, today NAT technology has made substantial contributions on saving IP addresses for the lack of IPV4 address, it can turn the private addresses in the network edge into the publice addresses which can be legitimate in the public domain routing on Internet. 2, The technical background2.1 Address translation is brought forward for a growing shortage of IPV4 addresses.2.2 An internal LAN has many hosts, but can not guarantee that each host have a legitimate IP address, in order to make all internal hosts can be connected to Internet, you can use NAT.2,3 Address translation technology can hide the hosts in internal LAN effectively, it is also the effective technology in protecting network security.2,4 NAT can be provided to external FTP, WWW, Telnet services in the internal LAN according to the user’s requirements.3, The realization of TechnologyNAT process: change the IP header to make the target address, source address or the two addresses can be replaced in two different addresses in the header.

Only public IP is the IP address can be routed. Private IP is uses in the internal network in general. Experimental steps:
” alt=”">
The three common configurations of NAT:1, Static NAT: one-to-one conversion, only for the sake of security and confidentiality, and can not save IP;2, Dynamic NAT:more-to-one conversion, although IP can be saved, but if there are a large number of IPs in inside local want to get through the marginal equipment to the Internet, then this way is not practical;3, Load NAT: give full play to the advantages of NAT and resolve the problem of shortage fundamentally.Take load NAT as an example, the experiment detailed in the following steps:1.To define POOL in the global configuration mode (inside local to the inside global address)Router(config)#ip nat inside source list access-list-number pool name overloadFor example:router(config)#ip nat inside source list 1 pool test overload3. To define which addresses will be allowed to converse after entering the edge router with Access Control List.Router(config)#access-list access-list-number permit source [source-wildcard] For example???router(config)#access-list 1 permit 192.168.1.0 0.0.0.255In NAT configuration, it is necessary to master the four NAT Addresses:Inside local address: the internal distribution in a network to a host’s IP address. This may not the address provided by the Network Information Center (NIC) or ISP distribution.Inside global address: to replace one or more IP addresses of the local, external, registered in NIC.Outside local address: the IP address for an external host to use to the relative internal network. The address may be not a legitimate one but can be assigned from the internal network routing in the address space.
Outside global address: the IP address assigned to an external network by the host owner. It can be assigned from a common routing address or network space.