💻

Jeremy’s IT Lab - CCNA Course: VLAN Configuration and Trunking

Jul 2, 2024

Jeremy’s IT Lab - CCNA Course

Introduction

  • Free, complete course for the CCNA.
  • Subscribe, like, comment, and share the video to support the series.
  • Download the practice lab and try it in packet tracer.
  • Recommended tool: Boson’s NetSim for CCNA for more detailed labs and instructions.

Network Access Section Labs

  • Configuring VLANs
  • Deleting VLANs
  • VTP (to be covered in day 18’s lecture video)
  • VLAN configuration, trunking
  • Preview of a relevant lab at the end of the video
  • Link in the description to purchase NetSim
  • NetSim is highly recommended for CCNP preparation as well

Lab Overview: VLAN Configuration and Trunking

  • Lab using Packet Tracer
  • Focus: Configure VLANs and VLAN trunking (From Day 17’s lecture video)

Step 1: Configure Switch Interfaces (SW1 & SW2)

SW1 Configuration

  • Access ports for VLAN10:
    • INTERFACE RANGE F0/1 to 2
    • SWITCHPORT MODE ACCESS
    • SWITCHPORT ACCESS VLAN 10
  • Access ports for VLAN30:
    • INTERFACE RANGE F0/3 to 4
    • SWITCHPORT MODE ACCESS
    • SWITCHPORT ACCESS VLAN 30

SW2 Configuration

  • VLAN20:
    • INTERFACE F0/1
    • SWITCHPORT MODE ACCESS
    • SWITCHPORT ACCESS VLAN 20
  • VLAN10:
    • INTERFACE RANGE F0/2 to 3
    • SWITCHPORT MODE ACCESS
    • SWITCHPORT ACCESS VLAN 10

Step 2: Configure Trunk Between SW1 and SW2

  • SW1 Trunk Configuration:
    • INTERFACE G0/1
    • SWITCHPORT TRUNK: No encapsulation option needed (only DOT1Q supported)
    • SWITCHPORT MODE TRUNK
    • SWITCHPORT TRUNK ALLOWED VLAN 10,30
    • SWITCHPORT TRUNK NATIVE VLAN 1001
  • Verify VLANs:
    • DO SHOW VLAN BRIEF
    • Ensure VLANs 10 and 30 are present
  • SW2 Trunk Configuration: Identical to SW1
    • Create missing VLAN30:
      • VLAN 30

Step 3: Router On A Stick (SW2 & R1 Configuration)

SW2 Trunk Configuration

  • Allow all three VLANs: INTERFACE G0/2
    • SWITCHPORT MODE TRUNK
    • SWITCHPORT TRUNK ALLOWED VLAN 10,20,30
    • SWITCHPORT TRUNK NATIVE VLAN 1001

Router R1 Configuration

  • Enable interface:
    • INTERFACE G0/0
    • NO SHUTDOWN
  • VLAN10 Subinterface:
    • INTERFACE G0/0.10
    • ENCAPSULATION DOT1Q 10
    • IP ADDRESS 10.0.0.62 255.255.255.192
  • VLAN20 Subinterface:
    • INTERFACE G0/0.20
    • ENCAPSULATION DOT1Q 20
    • IP ADDRESS 10.0.0.126 255.255.255.192
  • VLAN30 Subinterface:
    • INTERFACE G0/0.30
    • ENCAPSULATION DOT1Q 30
    • IP ADDRESS 10.0.0.190 255.255.255.192

Step 4: Testing Connectivity

  • Ping from PC7 to other PCs:
    • PING 10.0.0.1 (PC in VLAN10)
    • PING 10.0.0.65 (PC in VLAN20)
    • PING 10.0.0.129 (PC in VLAN30)

Boson NetSim Preview

  • Lab: Inter-VLAN Routing 1
    • Similar topology: One router, two switches, and PCs
    • Tasks Overview: Configure switch and PCs, Subinterfaces, Verify connectivity

Task 1: Basic Network Connectivity Configuration

Steps

  1. Verify IP configurations on PC1 and PC2
    • PC1: 192.168.100.2, subnet mask /25, gateway .1
    • PC2: 192.168.100.130, subnet mask /25, gateway .129
  2. Configure Switch1 hostname
    • ENABLE
    • CONF T
    • HOSTNAME Switch1
  3. Verify and create VLANs on Switch1
    • Check VLANs: DO SHOW VLAN BRIEF
    • Create VLANs: VLAN 10 and VLAN 12
  4. Discover PC connection ports (via MAC Address)
    • Check MAC Address on PC1: IPCONFIG /ALL
    • Check MAC Address on Switch1: SHOW MAC-ADDRESS-TABLE
    • Identify ports for PC1 and PC2
  5. Add PCs to correct VLANs on Switch1
    • INTERFACE F0/3, SWITCHPORT MODE ACCESS, SWITCHPORT ACCESS VLAN 10
    • INTERFACE F0/4, SWITCHPORT MODE ACCESS, SWITCHPORT ACCESS VLAN 12
  6. Verify configuration on Switch1: DO SHOW VLAN BRIEF
  7. Ping test (expected to fail due to lack of inter-VLAN routing)
    • PING 192.168.100.130

Task Completion and Grading

  • Grade lab: Will highlight any missing configurations.

Conclusion

  • Boson NetSim: Recommended for comprehensive lab practice.
  • Subscribing, liking, and sharing the video supports the channel.
  • Tips accepted via Brave Browser BAT.