Thursday, 11 January 2024

How to check whether a connection is successful or not in a simple network in Packet Tracer?

 

You need to have the simple network that we have created under the previous post      to begin with this post. If you have not go through it, please follow this post after going through the previous post.
















The above image shows the summary of what was discussed in the previous post. The main task of this post is to check the entire network to see whether all the connections are fine in the network.

There are two main ways to check this out. one is to use the terminal and check each connection mentioning the source and the destination IP addresses. The other method is to drag and drop data packets between a source and a destination and check the status visually.

Checking the connection using the Terminal

Click on a pc
select desktop tab 
command prompt
type  ipconfig to check the source’s configuration settings 
to see whether data could be transfer to each destination host, type ping <destination ip address>

e.g:- from pc 0 to pc 1
PC>ipconfig

IP Address......................: 192.168.10.5
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.10.1

PC>ping 192.168.10.6

Pinging 192.168.10.6 with 32 bytes of data:

Reply from 192.168.10.6: bytes=32 time=63ms TTL=128
Reply from 192.168.10.6: bytes=32 time=62ms TTL=128
Reply from 192.168.10.6: bytes=32 time=62ms TTL=128
Reply from 192.168.10.6: bytes=32 time=62ms TTL=128

Ping statistics for 192.168.10.6:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 62ms, Maximum = 63ms, Average = 62ms


e.g:- from pc 0 to pc 3 
PC>
PC>ping 192.168.11.5

Pinging 192.168.11.5 with 32 bytes of data:

Reply from 192.168.10.1: Destination host unreachable.
Reply from 192.168.10.1: Destination host unreachable.
Reply from 192.168.10.1: Destination host unreachable.
Reply from 192.168.10.1: Destination host unreachable.

Ping statistics for 192.168.11.5:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

e.g:- from pc 0 to router 0
PC>ping 10.1.0.1

Pinging 10.1.0.1 with 32 bytes of data:

Reply from 10.1.0.1: bytes=32 time=63ms TTL=255
Reply from 10.1.0.1: bytes=32 time=47ms TTL=255
Reply from 10.1.0.1: bytes=32 time=61ms TTL=255
Reply from 10.1.0.1: bytes=32 time=75ms TTL=255

Ping statistics for 10.1.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 47ms, Maximum = 75ms, Average = 61ms

PC>ping 10.1.0.2

Pinging 10.1.0.2 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 10.1.0.2:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>

Checking the connection passing data packets


  1. Click on Add Simpe PDU (p) 
  2. click on PC-0 and then click on PC-1
  3. notice the table in the right hand side bottom and the Last status column
  4. if it shows Successful then there is no problem in passing data from PC0 to PC1


No comments:

Post a Comment