Packet Tracer - Use Diagnostic Commands
Packet Tracer - Use Diagnostic Commands
Packet Tracer - Use Diagnostic Commands
Objectives
Part 1: Gather End User Device Settings
Part 2: Gather Information about Network Devices
Part 3: Diagnose Connectivity Issues
Background / Scenario
In this Packet Tracer (PT) activity, you will use various commands to gather device information and
troubleshoot device configuration and connectivity issues. Device information includes IP address, default
gateway, and DNS server settings. These settings are critical to enable a device to communicate on networks
and connect to the internet.
Instructions
When the IPv4 address is no longer from 169.254.0.0/16 range, what is the IP addressing information
displayed? Record your answers in the table below.
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 11
Packet Tracer - Use Diagnostic Commands
What is the IP addressing information displayed under the FastEthernet0 interface? Record your answers
in the table below.
Step 1: Gather network connection information about the link between HQ and ISP.
The HQ-Edge router is the router between the HQ network and the ISP. We need to identify the upstream
device information located in the ISP.
a. In the Wiring Closet left rack, click HQ-Edge > CLI tab.
b. Press Enter to get the HQ-Edge> prompt, and then enter the enable command.
c. Enter the show ip route | begin Gateway command.
Questions:
What is the address for the gateway of last resort (or default gateway)?
Type your answers here.
Why is the next hop address not displayed?
Type your answers here.
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 11
Packet Tracer - Use Diagnostic Commands
How is the default route configured? Does it use the next hop address?
Type your answers here.
e. Enter the show cdp neighbors detail command.
Questions:
What is the MAC address of the interface on the ISP router that is connected to HQ-Edge?
Type your answers here.
h. Close HQ-Edge and exit the Wiring Closet.
b. From PC 1-1, open Command Prompt, and then enter the arp -a command.
Question:
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 11
Packet Tracer - Use Diagnostic Commands
e. To find the route a packet takes to reach the DNS server, enter the tracert 10.2.0.125 command.
Question:
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 11
Packet Tracer - Use Diagnostic Commands
Questions:
Step 3: Use output from the ping command to diagnose connectivity issues.
a. Enter the ping mail.cybercloud.com command.
Questions:
Step 4: Use the netstat command to find active and listening ports.
a. Close Web Browser, and reopen Command Prompt.
b. In HQ, click the Wiring Closet
c. From the right rack, click the FTP server > Desktop tab > Command Prompt.
d. Arrange the PC 1-1 and FTP server Command Prompt windows side by side.
e. From the PC 1-1 window, enter the netstat command.
Questions:
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 11
Packet Tracer - Use Diagnostic Commands
Questions:
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 11
Packet Tracer - Use Diagnostic Commands
Answer Key
Part 1: Gather End User Device Settings
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 11
Packet Tracer - Use Diagnostic Commands
Step 1: Gather network connection information about the link between HQ and ISP.
What is the address for the gateway of last resort (or default gateway)?
0.0.0.0
Why is the next hop address not displayed?
It is not explicitly configured.
How is the default route configured? Does it use the next hop address?
It is configured with the exit interface instead of next hop address.
What is the IPv4 address of the next hop (ISP) address?
10.0.0.49
Which port on the ISP router is connected to HQ-Edge?
GigabitEthernet 1/0
What IOS version is used on the ISP router?
IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
What is the MAC address of the interface on the ISP router that is connected to HQ-Edge?
0060.2FE1.903B
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 11
Packet Tracer - Use Diagnostic Commands
1 0 ms 2 ms 0 ms 192.168.10.1
2 12 ms 0 ms 0 ms 10.0.0.49
3 1 ms 0 ms 0 ms 10.2.0.125
How many routers, or hops, are between PC 1-1 and the DNS server?
2
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 11
Packet Tracer - Use Diagnostic Commands
Address: 192.168.99.3
Non-authoritative answer:
Name: test.ptsecurity.com
Address: 192.168.75.2
In Step 2c, why is the domain name unable to be resolved?
When a domain name is entered in the URL box, the PC is trying to resolve it through the default DNS
server. In this case, the default DNS server does not contain the information in its database.
Step 3: Use output from the ping command to diagnose connectivity issues.
What message is displayed?
C:\> ping mail.cybercloud.com
Pinging 172.19.0.4 with 32 bytes of data:
Step 4: Use the netstat command to find active and listening ports.
What message is displayed? Does it show any data?
C:\>netstat
Active Connections
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 11
Packet Tracer - Use Diagnostic Commands
No data is shown.
What message is displayed? Does it show any data?
C:\>netstat
Active Connections
© 2021 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 11