3.7.10 Lab - Use Wireshark To View Network Traffic: Topology
3.7.10 Lab - Use Wireshark To View Network Traffic: Topology
3.7.10 Lab - Use Wireshark To View Network Traffic: Topology
Topology
Objectives
Part 1: Capture and Analyze Local ICMP Data in Wireshark
Part 2: Capture and Analyze Remote ICMP Data in Wireshark
Background / Scenario
Wireshark is a software protocol analyzer, or “packet sniffer” application, used for
network troubleshooting, analysis, software and protocol development, and
education. As data streams travel back and forth over the network, the sniffer
“captures” each protocol data unit (PDU) and can decode and analyze its content
according to the appropriate RFC or other specifications.
Wireshark is a useful tool for anyone working with networks and can be used with
most labs in the CCNA courses for data analysis and troubleshooting. In this lab,
you will use Wireshark to capture ICMP data packet IP addresses and Ethernet
frame MAC addresses.
Required Resources
1 PC (Windows with internet access)
Additional PCs on a local-area network (LAN) will be used to reply to ping
requests.
Instructor Note: This lab assumes that the student is using a PC with internet
access and can ping other PCs on the local area network.
Using a packet sniffer such as Wireshark may be considered a breach of the
security policy of the school. It is recommended that permission be obtained
before running Wireshark for this lab. If using a packet sniffer such as Wireshark
is an issue, the instructor may wish to assign the lab as homework or perform a
walk-through demonstration.
Instructions
Windows IP Configuration
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DHCP Enabled. . . . . . . . . . . : No
IPv4 Address. . . . . . . . . . . :
192.168.1.147(Preferred)
<output omitted>
b. Ask a team member or team members for their PC IP address and provide
your PC IP address to them. Do not provide them with your MAC address at this
time.
Notice that you start seeing data appear in the top window of Wireshark again.
Note: If the PC of your team member does not reply to your pings, this may be
because the PC firewall of the team member is blocking these requests. Please
see Appendix A: Allowing ICMP Traffic Through a Firewall for information on how
to allow ICMP traffic through the firewall using Windows.
d. Stop capturing data by clicking the Stop Capture icon.
Step 2: Examining and analyzing the data from the remote hosts.
Review the captured data in Wireshark and examine the IP and MAC addresses
of the three locations that you pinged. List the destination IP and MAC addresses
for all three locations in the space provided.
IP address for www.yahoo.com:
MAC address for www.yahoo.com:
IP address for www.cisco.com:
MAC address for www.cisco.com:
IP address for www.google.com:
MAC address for www.google.com:
P addresses: 98.137.246.7, 96.7.79.147, 172.217.14.100 (these IP addresses
may vary)
AC address: This will be the same for all three locations. It is the physical
address of the default-gateway LAN interface of the router.
What is significant about this information?
The MAC addresses for all three locations are the same.
How does this information differ from the local ping information you received in
Part 1?
A ping to a local host returns the MAC address of the PC NIC. A ping to a remote
host returns the MAC address of the default gateway LAN interface.
Reflection Question
Why does Wireshark show the actual MAC address of the local hosts, but not the
actual MAC address for the remote hosts?
MAC addresses for remote hosts are not known on the local network, so the
MAC address of the default-gateway is used. After the packet reaches the
default-gateway router, the Layer 2 information is stripped from the packet and a
new Layer 2 header is attached with the destination MAC address of the next
hop router.