0% found this document useful (0 votes)
159 views15 pages

Computer Based No. 1: Polytechnic University of The Philippines

This document provides instructions for conducting various network diagnostic tests using Command Prompt commands on a Windows system. It begins with basic commands like ipconfig to view network configuration and ping to test connectivity to IP addresses or websites. The document then explores additional ping command line options and how they affect results. It also covers the arp, tracert and netstat commands for viewing and managing the ARP cache, tracing routes to targets, and listing network connections. The instructions are accompanied by descriptions of command outputs to help understand what each test is evaluating.

Uploaded by

Aiscelle Pelinia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
159 views15 pages

Computer Based No. 1: Polytechnic University of The Philippines

This document provides instructions for conducting various network diagnostic tests using Command Prompt commands on a Windows system. It begins with basic commands like ipconfig to view network configuration and ping to test connectivity to IP addresses or websites. The document then explores additional ping command line options and how they affect results. It also covers the arp, tracert and netstat commands for viewing and managing the ARP cache, tracing routes to targets, and listing network connections. The instructions are accompanied by descriptions of command outputs to help understand what each test is evaluating.

Uploaded by

Aiscelle Pelinia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Republic of the Philippines

POLYTECHNIC UNIVERSITY OF THE PHILIPPINES


COLLEGE OF ENGINEERING
ELECTRONICS ENGINEERING DEPARTMENT

COMPUTER BASED NO. 1

In Partial Fulfillment of The Requirement In


Communications 3: Data Communications
ECE Department
College of Engineering

SUBMITTED BY:
PELINIA, Alyson M.
BSECE 3-2

JUNE 2021
Initial setup
Exercise steps on your desktop or laptop with Windows OS.

1. Click on START, go to RUN and type CMD.

2. A.) In the CMDS Line, type IPCONFIG then enter.


B.) Type IPCONFIG/ALL then enter.

Difference of the two

IPconfig by itself only provides you with the IP address of your principal network connection
while IPconfig /all displays the status, IP address, DNS server, and MAC address of EVERY
network adapter installed on your computer, including VPN adapters, Wi-Fi, Bluetooth, and
pretty much anything else listed as a network adapter.
3.) A.) Type Ping then IP Address of the target devices.

B.) Type Ping then any non-existing IP address e.q. ping 200.200.100.8

Describe the function of Ping

The time it takes for a tiny data set to be transmitted from your device to an Internet server and
back to your device is referred to as ping. In milliseconds, the ping time is measured (ms). The
ping time is an important metric for online games, but it also has a significant impact on the
access delay time for everyday Internet browsing. The ping command is a command prompt
command that is used to see if a source computer can communicate with a specific destination
computer. It's commonly used as a quick way to see if a computer can communicate with another
computer or network device via the internet.

4.) A) Try to add other devices (smart phone/tablet/PC/Laptop) your network and do ping
command to validate connection.
B.) Type Ping then any “live” IP Address then –t, execute by pressing enter. (Ping X.X.X.X –t).

C.) Test more Ping Command Variable.

-a : Resolve addresses to hostnames

In this case, the packet lost is 0(zero


percent loss), four packets were sent,
and four packets were received with a
minimum round trip time of 694
milliseconds, a maximum round trip
time of 784 milliseconds, and an
average round trip time of 753
milliseconds.
-n : Number of echo requests to send

When the supplied value for “n” is 2,


the packet lost is 0(zero percent loss),
two packets were sent, and two packets
were received with a minimum round
trip time of 979 milliseconds, a
maximum round trip time of 984
milliseconds, and an average round trip
time of 981 milliseconds.

-l: Send buffer size

When the supplied value of “l” is 4,


the packet lost is 0(zero percent loss),
four packets were sent, and four packets
were received with a minimum round
trip time of 348 milliseconds, a maximum
round trip time of 437 milliseconds, and
an average round trip time of 374
milliseconds.
-f: Set Don’t fragment flag in packet(IPv4 –only)

In this case, the packet lost is 0(zero


percent loss), four packets were sent,
and four packets were received with a
minimum round trip time of 741
milliseconds, a maximum round trip
time of 840 milliseconds, and an
average round trip time of 791
milliseconds

-i: Set time to Live

When the supplied value of “i” is 3,


