Network+ lab 5 of 27

VLANs and trunking between switches

Split an office into department VLANs across two switches. You build the VLAN database, assign data and voice VLANs to access ports, join the switches with an 802.1Q trunk on an unused native VLAN, and manage both switches through a management SVI.

Run this lab

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

In your workspace: Shared, then CompTIA Network Plus N10-009 guided labs, then 05 - VLANs and trunking between switches

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
Beginner
Time
About 50 minutes
Nodes need
6 vCPU, 5,632 MB
Smallest plan
Lite

The scenario

Harbour Logistics' head-office floor has Sales and Accounts staff on both sides of the building, each side with its own switch. Today everyone shares one flat network, so Accounts' traffic (payroll) reaches every Sales PC and a broadcast storm on one side hits the other. You'll split the floor into VLANs, carry them between the switches on a trunk, and give each switch a management address.

VLANNameSubnetMembers
10SALES10.10.10.0/24PC1 (SW1 Gi0/1), PC3 (SW2 Gi0/1)
20ACCOUNTS10.10.20.0/24PC2 (SW1 Gi0/2), PC4 (SW2 Gi0/2)
30VOICE(phones)voice VLAN on the Sales desk ports
99MGMT10.99.99.0/24SW1 10.99.99.11, SW2 10.99.99.12
999NATIVE-UNUSEDnonetrunk native VLAN only

The PCs already have their addresses. There's no router yet (lab 06 adds one), so only hosts in the same VLAN can talk.

What you’ll practise

  • Create VLANs and name them in the VLAN database
  • Configure access ports with data and voice VLANs
  • Configure an 802.1Q trunk with a restricted allowed list and an unused native VLAN, with DTP off
  • Configure a management SVI and test it across the trunk
  • Show that VLANs are separate broadcast domains and recognise a native VLAN mismatch

The tasks

  1. Build the VLAN database
  2. Configure the access ports, data and voice
  3. Build the trunk between the switches
  4. Add the management SVI
  5. Prove the VLANs are separate

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 VLANs and trunking between switches6 nodes, 5 links. Every link is listed as text below the diagram.SW1SW2PC1PC2PC3PC4Gi0/1eth0Gi0/2eth0Gi0/1eth0Gi0/2eth0Gi0/0Gi0/0
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in VLANs and trunking between switches, 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
SW2Cisco IOSvL2viosl2-adventerprisek9-m.ssa.high_iron_202009291 vCPU, 768 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC3VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC4VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 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 CompTIA Network Plus N10-009 guided labs.

  3. Open 05 - VLANs and trunking between switches 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 Network+ labs

All 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.