Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
1.13 Switching concepts

Lab5.1.1.7ccna19 min

5.1.1.7 Lab - Using Wireshark to Examine Ethernet Frames

Topology

A PC connects to a router labelled Default Gateway, which connects onward to a cloud labelled Internet.

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 7, 8, or 10 with internet access with Wireshark installed)

Part 1: Examine the Header Fields in an Ethernet II Frame

In Part 1, you will examine the header fields and content in an Ethernet II frame. A Wireshark capture will be used to examine the contents in those fields.

Step 1: Review the Ethernet II header field descriptions and lengths.

PreambleDestination AddressSource AddressFrame TypeDataFCS
8 Bytes6 Bytes6 Bytes2 Bytes46 – 1500 Bytes4 Bytes

Step 2: Examine the network configuration of the PC.

This PC host IP address is 192.168.1.147 and the default gateway has an IP address of 192.168.1.1.

A Windows command prompt running ipconfig /all. The banner reads Microsoft Windows [Version 10.0.16299.64], (c) 2017 Microsoft Corporation. All rights reserved. Under Windows IP Configuration the host name is DESKTOP-C73CB0M, the primary DNS suffix is blank, node type is Hybrid, and IP routing and WINS proxy are both No. Under Ethernet adapter Ethernet the connection specific DNS suffix is blank, the description is Intel(R) 82577LM Gigabit Network Connection and the physical address is 00-26-B9-DD-00-91, both circled in red. DHCP and autoconfiguration are Yes. The IPv4 address, also circled, is 192.168.1.147(Preferred), the subnet mask is 255.255.255.0, and the default gateway and DHCP server are both 192.168.1.1. The link-local IPv6 address is struck through by the red annotation and cannot be read reliably, so it is left out.

Step 3: Examine Ethernet frames in a Wireshark capture.

The Wireshark capture below shows the packets generated by a ping being issued from a PC host to its default gateway. A filter has been applied to Wireshark to view the ARP and ICMP protocols only. The session begins with an ARP query for the MAC address of the gateway router, followed by four ping requests and replies.

A Wireshark capture with the display filter arp or icmp. Frame 25 at 30.848323 is an ARP from BelkinIn_9f:6b:8c to Dell_dd:00:91, 60 bytes, asking Who has 192.168.1.147. Frame 26 at 30.848365 is the reply from Dell_dd:00:91 to BelkinIn_9f:6b:8c, 42 bytes, saying 192.168.1.147 is at 00: and then cut off by the column. Frames 30 to 35 are ICMP echo requests from 192.168.1.147 to 192.168.1.1 and replies back, all 74 bytes, at times 45.346129, 45.346432, 46.359847, 46.360272, 47.375524 and 47.375919. Frame 25 is selected and its three layers are shown collapsed: Frame 25, 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0; Ethernet II, Src BelkinIn_9f:6b:8c (14:91:82:9f:6b:8c), Dst Dell_dd:00:91 (00:26:b9:dd:00:91); and Address Resolution Protocol (request). The status bar reads Packets: 48, Displayed: 12 (25.0%).

Step 4: Examine the Ethernet II header contents of an ARP request.

The following table takes the first frame in the Wireshark capture and displays the data in the Ethernet II header fields.

