zNetLaB › Guided labs › Enterprise
VLANs 31 — Labs (70) and Library (71)
Enterprise Beginner 5 devices 6 checked tasks 100 points Free lab
One switch, two departments. Create VLAN 70 (LABS) and VLAN 71 (LIBRARY), put Fa0/1-2 in the first and Fa0/3-4 in the second, and prove the pair in each VLAN still reaches each other. You build it in a browser, type real commands at each device, and every task below is
checked against the running configuration — so you find out it is wrong before anybody else does.
Open this lab in the simulator
The simulator runs in your browser with nothing to install. This is a free lab: it stays open on the free plan. It needs an account, which keeps your progress.
The scenario
One switch, two departments. Create VLAN 70 (LABS) and VLAN 71 (LIBRARY), put Fa0/1-2 in the first and Fa0/3-4 in the second, and prove the pair in each VLAN still reaches each other.
Your role: a network engineer on the enterprise team. Level: Beginner Done when: all 6 goals show as passed (100 points).
Network status
Devices: 1 switch, 4 PCs, cabled as drawn. No Layer 1 or Layer 2 faults: every link is connected and up. Labs-1 is a host with 192.168.50.11/24. Labs-2 is a host with 192.168.50.12/24. Library-1 is a host with 192.168.150.21/24. Library-2 is a host with 192.168.150.22/24. SW-Amritsar starts with an empty configuration.
Known problems
None: nothing is misconfigured. The network is simply not finished: what the goals list is what you have to build or secure.
Goals
VLAN 70 exists (10 pts) VLAN 71 exists (10 pts) Fa0/1 and Fa0/2 are access ports in VLAN 70 (25 pts) Fa0/3 and Fa0/4 are access ports in VLAN 71 (25 pts) The Labs PCs reach each other (15 pts) The Library PCs reach each other (15 pts)
The activity, in order
VLAN 70 exists Create VLAN 70 on SW-Amritsar (vlan 70, then name it).Why: A port assigned to a VLAN that does not exist carries nothing. Verify with: show vlan brief VLAN 71 exists Create VLAN 71 on SW-Amritsar (vlan 71, then name it).Why: A port assigned to a VLAN that does not exist carries nothing. Verify with: show vlan brief Fa0/1 and Fa0/2 are access ports in VLAN 70 On SW-Amritsar, put FastEthernet0/1 in VLAN 70: interface FastEthernet0/1, switchport mode access, switchport access vlan 70. On SW-Amritsar, put FastEthernet0/2 in VLAN 70: interface FastEthernet0/2, switchport mode access, switchport access vlan 70.Why: A VLAN is a separate broadcast domain; the port’s VLAN decides which devices can talk without a router. Verify with: show vlan brief Fa0/3 and Fa0/4 are access ports in VLAN 71 On SW-Amritsar, put FastEthernet0/3 in VLAN 71: interface FastEthernet0/3, switchport mode access, switchport access vlan 71. On SW-Amritsar, put FastEthernet0/4 in VLAN 71: interface FastEthernet0/4, switchport mode access, switchport access vlan 71.Why: A VLAN is a separate broadcast domain; the port’s VLAN decides which devices can talk without a router. Verify with: show vlan brief The Labs PCs reach each other From Labs-1, ping 192.168.50.12. If it fails, walk the path hop by hop: gateway, then each router’s routing table, then the way back.Why: A ping needs a route in BOTH directions. This is the end-to-end proof that everything before it worked. Verify with: ping 192.168.50.12 The Library PCs reach each other From Library-1, ping 192.168.150.22. If it fails, walk the path hop by hop: gateway, then each router’s routing table, then the way back.Why: A ping needs a route in BOTH directions. This is the end-to-end proof that everything before it worked. Verify with: ping 192.168.150.22
Tips
Work in the order given: later goals depend on the earlier ones. After every change, run the verify command before moving on; do not guess. Stuck? Read the verify output first. It names the interface, neighbour or route that is wrong. Common mistake: Assigning a port to a VLAN that does not exist (older IOS) or forgetting switchport mode access Common mistake: Expecting different VLANs to talk without a router Common mistake: Typing the wrong range
Why this matters
A VLAN is a broadcast domain defined in the switch, not by cables. Putting departments in separate VLANs keeps their broadcasts, and their mistakes, apart.
What you will be able to do
Create and name VLANs
Assign access ports to a VLAN
Verify with show vlan brief
The network
Catalyst 2960-24TT, PC — 5 devices in all, already cabled.
Fa0/1 Fa0 Fa0/2 Fa0 Fa0/3 Fa0 Fa0/4 Fa0 SW-Amritsar Labs-1 192.168.50.11/24 Labs-2 192.168.50.12/24 Library-1 192.168.150.21/24 Library-2 192.168.150.22/24 Drawn from this lab: devices, cables, ports and the addresses already set.
Device Model Address already set
SW-Amritsar Catalyst 2960-24TT configure it
Labs-1 PC 192.168.50.11 / 255.255.255.0
Labs-2 PC 192.168.50.12 / 255.255.255.0
Library-1 PC 192.168.150.21 / 255.255.255.0
Library-2 PC 192.168.150.22 / 255.255.255.0
Cabling
SW-Amritsar Fa0/1 ↔ Labs-1 Fa0
SW-Amritsar Fa0/2 ↔ Labs-2 Fa0
SW-Amritsar Fa0/3 ↔ Library-1 Fa0
SW-Amritsar Fa0/4 ↔ Library-2 Fa0
What is configured at the start
Nothing is configured to start with beyond the addresses above: you build the configuration from a clean start.
Tasks, and how each one is checked
Every task is decided by reading the live network — a neighbour in FULL, a ping that succeeds, a line in the running configuration — not by looking for a keyword you typed. The same command shows you what the lab sees.
# Task Pts How to verify it yourself
1 VLAN 70 exists 10 On SW-Amritsar: show vlan brief lists VLAN 70.
2 VLAN 71 exists 10 On SW-Amritsar: show vlan brief lists VLAN 71.
3 Fa0/1 and Fa0/2 are access ports in VLAN 70 25 On SW-Amritsar: show vlan brief — Fa0/1 is an access port in VLAN 70. and On SW-Amritsar: show vlan brief — Fa0/2 is an access port in VLAN 70.
4 Fa0/3 and Fa0/4 are access ports in VLAN 71 25 On SW-Amritsar: show vlan brief — Fa0/3 is an access port in VLAN 71. and On SW-Amritsar: show vlan brief — Fa0/4 is an access port in VLAN 71.
5 The Labs PCs reach each other 15 On Labs-1: ping 192.168.50.12 must succeed.
6 The Library PCs reach each other 15 On Library-1: ping 192.168.150.22 must succeed.
Stuck? Ask the coach
Tell the coach what you see or what you tried. It gives you a hint, not the answer, the way a senior engineer would. Included with a free trial or any plan.
Ask the coach
Common mistakes
Assigning a port to a VLAN that does not exist (older IOS) or forgetting switchport mode access
Expecting different VLANs to talk without a router
Typing the wrong range
Reference solution
Try it yourself first — the lab checks your work either way. This is one configuration that makes every task pass, device by device:
SW-Amritsar vlan 70
name LABS
exit
vlan 71
name LIBRARY
exit
interface range fa0/1 - 2
switchport mode access
switchport access vlan 70
exit
interface range fa0/3 - 4
switchport mode access
switchport access vlan 71
exit
Where this is examined
CCNA 2.0 Network Access (VLANs); Network+ 2.3 switching.
This lab practises these topics in the zNetLaB certification courses:
Related labs
Where to start
The lessons are open to everyone, all guided labs are listed by track, and
plans explains what is free and what is not.
CCNA®, CCNP® and Cisco® are trademarks of Cisco Systems, Inc. zNetLaB is not affiliated with or endorsed by Cisco.