Packet analysis lab 3 of 12

Ethernet frames: 802.1Q tags and a duplicate address

Tap the trunk between a switch and a router-on-a-stick, read 802.1Q tags and watch one ping cross the trunk twice in two VLANs. Then use ARP and Wireshark's duplicate-address warning to find the label printer that stole the tills' gateway address, and fix it.

Run this lab

It needs Lite: its 6 nodes are set to 6 vCPU and 3,840 MB in total. That fits the free demo too.

In your workspace: Shared, then Packet analysis with Wireshark and tcpdump guided labs, then 03 - Ethernet frames - 802-1Q tags and a duplicate address

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 60 minutes
Nodes need
6 vCPU, 3,840 MB
Smallest plan
Lite

The scenario

Fellside Outdoor's Kendal shop has two VLANs on one switch: STAFF (VLAN 10) and TILLS (VLAN 20). Router R1 routes between them over a single trunk (router-on-a-stick). Since a new label printer, PRN1, was plugged in last week, the till TILL1 keeps losing the back office, sometimes for minutes at a time. You've put your workstation WS in-line on the trunk as a tap, so you see every frame between SW1 and R1, tags and all.

DeviceInterfaceVLANAddressConnects to
R1Gi0/0.10 / Gi0/0.2010 / 2010.40.10.1/24 / 10.40.20.1/24trunk, through WS
SW1Gi0/0trunk 10, 20noneWS eth0
PC10eth01010.40.10.21/24, gateway .1SW1 Gi0/1
TILL1eth02010.40.20.21/24, gateway .1SW1 Gi0/2
PRN1eth020should be 10.40.20.60/24SW1 Gi0/3
WSbr0 (eth0 + eth1)allnonethe tap

Your workstation, WS. Open WS's console (a remote desktop, root / eve) and start Wireshark from Applications > Internet > Wireshark. Write answers in /root/answers.txt (pluma /root/answers.txt &).

What you’ll practise

  • Identify the fields of an Ethernet frame, common EtherTypes and unicast, broadcast and multicast MAC addresses
  • Read an 802.1Q tag and explain how it changes the frame header
  • Follow a routed packet across a trunk in two VLANs, with new MAC addresses and a lower TTL
  • Explain ARP requests, replies and gratuitous ARP, and filter each type
  • Find a duplicate IP address from ARP evidence and fix it

The tasks

  1. Start the hosts
  2. Read an Ethernet frame
  3. Read the 802.1Q tag
  4. ARP requests, replies and gratuitous ARP
  5. Find the owner and fix it

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Ethernet frames - 802-1Q tags and a duplicate address6 nodes, 5 links. Every link is listed as text below the diagram.SW1WSR1PC10TILL1PRN1Gi0/0eth0Gi0/2eth0eth1Gi0/0Gi0/1eth0Gi0/3eth0
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Ethernet frames: 802.1Q tags and a duplicate address, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
SW1Cisco IOSvL2viosl2-adventerprisek9-m.ssa.high_iron_202009291 vCPU, 768 MB
WSEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB
R1Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 512 MB
PC10Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
TILL1Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
PRN1Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder Packet analysis with Wireshark and tcpdump guided labs.

  3. Open 03 - Ethernet frames - 802-1Q tags and a duplicate address and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More Packet analysis labs

All Packet analysis labs

Related labs in other courses

CloudLabBox is independent of the Wireshark Foundation, CompTIA and Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.