FieldValueDescription
PreambleNot shown in captureThis field contains synchronizing bits, processed by the NIC hardware.
Destination AddressBroadcast (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 network interface card (NIC), the last six hex numbers are 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.
Source AddressBelkinIn_9f:6b:8c (14:91:82:9f:6b:8c)
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
FieldValueDescription
0x0800 IPv4 Protocol 0x0806 Address Resolution Protocol (ARP)
DataARPContains the encapsulated upper-level protocol. The data field is between 46 – 1,500 bytes.
FCSNot shown in captureFrame Check Sequence, used by the NIC to identify errors during transmission. The value is computed by the sending machine, encompassing frame addresses, type, and data field. It is verified by the receiver.

What is significant about the contents of the destination address field? ______

Why does the PC send out a broadcast ARP prior to sending the first ping request? ______

What is the MAC address of the source in the first frame? ______

What is the Vendor ID (OUI) of the Source NIC? ______

What portion of the MAC address is the OUI? ______

What is the NIC serial number of the source? ______

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 1: Determine the IP address of the default gateway on your PC.

Open a command prompt window and issue the ipconfig command.

What is the IP address of the PC default gateway?

Step 2: Start capturing traffic on your PC NIC.

a. Close Wireshark. No need to save the captured data.

b. Open Wireshark, start data capture.

c. Observe the traffic that appears in the packet list window.

Wireshark capturing from Ethernet with no display filter applied. Frame 1 at 0.000000 is TLSv1.2 Application Data, 126 bytes, from 192.168.1.147 to 65.52.108.193. Frame 2 at 0.027227 is the reply, TLSv1.2 Application Data, 145 bytes. Frame 3 at 0.077488 is a TCP ACK of 54 bytes from 192.168.1.147 to 65.52.108.193, port 50199 to 443. Frame 4 at 4.133076 is an 85 byte DNS standard query 0xf55f from 192.168.1.147 to 192.168.1.1, and frame 5 at 4.145329 is the 147 byte response back. Frames 6 and 7 at 4.146300 and 4.206729 are the TCP SYN from 192.168.1.147 to 52.109.8.22 on port 50525 to 443 and the SYN, ACK back, both 66 bytes. An eighth row is clipped off at the bottom edge of the figure.

Step 3: Filter Wireshark to display only ICMP traffic.

You can use the filter in Wireshark to block visibility of unwanted traffic. The filter does not block the capture of unwanted data; it only filters what to display on the screen. For now, only ICMP traffic is to be displayed.

In the Wireshark Filter box, type icmp. The box should turn green if you typed the filter correctly. If the box is green, click Apply (the right arrow) to apply the filter.

Step 4: From the command prompt window, ping the default gateway of your PC.

From the command window, ping the default gateway using the IP address that you recorded in Step 1.

Step 5: Stop capturing traffic on the NIC.

Click the Stop Capture icon to stop capturing traffic.

Step 6: Examine the first Echo (ping) request in Wireshark.

The Wireshark main window is divided into three sections: the packet list pane (top), the Packet Details pane (middle), and the Packet Bytes pane (bottom). If you selected the correct interface for packet capturing in Step 3, Wireshark should display the ICMP information in the packet list pane of Wireshark, similar to the following example.

Wireshark with the display filter icmp, annotated in red to name its three panes Top section, Middle section and Bottom section. Eight frames are shown, all ICMP and all 74 bytes: 118 at 285.292524 and 120 at 286.310197, 123 at 287.325797 and 125 at 288.341526 are echo requests from 192.168.1.147 to 192.168.1.1, and 119 at 285.292859, 121 at 286.310445, 124 at 287.326156 and 126 at 288.341792 are the replies back. Frame 118 is selected and its four layers are shown collapsed: Frame 118, 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface 0; Ethernet II, Src Dell_dd:00:91 (00:26:b9:dd:00:91), Dst BelkinIn_9f:6b:8c (14:91:82:9f:6b:8c); Internet Protocol Version 4, Src 192.168.1.147, Dst 192.168.1.1; and Internet Control Message Protocol. The bottom pane shows the frame as hex and ASCII, where the payload reads abcdefghijklmnopqrstuvwabcdefghi. The status bar names the capture file wireshark_D4A31D07-7C67-4EA5-A616-5176A4480E45_20171209222445_a0774 and reads Packets: 179, Displayed: 8 (4.5%).

a. In the packet list pane (top section), click the first frame listed. You should see Echo (ping) request under the Info heading. This should highlight the line blue.

b. Examine the first line in the packet details pane (middle section). This line displays the length of the frame; 74 bytes in this example.

c. The second line in the packet details pane shows that it is an Ethernet II frame. The source and destination MAC addresses are also displayed.

What is the MAC address of the PC NIC? ______

What is the default gateway’s MAC address? ______

d. You can click the plus (+) sign at the beginning of the second line to obtain more information about the Ethernet II frame. Notice that the plus sign changes to a minus (-) sign.

What type of frame is displayed? ______

e. The last two lines displayed in the middle section provide information about the data field of the frame. Notice that the data contains the source and destination IPv4 address information.

What is the source IP address? ______

What is the destination IP address? ______

f. You can click any line in the middle section to highlight that part of the frame (hex and ASCII) in the Packet Bytes pane (bottom section). Click the Internet Control Message Protocol line in the middle section and examine what is highlighted in the Packet Bytes pane.

The detail pane for frame 118 with the Internet Control Message Protocol layer expanded. Above it, collapsed, are Frame 118, 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface 0; Ethernet II, Src Dell_dd:00:91 (00:26:b9:dd:00:91), Dst BelkinIn_9f:6b:8c (14:91:82:9f:6b:8c); and Internet Protocol Version 4, Src 192.168.1.147, Dst 192.168.1.1. Inside the expanded ICMP layer, Type is 8 (Echo (ping) request), Code is 0 and Checksum is 0x4d26 [correct]. The bytes pane below highlights the ICMP bytes, which begin 08 00 4d 26 00 01 00 35 and carry the ASCII payload abcdefghijklmnopqrstuvwabcdefghi. The status bar reads Internet Control Message Protocol (icmp), 40 bytes, with Packets: 179, Displayed: 8 (4.5%).

What do the last two highlighted octets spell? ______

g. Click the next frame in the top section and examine an Echo reply frame. Notice that the source and destination MAC addresses have reversed, because this frame was sent from the default gateway router as a reply to the first ping.

What device and MAC address is displayed as the destination address? ______

Step 7: Restart packet capture in Wireshark.

Click the Start Capture icon to start a new Wireshark capture. You will receive a popup window asking if you would like to save the previous captured packets to a file before starting a new capture. Click Continue without Saving.

Step 8: In the command prompt window, ping www.

cisco.com.

Step 10: Examine the new data in the packet list pane of Wireshark.

In the first echo (ping) request frame, what are the source and destination MAC addresses? ______

Destination: This should be the MAC address of the Default Gateway.

What are the source and destination IP addresses contained in the data field of the frame?

Source: This is still the IP address of the PC.

Destination: This is the address of the server at www.cisco.com, 23.13.155.188 in the example.

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? ______

Reflection

Wireshark does not display the preamble field of a frame header. What does the preamble contain? ______

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net