So, for this we need two PCs, a router ,and two cross over cables to connect them.
Important point is that we use cross over cable to connect PC to a router because they both use the same pins for transmission and receiving of data.
Now, we will connect them by selecting fast ethenet interfaces on both ends.
Similarly, on the PC side we will select fast Ethernet interface.
Now, we have connect the devices. Further, we will go to the router CLI mode and enter the following commands.
Step by step ,
we will have to do the following things.
i. Access the interfaces one by one
ii. Assign IP addresses to interfaces
iii. Change the status of the interfaces i.e. from Down to Up.
iv. Assign IP addresses to PCs.
v. Assign Default GateWay to PCs. FYI fast ethernet ip address is the gateway address to the PC.
Now, commands of the Router CLI mode are as follows.
Now, we have accessed both interfaces one by one and we have assigned IP addresses respectively.
See the difference the lights have changed the color from Red to Green :)
Now, lets assign IP addresses to the PCs.
Click on PC1, go to Desktop, then click IP Configuration.
PC1:
PC2:
Now, our communication is enabled and we are able to communicate from PC1 to PC2 via Router.
Click on the packet in the right panel on the packet tracer, then click on PC1 and then click on PC2. You will see the successful packet tracer (status is shown in the bottom right corner)
Select it and click on both PCs.
Bingo, your communication is successful.