CIE 143
Lab Activity 2: Network familiarization using Windows command line
Objectives:
1. Identify tools used for discovering a computer’s network configuration with various
operating systems
2. Gather information, including the connection, host name, MAC (Layer 2) address, and
TCP/IP network (Layer 3) address information.
3. Compare the network information to that of other PCs on the network
4. Learn to use the TCP/IP packet Internet groper (ping) command from a workstation
5. Learn to use the trace route (tracert) command from a workstation
6. Observe name-resoultion occurrences using the WINS and DNS servers
This is an individual work.
Name: SANCHEZ, Aloysius Lorenzo G
SN: 15000185500
Part A: PC Network TCP/IP Configuration
Step 1. Connect to the Internet
Step 2. Open Command Line in Windows
All:
Execute Run Keyboard Shortcut (Win-X) or (Win-R)
Select Command Prompt or type “cmd”
Windows 7:
1. Click on the Start button (Windows 7 or Vista).
2. Click All Programs, followed by Accessories.
3. Choose Command Prompt from the list of programs.
Reference: [Link]
Windows 8/8.1:
1. Swipe up to show the Apps screen. You can accomplish the same thing with a mouse by
clicking on the down arrow icon at the bottom of the screen.
2. Now that you're on the Apps screen, swipe or scroll to the right and locate the Windows
System section heading.
3. Under Windows System, tap or click on Command Prompt.
Reference: [Link]
Windows 10:
1. Tap or click the Start button, followed by All apps.
2. Find the Windows System folder from the list of apps and tap or click it.
3. Under the Windows System folder, click or tap Command Prompt.
Reference: [Link]
Step 3. Type ipconfig /all and press Enter
Gather basic TCP/IP configuration information.
a. This screen shows the adapter address (MAC address), IP address, subnet mask, and
default gateway.
b. The IP address and default gateway should be in the same network or subnet;
otherwise, this host wouldn’t be able to communicate outside the network. The subnet
mask reveals that the first three octets must be the same number in the same network.
Note: If this computer is on a LAN, you might not see the default gateway if it is running behind
a proxy server. Record the following information for this computer (2 points each):
c. IP address (IPv4): [Link]
d. IPv6 Address: [Link]
e. Subnet mask: [Link]
f. Default gateway: [Link]
g. MAC/Physical Address (LAN): [Link]g:c8:5v:09
Step 4. Find a partner and find out about his/her IP information.
Partner’s name: ALCOS, Paul Adrian A
SN: 15000387300
If this computer is on a LAN, compare the information on two machines (2 points each).
a. Are there any similarities? YES, THE SUBNET MASK IS THE SAME
b. What is similar about the IP addresses? THE FIRST TWO NUMBERS
c. What is similar about the default gateways? WE DON’T HAVE SIMILAR DEFAULT
GATEWAYS
d. What is similar about the adapter (MAC) addresses? THE NUMBER OF CODES
ARE SIMILAR
e. Record these two IP addresses (IPv4 only). [Link]
[Link]
Step 5. Verify the selection of a network adapter.
Step 6. Check additional TCP/IP configuration information.
You should see the following information: the host name (computer name, Net BIOS name);
the Dynamic Host Configuration Protocol (DHCP) server’s address, if used; and the date the
IP lease starts and ends. You might also see entries for Domain Name System (DNS) and
Windows Internet Name Service (WINS) servers, which are used in name resolution. Fill out
the following (2 points each):
a. Write down the IP addresses of any servers listed:
[Link]
b. Write down the computer’s host name: Sanchez-PC
c. Do all the servers and workstations share the same network portion of the IP address as
your workstation? YES
Part B: ping and tracert commands
Step 1. Establish and verify connectivity to the Internet.
Step 2. Access the command prompt
Step 3. Ping the IP address of your partner (from Part A Step 4).
Ping uses the Internet Control Message Protocol (ICMP) echo-reply feature to test physical
connectivity.
In the window, type ping, a space, and the IP address of a computer recorded in the previous
lab. Was the ping successful? If not, perform appropriate troubleshooting.
Note: Look over the results. Notice that the first line of output shows the host name followed by the IP
address. This output means the computer was able to resolve the host name to an IP address. Without name
resolution, the ping would have failed because TCP/IP only understands valid IP addresses, not names.
Write down the ping statistics (5 points):
Pinging [Link] with 32 bytes of data:
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Step 4. Ping the IP address of the default gateway. A successful ping means there is physical
connectivity to the router on the local network and probably the rest of the world.
Pinging [Link] with 32 bytes of data:
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Reply from [Link]: Destination host unreachable.
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Step 5. Ping the IP address of a DHCP or DNS server. Was the ping successful? YES
Write down the ping statistics (5 points):
Pinging [Link] with 32 bytes of data:
Reply from [Link]: bytes=32 time<1ms TTL=44
Reply from [Link]: bytes=32 time<1ms TTL=44
Reply from [Link]: bytes=32 time<1ms TTL=44
Reply from [Link]: bytes=32 time<1ms TTL=44
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Step 6. Ping the computer’s loopback IP [Link] the following command: ping [Link]
The [Link] network is reserved for loopback testing. If the ping is successful then TCP/IP is
properly installed and functioning on this computer.
Was the ping successful? YES
Write down the ping statistics (5 points): Pinging [Link] with 32 bytes of data:
Reply from [Link]: bytes=32 time<1ms TTL=128
Reply from [Link]: bytes=32 time<1ms TTL=128
Reply from [Link]: bytes=32 time<1ms TTL=128
Reply from [Link]: bytes=32 time<1ms TTL=128
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Step 7. Ping the website [Link]. A successful ping means that the computer can access the
site without any problems.
Write down the ping statistics (5 points):
Pinging [Link] [[Link]] with 32 bytes of data:
Reply from [Link]: bytes=32 time=190ms TTL=44
Reply from [Link]: bytes=32 time=190ms TTL=44
Reply from [Link]: bytes=32 time=190ms TTL=44
Reply from [Link]: bytes=32 time=190ms TTL=44
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 190ms, Maximum = 190ms, Average = 190ms
Step 8. Now ping the website [Link]
Was there any difference in their ping statistics? If yes, cite the differences (2 points):ONLY
THE ms delivery.
Pinging [Link] [[Link]] with 32 bytes of data:
Reply from [Link]: bytes=32 time=302ms TTL=35
Reply from [Link]: bytes=32 time=302ms TTL=35
Reply from [Link]: bytes=32 time=302ms TTL=35
Reply from [Link]: bytes=32 time=302ms TTL=35
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 302ms, Maximum = 302ms, Average = 302ms
Step 9. Trace the route to the Google website.
Type tracert [Link] and press Enter to generate the results.
You will see a list of all the routers the tracert requests had to pass through to get to the
destination. Tracert actually uses the same echo requests and replies as the ping command
does but in a slightly different way.
Fill out this table (10-points, extend if necessary):
Hop 1st Column ping time IP Address
1 <1ms [Link]
2 <1ms [Link]
3 2 [Link]
4 2 [Link]
5 1 [Link]
6 63 [Link]
7 65 [Link]
8 74 [Link]
9 80 [Link]
10 145 [Link]
11 135 [Link]
12 198 [Link]
13 198 [Link]
14 212 [Link]
15 288 [Link]
16 294 [Link]