To do an experiment by taking 2 Routers (Router 0 and Router 1) and send packers between two different networks using Cisco Packet Tracer version 6.3
Step 1: Drag and drop the devices like PCs , Network Switch and Router
Step 2: make the connection between different hardware devices
(Hint: To connect PCs and Switch use copper straight through cable, Switch and Router with copper straight through cable, Router to Router with serial DCE cable)
Step 3: Before connect two Routers with serial cable, first thing is to add the serial port slots to the router.
(Steps to add the serial port to Router is click on the Router à click on HWIC-2T slot(The HWIC-2T is a Cisco 2-Port Serial High-Speed WAN Interface Card, providing 2 serial ports.) à click on zoom in button à switch off the power button à drag and drop the HWIC 2T slots to the Router. à make the power button to on mode.
Step 4: Set the IP address, subnet mask and gateway on each PCs
The scenario will look like the above picture. Initially the interfaces like serial and gigabit Ethernet port looks red. Those red dots need to convert into green color. Here, we will do by using CLI (command line interface).
The above ip address will be assigned by the network admin.
Assign ip address to all the PCs
Click on PC0 à click on desktop à IP configuration à set the required ip, mask, and gatewayà close the PC0 window
Follow the same way to set the IP of PC1.
Click on Router, select the CLI then write the commands.
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/0
Router(config-if)#ip add 172.27.1.50 255.255.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#exit
Now, in the similar way you have to set the ip’s of the other two PCs connected to the other router(Router 1).
Next step is to configure the gigabit Ethernet connected to Router 1
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/0
Router(config-if)#ip add 200.1.2.50 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Serial Port Configuration
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se0/0/0
Router(config-if)#ip add 10.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se0/0/1
Router(config-if)#ip add 10.0.0.2 255.0.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Router(config-if)#exit
Router(config)#exit
Router RIP(ROUTER INFORMATION PROTOCOL)
In Router 0:
Router#en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 172.27.0.0
Router(config-router)#network 10.0.0.0
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
In Router 1:
Router#en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 200.1.2.0
Router(config-router)#exit
Router(config)#exit
Router#