the packet lost is 0(zero percent loss),
four packets were sent, and four packets
were received with a minimum round
trip time of 4 milliseconds, a
maximum round trip time of 37
milliseconds, and an average round trip
time of 12 milliseconds.
-v: Set Type of Service (Setting has been deprecated)

When I entered the ping 192.168.0.13


–v 5, the packet lost is 0(zero percent
loss), four packets were sent, and four
packets were received with a minimum
round trip time of 4 milliseconds, a
maximum round trip time of 8
milliseconds, and an average round trip
time of 5 milliseconds.

-r: Record route for count hops(IPv4-only)

When I entered the ping 192.168.0.13


–r 9, the packet lost is 1(twenty-five percent
loss), four packets were sent, and three
packets were received with a minimum
round trip time of 4 milliseconds, a
maximum round trip time of 19
milliseconds, and an average round trip
time of 9 milliseconds.
-s: Timestap for count hops(IPv4-only)

When I entered the ping 192.168.0.13


–s 1, the packet lost is 0(zero percent
loss), four packets were sent, and four
packets were received with a minimum
round trip time of 8 milliseconds, a
maximum round trip time of 32
milliseconds, and an average round trip
time of 14 milliseconds.

-k: Strict source route along hostlist (IPv4-only)

When I entered the ping –k


192.168.0.13 192.168.0.21, the packet
lost is 0(zero percent loss), four packets
were sent, and four packets were
received with a minimum round trip
time of 0 milliseconds, a maximum
round trip time of 0 milliseconds, and
an average round trip time of 0
milliseconds.
-w: Timeout in milliseconds to wait for each reply

When I entered the ping 192.168.0.13


–w 4ms, the packet lost is 0(zero
percent loss), four packets were sent,
and three packets were received with a
minimum round trip time of 4
milliseconds, a maximum round trip
time of 10 milliseconds, and an
average round trip time of 5
milliseconds.

-S: Source address to use

When I ping 192.168.0.13 from the


source address 192.168.0.21, the packet
lost is 0(zero percent loss), four packets
were sent, and four packets were
received with a minimum round trip
time of 4 milliseconds, a maximum
round trip time of 5 milliseconds,
and an average round trip time of 4
milliseconds.
5.) A) Type arp –a then enter; ( arp –a)

Describe the output and what do you think is the purpose of ARP Command?

The arp (address resolution protocol) is a simple Windows network command-line utility used to


view and manage the arp cache. The arp cache is a collection of IP and MAC addresses of
devices on your local network that your computer knows about. This tool is typically used in
troubleshooting network issues. Arp command (address resolution protocol) is used to view and
manage the arp cache. The arp cache contains a dynamic list of IP addresses of the devices
(computers, routers) your computer communicated with recently. More importantly, along with
the IP address, the MAC address (the 6-byte 'burned-in' physical/hardware address) of the device
is also stored in the cache.

The purpose for maintaining an arp cache is to improve network performance. When your
computer communicates with a device, regardless of whether it is on your local network (e.g., file
server) or is external to it (e.g., website, ftp server), your computer needs to know the MAC
address of the device to communicate with it. In the case of external devices, your computer
needs to communicate with your network router. Within the same network, all hosts communicate
with each other by addressing each other by their MAC address.
B.) Type ARP then enter. Explore arp variables.

6.) Type Tracert IP address (target host). then enter (tracert x.x.x.x)

7.) Type Ping www.yahoo.com then enter.


The screenshot depicts a ping session to yahoo.com. We can see the IP address that is being
contacted, the sequence number of each packet sent, and the approximate round-trip time. In this
case, the packet lost is 0(zero percent loss), four packets were sent, and four packets were
received with a minimum round trip time of 42 milliseconds, a maximum round trip time of 100
milliseconds, and an average round trip time of 80 milliseconds.

8.) Type tracert www.yahoo.com then enter.

The output shows the detail information such as the maximum number of hops and the route
table, as well as the IP addresses of each node the packet passes through on its way to the final
destination. We can see from this command that tracert identified 13 network devices, including
our router 192.168.0.1 and all the way to the target of www.yahoo.com, which we now know uses
the public IP address 202.165.107.49, one of Yahoo's many IP addresses.

You might also like