You are on page 1of 3

Laboratory Activity 2: Ping and Tracert

Juan Glicerio C. Manlapaz


Department of Electronics, Computer,and Communications Engineering
Ateneo de Manila University
Quezon City, Philippines
juan.manlapaz@obf.ateneo.edu

I. METHODOLOGY
A. List of Materials utilized
For this lab activity, two devices were used: a Lenovo
laptop and a Samsung smartphone.
B. Procedure
The main objective of this experiment was to perform
ping and tracert in two devices that are connected to the
same network. These are done by writing the needed queries
using the Command Prompt. The laptop’s IP address, Fig. 2. Ping Details of the Default Gateway
default gateway, DHCP/DNS server, loopback IP address
are pinged and the results were taken. Furthermore, the From this figure, four packets with each packet with a
smartphone’s IP address was pinged and the results were size of 32 bytes are sent to IPv4 address 192.168.1.1 and is
taken. successful. The average time for this ping was about 5
For the tracert, five websites were used to trace the route milliseconds with max time of 10 milliseconds and
to each of their respective IP addresses and the results were minimum time of 2 milliseconds.
taken. This is also done in the Command Prompt.
By typing ping 192.168.1.1 (this DHCP Server
II. RESULTS AND DISCUSSIONS
address was recorded from the previous lab) in the
A. Findings from Ping command prompt, the output is shown in Figure 3.
By typing ping 192.168.1.57 (this IP address was
recorded from the previous lab) in the command prompt, the
output is shown in Figure 1.

Fig. 3. Ping Details of the DHCP server

From this figure, four packets with each packet with a


size of 32 bytes are sent to IPv4 address 192.168.1.1 and is
successful. The average time for this ping was about 5
Fig. 1. Ping Details of the IP address of the laptop milliseconds with max time of 11 milliseconds and
minimum time of 2 milliseconds.
From this figure, four packets with each packet with a
size of 32 bytes are sent to IPv4 address 192.168.1.57 and is By typing ping 127.0.0.1 (this is the loopback IP
successful. Each packet took a time of less than 1ms to address) in the command prompt, the output is shown in
traverse which is expected since that IP address is the IP Figure 4.
address of the device used in this command which is the
laptop.

By typing ping 192.168.1.1 (this default gateway


was recorded from the previous lab) in the command
prompt, the output is shown in Figure 2.
Typing tracert www.youtube.com in the
Command Prompt shows the trace route results to the IP
address of YouTube. Figure 6 shows the results.

Fig. 3. Ping Details of the loopback IP address


Fig. 6. Tracert results of YouTube
From this figure, four packets with each packet with a This shows that it took 9 hops to go from the laptop’s IP
size of 32 bytes are sent to IPv4 address 127.0.0.1 and is address to the IP address of the YouTube website.
successful. Each packet took a time of less than 1ms to
traverse which shows that the TCP/IP is properly installed Typing tracert www.wikipedia.org in the
and functioning in the laptop.
Command Prompt shows the trace route results to the IP
address of YouTube. Figure 7 shows the results.
B. Findings from pinging the smartphone

Typing ping 192.168.1.73 (this is the IP address


of the smartphone obtained in Lab Activity 1) in the
Command Prompt shows the results in Figure 4.

Fig. 7. Tracert results of Wikipedia

This shows that it took 7 hops to go from the laptop’s IP


address to the IP address of the Wikipedia website.

Typing tracert www.facebook.com in the


Command Prompt shows the trace route results to the IP
address of Facebook. Figure 8 shows the results.
Fig. 4. Ping Details of the smartphone’s IP address

From this figure, four packets with each packet with a


size of 32 bytes are sent to IPv4 address 192.168.1.73 and is
successful. The average time for this ping was about 116
milliseconds with max time of 169 milliseconds and
minimum time of 28 milliseconds.

C. Findings from Tracert Fig. 8. Tracert results of Facebook


Typing tracert www.google.com in the
Command Prompt shows the trace route results to the IP This shows that it took 9 hops to go from the laptop’s IP
address of Google. Figure 5 shows the results. address to the IP address of the Facebook website.

Typing tracert www.twitter.com in the


Command Prompt shows the trace route results to the IP
address of Twitter. Figure 9 shows the results.

Fig. 5. Tracert results of Google

This shows that it took 9 hops to go from the laptop’s IP Fig. 9. Tracert results of Twitter
address to the IP address of Google.com.
This shows that it took 9 hops to go from the laptop’s IP
address to the IP address of the Twitter website.
NetBIOS name resolution
[1].
D. Findings from Tracert in the Smartphone
Short for network statistics.
Typing tracert 192.168.1.73 in the Command This is the command line
Prompt shows the trace route results to the IP address of the tool that is used to display
smartphone. Figure 10 shows the results. netsat the current network
connections and port
activity on your computer
[2].
Command line tool that
displays the TCP/IP
ipconfig network configuration of
the network adapters on a
Fig. 10. Tracert results of the smartphone
Windows computer [3].
This shows that it took 1 hop to go from the laptop’s IP Stands for Adress
address to the IP address of the smartphone. Resolution Protocol. This
arp is used to resolve IP
E. Other Networking Prompts adresses to MAC addresses
Below is a table for other networking command line [4].
tools that can be used. hostname Command line tool that
outputs the hostname [5].
Short for NetBIOS over Displays and modifies the
TCP/IP statistics. This is route entries in the local IP
nbstat
the command line that can routing table [6].
help solve problems with
REFERENCES
[1] "Network Administration: The nbtstat Command," dummies, [Online]. Available: https://www.dummies.com/programming/networking/network-
administration-the-nbtstat-command/. [Accessed 16 September 2021].
[2] P. A. Videos, "NETSTAT Command Explained," PowerCert, 9 June 2021. [Online]. Available: https://www.youtube.com/watch?
v=8UZFpCQeXnM. [Accessed 16 September 2021].
[3] P. A. Videos, "IPCONFIG Explained - Flush DNS Cache," PowerCert.com, 12 May 2021. [Online]. Available: https://www.youtube.com/watch?
v=ZKhorleA5aA. [Accessed 16 September 2021].
[4] P. A. Videos, "ARP Explained - Address Resolution Protocol," PowerCert.com, 20 June 2018. [Online]. Available:
https://www.youtube.com/watch?v=cn8Zxh9bPio. [Accessed 2021 September 2021].
[5] "How to determine your computer's hostname and hardware (MAC) address," School of Computer Science, Carnegie Mellon University, [Online].
Available: https://computing.cs.cmu.edu/help-support/find-hostname. [Accessed 16 September 2021].
[6] "route | Microsoft Docs," Microsoft, 11 July 2018. [Online]. Available: https://docs.microsoft.com/en-us/windows-server/administration/windows-
commands/route_ws2008. [Accessed 16 September 2021].

You might also like