Packet analysis lab 4 of 12
IPv4 and IPv6 headers: TTL and fragments with ICMP and neighbour discovery
Read the IP layer like an analyst. You work out how far away a host is from its TTL, watch traceroute's ICMP errors and the packets they quote, take a large ping apart into fragments (and see a router fragment them again), catch path-MTU discovery in the act, and follow IPv6 router and neighbour discovery.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 3,072 MB in total. That fits the free demo too.
In your workspace: Shared, then Packet analysis with Wireshark and tcpdump guided labs, then 04 - IPv4 and IPv6 headers - TTL and fragments with ICMP and neighbour discovery
- Level
- Intermediate
- Time
- About 70 minutes
- Nodes need
- 5 vCPU, 3,072 MB
- Smallest plan
- Lite
The scenario
Fellside Outdoor's office PC PC1 reaches the warehouse server SRV through two routers. The link between them is a cheap tunnel service with a 1400-byte MTU, and some file transfers have been "hanging" since it was installed. Before you chase that, you'll learn what the IP layer itself tells you in a capture. Your workstation WS is a tap between PC1 and R1, so you see everything PC1 sends and receives.
| Device | Interface | IPv4 | IPv6 |
|---|---|---|---|
| PC1 | eth0 | 10.50.1.21/24, gateway .1 | SLAAC in 2001:db8:50:1::/64 |
| R1 | Gi0/0 | 10.50.1.1/24 | 2001:db8:50:1::1/64, link-local fe80::1 |
| R1 | Gi0/1 (MTU 1400) | 10.50.12.1/30 | 2001:db8:50:12::1/64 |
| R2 | Gi0/1 (MTU 1400) | 10.50.12.2/30 | 2001:db8:50:12::2/64 |
| R2 | Gi0/0 | 10.50.2.1/24 | 2001:db8:50:2::1/64, link-local fe80::2 |
| SRV | eth0 | 10.50.2.10/24, gateway .1 | 2001:db8:50:2::10/64 |
| WS | br0 (eth0 + eth1) | none | none (it's a tap) |
Your workstation, WS. Open WS's console (a remote desktop, root / eve) and start Wireshark from Applications > Internet > Wireshark. Capture on eth0, the PC1 side of the tap. Write answers in /root/answers.txt (pluma /root/answers.txt &).
What you’ll practise
- Read the IPv4 header fields: TTL, identification, flags, fragment offset, total length and protocol
- Predict the number of router hops from a TTL and an operating system's initial TTL
- Explain ICMP types and codes and find the original packet quoted inside an ICMP error
- Follow fragmentation and path-MTU discovery in a capture
- Identify IPv6 link-local, global and multicast addresses and read router and neighbour discovery messages
The tasks
- Address the hosts
- TTL and distance
- Traceroute and the packet inside the error
- Fragmentation
- Path-MTU discovery
- IPv6 router and neighbour discovery
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.
Every link, as text
- PC1
eth0to WSeth0 - WS
eth1to R1Gi0/0 - R1
Gi0/1to R2Gi0/1 - R2
Gi0/0to SRVeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| PC1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| WS | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| SRV | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Packet analysis with Wireshark and tcpdump guided labs.Open
04 - IPv4 and IPv6 headers - TTL and fragments with ICMP and neighbour discoveryand 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
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.