Hands-On Lab 5-5: Learning MAC Addresses on a Switch
Generate traffic between PCs and verify how a switch learns source MAC addresses in its dynamic MAC table.
Lab Overview
- Lab Number: 5-5
- Lab Name: Learning MAC Addresses
- Lab Difficulty: Rated 4/10
- Approximate Time: 45 minutes
- Preferred Image: vios-l2
- Lab on: Chapter 5: Learning MAC Addresses
- Figure: 5-6 (Switch Learning: Empty Table and Adding Two Entries)
Objective
Demonstrate how a switch dynamically learns MAC addresses by examining the source MAC address of incoming frames.
Scenario Description
This lab simulates a single-switch network where two devices, Fred and Barney, communicate for the first time. The switch initially has an empty MAC address table. By sending frames, the switch will learn the MAC addresses dynamically and update its MAC table.