A later lab run is rarely bit-identical to the capture you kept as a golden copy. One DNS answer may have changed, one ICMP echo may be missing, and one extra ARP may have been recorded. Opening the two files side by side is faster than hunting for those differences in Wireshark by hand, as long as the tool realigns after a missing packet instead of marking everything after the gap as different.
This article walks through that comparison in Pcap Workbench Web Community 1.8.10. The two teaching captures below are six packets each. You can download them and run the same steps in the browser. Compare is read-only, so the Community 10-packet write cap does not apply.
Try it yourself in the browser Download the left PCAP Right PCAP
What is in the files
Both files are Ethernet captures in the documentation prefix 192.0.2.0/24. The left file is a short golden run: an ICMP echo, a DNS lookup for testhost.lab.example, a second ICMP echo, and an ARP request. The right file is a later run of the same check with three deliberate changes: the DNS A record is 192.0.2.31 instead of 192.0.2.30, the second ICMP echo is missing, and an extra ARP asks for 192.0.2.30.
| Left (golden) | Right (later run) |
|---|---|
| 1. 0.000 ICMP echo request, 192.0.2.10 → 192.0.2.20, seq 1 | 1. Same packet |
| 2. 0.001 ICMP echo reply, seq 1 | 2. Same packet |
| 3. 0.010 DNS query 0x1234 A testhost.lab.example | 3. Same packet |
| 4. 0.011 DNS response, A 192.0.2.30 | 4. Same message, A 192.0.2.31 |
| 5. 0.020 ICMP echo request, seq 2 | (not present) |
| 6. 0.030 ARP who-has 192.0.2.20 | 5. Same ARP who-has 192.0.2.20 |
| (not present) | 6. 0.040 ARP who-has 192.0.2.30 |
tshark 4.4 reports no expert warnings on either file. IP and UDP checksums verify as good. The only byte differences in left packet 4 versus right packet 4 are the last octet of the A record and the UDP checksum that covers it.
Try it yourself in the browser
These steps were run in the public Web Community 1.8.10 page at packetbuilder.net/pcap-workbench-web/. The web edition ships no demo captures, which is why the two files above are published with the article. Nothing is uploaded: the notice on the page states that the files stay in this browser.
- Open the page and wait until the status at the bottom right says Ready. The badge in the top right should read Web Community 1.8.10.
- Open the Compare tab (the Compare button in the toolbar, or the Compare tab under the notice).
- Click Open left and choose
pcap-compare-left.pcap. Click Open right and choosepcap-compare-right.pcap. The labels next to the buttons change from “No file” to the filenames. - Click the blue Compare button.
The summary should read:
6 left / 6 right packets shown — 4 same, 1 different, 1 left_only, 1 right_only
Next to Prev diff and Next diff you should see 1 / 3 differences. The first differing row is selected automatically: left and right packet 4, both labelled DNS, length 116.

What the three kinds of difference are
Each side has its own packet list (No., Time, Protocol, Length, Initial bytes), Packet view (hex) and Protocol view. Row status is also the tooltip on the list row: same, different, left_only or right_only. Protocol colours the rows (ICMP pink, DNS light blue, ARP light orange in this build). The selected row is a solid blue bar.
Packet numbers stay local to each file. After the missing ICMP, left packet 6 (ARP who-has 192.0.2.20) still lines up with right packet 5, and that row is same. The comparison realigns on packet content, so one missing frame does not make every later packet look different.
1. A packet that differs by two bytes
With the DNS response selected, Packet view highlights two bytes on each side: offset 41 (ae on the left, ad on the right) and offset 115 (1e on the left, 1f on the right). Protocol view names them. Scroll that tree down to the UDP and DNS fields:
udp.checksumis0xf0aeon the left and0xf0adon the right (offset 40, length 2).dns.an.rdatais192.0.2.30on the left and192.0.2.31on the right. That last octet is the byte at offset 115.
The IPv4 header is otherwise the same, including ip.checksum 0xe646, because the datagram length did not change. The web Protocol view is the built-in dissector (this edition does not run tshark). Some DNS name and rdata rows show Offset and Len as undefined; the UDP checksum row does have a numeric offset.

2. A packet only on the left
Click Next diff. The nav changes to 2 / 3 differences. The left list selects packet 5, an ICMP echo request at time 0.020000, length 61. That is the second ping in the golden file (tshark: icmp.seq == 2). On the right, Packet view and Protocol view both show the short notice (no packet on this side).
The empty right-hand list row is only a few pixels tall, so it is easy to miss in the table. The notice in the panes is the reliable signal.

3. A packet only on the right
Click Next diff again. The nav changes to 3 / 3 differences. The right list selects packet 6, an ARP request at time 0.040000. Protocol view shows arp.dst.proto_ipv4 192.0.2.30 — the later run asked who-has the address from the original DNS answer. The left Packet view and Protocol view show (no packet on this side).

Prev diff walks the same three rows in the opposite direction and wraps around.
Check the same packets in tshark
If you want a second opinion on the files, these display filters isolate the three differences:
dns.a == 192.0.2.30
dns.a == 192.0.2.31
icmp.seq == 2
arp.dst.proto_ipv4 == 192.0.2.30
A one-line comparison of the two DNS responses:
tshark -r pcap-compare-left.pcap -Y "dns.flags.response == 1" -T fields -e dns.a -e udp.checksum
tshark -r pcap-compare-right.pcap -Y "dns.flags.response == 1" -T fields -e dns.a -e udp.checksum
That prints 192.0.2.30 / 0xf0ae on the left and 192.0.2.31 / 0xf0ad on the right, matching the bytes Pcap Workbench highlighted.
Editions and limits
Compare does not write a capture, so the Community 10-packet write cap does not apply. The product page and the editions table list Compare as unlimited and read-only. The Help page also states that the web Compare view shows the first 2000 packets of each file (a display cap, not the write cap). These teaching files have six packets each, so that display cap was not re-tested here.
The same Compare tab is in the desktop app. This walk-through was verified in the web edition only. Sending to a device and live capture remain desktop-only, as the yellow notice on the web page says.
Related
Other Pcap Workbench guides in this series:
- How to Truncate and Split a PCAP like editcap
- How to Rewrite IP and MAC Addresses for a Lab
- How to Inspect IP Fragmentation and Reassembly
- How to Impair a PCAP (Drop, Reorder, Delay or Corrupt Packets)
Earlier articles on related workflows: edit a PCAP without breaking checksums, anonymize a PCAP before you share it, build a PCAP regression set with PASS/FAIL checks, replay a PCAP to a lab device, and strip VLAN tags or decapsulate GTP-U.
Try it yourself in the browser Left PCAP Right PCAP Left PCAPNG Right PCAPNG
Addresses in these files (192.0.2.10, 192.0.2.20, 192.0.2.30, 192.0.2.31, 192.0.2.53) are documentation-range IPv4 addresses from RFC 5737, not a live network. MAC addresses are locally administered. A PCAPNG copy of each file is available alongside the PCAP. Product page: Pcap Workbench.