Professional Documents
Culture Documents
9, 2019 Rating:
Background
Ping or Packet Internet Groper is one of the useful tools when testing TCP/IP network layer connectivity on the local host
computer or another device in the network. Specifically, it is used to determine whether a specific host through its IP address
is reachable or not and to measure the round-trip time for messages sent from the source host to the destination host. This
utility is available on Windows, Linux and Cisco IOS platforms.
Ping operates by sending Internet Control Message Protocol (ICMP) echo request to the target host and wait for an ICMP
response. ICMP is a TCP/IP Network layer protocol, first defined in RFC 792, September, 1981. ICMP message types were
later expanded in RFC 1700. In the process, it measures the time from transmission to reception and records any packet
loss. The results of the test are then printed in the form of statistical summary.
The ability to accurately and quickly diagnose network connectivity issues is a skill expected from a network engineer.
Knowledge about the TCP/IP protocols and practice with troubleshooting commands will build that skill.
The command can be used with a destination IP address, such as 192.168.2.23 or qualified name, such as hcdc.edu.ph, to
test domain name services (DNS) functionality. For this task, only IP addresses will be used.
1.1. Open a Windows terminal and determine IP address of your PC with the ipconfig command. An example is shown
in Figure 1. The output should look the same except for the IP address. Each PC should have the same network
mask and default gateway address; only the IP address may differ. If the information is missing or if the subnet
mask and default gateway are different, reconfigure the TCP/IP settings to match the settings for this PC.
1.3. Use the ping command to verify TCP/IP Network layer connectivity on the local host computer. By default, four
ping requests are sent to the destination and reply information is received. Output should look similar to that
shown in the succeeding figure except for the IP address.
1.4. Fill in the Value column with the results of the ping command shown in your PC.
Field Value
Size of Packet 32 bytes
Number of packets sent 4
Number of replies 4
Number of lost packets 0
Minimum delay 0ms
Maximum delay 0ms
Average delay 0ms
Was the Ping successful? Explain your answer. Yes, because there’s no delay and lost of packets and there’s a
confirmation being received.
2.1. Use the ping command to verify TCP/IP Network layer connectivity to a device on a remote network
2.2. Fill in the Value column with results of the ping command to a remote computer:
Field Value
Size of Packet 32 bytes
Number of packets sent 4
Number of replies 0
Number of lost packets 100%
Minimum delay -
Maximum delay -
Average delay -
Was the Ping successful? Explain your answer. No, because there will be no confirmation indicates that the packets
have received. Therefore, 100% packet lose.
What is the role of the DNS in a network? It serves as a storage of public IP addresses and their associated hostnames and
in most cases serves to resolve, or translate, those names to IP addresses as requested.
Step 5 Type the following command: ping www.google.com
Notice that the DNS server was able to resolve the name to an IP
address, but there is no response. Some google routers are
configured to ignore ping requests. This is a frequently
implemented security measure.
Step 5 Ping some other domain names and observe the results
1. ping the destination address until stopped, use the –t option. To stop, press <CTRL> C:
Example: ping –t www.google.com
2. ping the destination once, and record router hops, use the –n and –r options, as shown in Figure 10. Note: Not
all devices will honor the –r option.
Example: ping –n 1 –r 9 192.168.0.253
Reflection/Analysis:
Ping serves as an indicator telling if our PC is connected to a network or not. Also, it let you know if the packet you sent are
being received because of the confirmation. Based on the number of sent packets, if the number of replies are match with number of
sent, it means that the Ping is successful. There’s no loss of packets.