configuring a complete network in cisco packet tracer code example
Example: configure nat steps in cisco packet tracer
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
Router(config-if)#int fa0/1
Router(config-if)#ip add 200.0.0.1 255.255.255.0
Router(config-if)#no shut