Step 1: Define inside and outside interfaces
R1(config)# interface FastEthernet0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# ip nat inside
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# interface FastEthernet0/1
R1(config-if)# ip address 203.0.113.1 255.255.255.0
R1(config-if)# ip nat outside
R1(config-if)# no shutdown
R1(config-if)# exit
Step 2: Create a NAT Pool (public IPs to assign dynamically)
R1(config)# ip nat pool MY_POOL 203.0.113.10 203.0.113.20 netmask 255.255.255.0
Step 3: Create an Access List to Match Inside Hosts
R1(config)# access-list 1 permit 192.168.1.0 0.0.0.255
Step 4: Bind the Access List to the NAT Pool
R1(config)# ip nat inside source list 1 pool MY_POOL
Step 5: (Optional) Verify NAT Operation
R1# show ip nat translations
R1# show ip nat statistics