Network+ lab 2 of 27
Packets on the wire: OSI layers and traffic types
Capture real traffic with tcpdump and take it apart layer by layer: ARP broadcasts, ICMP, a TCP three-way handshake carrying HTTP, a UDP datagram and OSPF multicast. You see encapsulation change at each router hop and learn the ports the exam lists.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 3,328 MB in total. That fits the free demo too.
In your workspace: Shared, then CompTIA Network Plus N10-009 guided labs, then 02 - Packets on the wire - OSI layers and traffic types
- Level
- Beginner
- Time
- About 50 minutes
- Nodes need
- 5 vCPU, 3,328 MB
- Smallest plan
- Lite
The scenario
Harbour Logistics' intranet web server H2 sits on its own segment behind router R1. Users on the office LAN reach it through R1. Before the security team rolls out encryption, they want someone to show them, packet by packet, what actually crosses the wire. You'll capture on H2, the server, and take the traffic apart layer by layer.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| R1 | Gi0/0 | 10.10.10.1/24 | SW1 Gi0/0 (office LAN) |
| R1 | Gi0/1 | 10.10.20.1/24 | H2 eth0 (server segment) |
| H1 | eth0 | DHCP (10.10.10.100 upwards) | SW1 Gi0/1 |
| PC1 | eth0 | 10.10.10.50/24 | SW1 Gi0/2 |
| H2 | eth0 | 10.10.20.20/24, gateway .1 | R1 Gi0/1 |
What you’ll practise
- Capture and filter traffic with tcpdump, live and to a file
- Identify layer 2, 3 and 4 headers in a capture and explain encapsulation
- Show that MAC addresses change at each router hop while IP addresses stay the same
- Recognise a TCP three-way handshake and compare it with connectionless UDP
- Tell unicast, broadcast and multicast traffic apart
- Match common services to their well-known ports
The tasks
- Task 0: Prepare the web server H2
- Task 1: Capture ARP and ICMP, and read the layers
- Task 2: Watch the frame change at the router
- Task 3: Capture a TCP three-way handshake and HTTP
- Task 4: Send a UDP datagram
- Task 5: Make R1 send multicast
- Task 6: Ports and services
- Ports the exam expects you to know
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
- SW1
Gi0/0to R1Gi0/0 - SW1
Gi0/1to H1eth0 - SW1
Gi0/2to PC1eth0 - R1
Gi0/1to H2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| SW1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| H2 | 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
CompTIA Network Plus N10-009 guided labs.Open
02 - Packets on the wire - OSI layers and traffic typesand 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 Network+ labs
Related labs in other courses
CloudLabBox is independent of CompTIA, Cisco and Netgate. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.