7.1.6 Lab - Use Wireshark To Examine Ethernet Frames
7.1.6 Lab - Use Wireshark To Examine Ethernet Frames
Objectives
Part 1: Examine the Header Fields in an Ethernet II Frame
Part 2: Use Wireshark to Capture and Analyze Ethernet Frames
Background / Scenario
When upper layer protocols communicate with each other, data flows down the Open Systems
Interconnection (OSI) layers and is encapsulated into a Layer 2 frame. The frame composition is dependent
on the media access type. For example, if the upper layer protocols are TCP and IP and the media access is
Ethernet, then the Layer 2 frame encapsulation will be Ethernet II. This is typical for a LAN environment.
When learning about Layer 2 concepts, it is helpful to analyze frame header information. In the first part of this
lab, you will review the fields contained in an Ethernet II frame. In Part 2, you will use Wireshark to capture
and analyze Ethernet II frame header fields for local and remote traffic.
Required Resources
• 1 PC (Windows with internet access and with Wireshark installed)
Instructions
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
Preamble Not shown in capture This field contains synchronizing bits, processed by the
NIC hardware.
Destination Address Broadcast (ff:ff:ff:ff:ff:ff) Layer 2 addresses for the frame. Each address is 48 bits
long, or 6 octets, expressed as 12 hexadecimal digits, 0-
9,A-F.
A common format is 12:34:56:78:9A:BC.
The first six hex numbers indicate the manufacturer of the
Source Address Dell_50:fd:c8
network interface card (NIC), the last six hex numbers are
(f0:1f:af:50:fd:c8)
the serial number of the NIC.
The destination address may be a broadcast, which
contains all ones, or a unicast. The source address is
always unicast.
Frame Type 0x0806 For Ethernet II frames, this field contains a hexadecimal
value that is used to indicate the type of upper-layer
protocol in the data field. There are numerous upper-layer
protocols supported by Ethernet II. Two common frame
types are these:
Value Description
0x0800 IPv4 Protocol
0x0806 Address Resolution Protocol (ARP)
All hosts on the LAN will receive this broadcast frame. The host with the IP address of 192.168.1.1 (default
gateway) will send a unicast reply to the source (PC host). This reply contains the MAC address of the NIC of the
Type your
default answers here.
gateway
Why does the PC send out a broadcast ARP prior to sending the first ping request?
The PC cannot send a ping request to a host until it determines the destination
MAC address, so that it can build the frame header for that ping request. The ARP
Type your answers
broadcast is used tohere.
request the MAC address of the host with the IP address
contained in the ARP.
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
What is the Vendor ID (OUI) of the Source NIC in the ARP reply?
It varies,
Type your in my case
answers its FiberhomeTel.
here.
What portion of the MAC address is the OUI?
Theyour
Type first 3answers
octets ofhere.
the MAC address indicate the OUI in my case its b4:2e:99
What is the NIC serial number of the source?
Type your answers here.
It may vary, in my case its 42:5d:9f.
Part 2: Use Wireshark to Capture and Analyze Ethernet Frames
In Part 2, you will use Wireshark to capture local and remote Ethernet frames. You will then examine the
information that is contained in the frame header fields.
Step 4: From the command prompt window, ping the default gateway of your PC.
Open a Windows command prompt.
From the command window, ping the default gateway using the IP address that you recorded in Step 1.
Close Windows command prompt.
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
Questions:
In the first echo (ping) request frame, what are the source and destination MAC addresses?
Source:
Type your answers here.
Destination:
Type your answers here.
What are the source and destination IP addresses contained in the data field of the frame?
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 7 www.netacad.com
Lab - Use Wireshark to Examine Ethernet Frames
Source:
Type your answers here.
b4:2e:99:42:5d:9f.
Destination:
Type your answers here.
6c-a4-d1-cd-72-20
Compare these addresses to the addresses you received in Step 6. The only address that changed is the
destination IP address. Why has the destination IP address changed, while the destination MAC address
remained the same?
Layer 2 frames never leave the LAN. When a ping is issued to a remote host, the source will use the default
gateway MAC address for the frame destination. The default gateway receives the packet, strips the Layer 2
frame
Type information
your answersfrom
here.the packet and then creates a new frame header with the MAC address of the next
hop. This process continues from router to router until the packet reaches its destination IP address.
Reflection Question
Wireshark does not display the preamble field of a frame header. What does the preamble contain?
Type your answers here.
The preamble field contains seven octets of alternating 1010 sequences, and one octet that signals the
End of Document
2013 - 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 7 www.netacad.com