
Activity: Routing Configuration in Packet Tracer
Open the Packet Tracer and drag the devices to the working sheet as shown in the figure below.

Assign the IP address to every device as shown in the figure.
Figure: PC ip seating
Assign IP addresses to the interfaces of your routers. Use the config terminal
command on each router to enter global configuration mode, then use the interface [interface_type] [interface_number]
command to access the interface configuration mode. Finally, assign the IP address using the ip address [ip_address] [subnet_mask]
command.
Router>enable
Router#
Router#configure terminal
Router(config)#interface GigabitEthernet0/0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#exit
Router(config)#exit
Router#
Similarly, configure the 2nd interface for 2nd network
Router>enable
Router#
Router#configure terminal
Router(config)#interface GigabitEthernet0/0/1
Router(config-if)#no shutdown
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#exit
Router(config)#exit
Router#
Now you have to set the default gateway to make the communicaiton possible. Go to every pc ip setting and enter the router interface address. After entering the router interface address, the PC will be able to communicate.