PATCH//NOTES Open it in the app
← All hands-on practice
Networking · 25 min

VLANs: one network, kept apart

Harbourside College puts staff, students and guests on one flat network. Split them with VLANs on three Cisco switches.

Start it: free, in your browser, no account

What you will do

  1. On S1, enter privileged mode and show which VLAN every port is in.
  2. From PC1, ping PC4 (10.10.10.14). They share a subnet.
  3. From PC1, ping PC2 (10.10.20.12).
  4. On S1, create and name VLANs 10 Staff, 20 Students, 30 Guest, 99 Management and 150 Voice. Names are case-sensitive.
  5. Create the same VLANs, with the same names, on S2 and S3.
  6. On S2, make Fa0/11, Fa0/18 and Fa0/6 access ports in VLANs 10, 20 and 30.
  7. Do the same on S3: Fa0/11 in VLAN 10, Fa0/18 in 20, Fa0/6 in 30.
  8. S3 Fa0/11 also has an IP phone (PC4 plugs into the phone). Trust the phone's CoS markings and put voice in VLAN 150.
  9. Ping PC4 from PC1 again. Both are in VLAN 10 now. Why does it fail?
  10. Turn both links between the switches into 802.1Q trunks.
  11. Set native VLAN 99 on both ends of both trunks.
  12. Prove it: ping PC4 from PC1, PC5 from PC2 and PC6 from PC3.

Exam objectives it practises

  • CompTIA A+ Core 1 2.4 Common network configuration concepts
  • CompTIA Network+ 2.2 Switching technologies and features
  • CompTIA Network+ 5.3 Network service issues
  • CompTIA Network+ 5.5 Tools and protocols for troubleshooting
  • CompTIA Security+ 2.5 Mitigation techniques
  • CompTIA Security+ 3.2 Securing enterprise infrastructure

Simplified simulation of Cisco Catalyst 2960 switches running IOS 15: only the commands this lab needs are modelled, and some long outputs are shortened (marked [Simulator]). VLAN changes apply at once (real IOS applies them when you leave VLAN mode). Spanning tree, VTP and CDP are not modelled, except the CDP native VLAN mismatch warning. On a real 2960, mls qos trust cos only takes effect once QoS is enabled with the global command mls qos. IOS abbreviations work as on a real switch (sh vl br, conf t, int f0/11, wr). Saving (wr, copy run start) only feeds show startup-config: nothing is reloaded. PCs are Windows (ipconfig, ping, hostname) and have no default gateway; ping output follows Windows. Addresses are private (10.10.x.x) and the college is fictional.