TechKnowSurge
CompTIA Network+ 1.2 Cisco CCNA 1.13 Cisco CCST Networking 4.5
InteractiveNetworkFree

Learning or Forwarding?

Is the switch learning (source address, building its table) or forwarding (destination address, choosing a port)?

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

The lesson's switch has two jobs: - **Learning:** a frame is sent with its source MAC address. The switch records that address and the port the frame came in on. Over time that builds the MAC address table. - **Forwarding:** the switch reads where the frame is going, the destination MAC address, finds it in the table, and sends the frame directly to that device's port. The result: no collisions between ports, and far fewer security concerns, because traffic is not sent out to every device. Both jobs read Layer 2 information, so a switch is a Layer 2 device.

What you'll learn

Aligned to

CompTIA Network+
1.2 Compare and contrast networking appliances, applications, and functions.
Cisco CCNA
1.13 Describe switching concepts
Cisco CCST Networking
4.5 Explain basic switching concepts

Key terms

Switch
A network device that connects devices within a LAN and forwards traffic based on MAC addresses.
MAC Address Table
A table maintained by a switch (also called the CAM table) that maps source MAC addresses to the switch ports on which those devices were learned. When a frame arrives, the switch looks up the destination MAC in this table to forward it out only the correct port rather than flooding all ports.
Media Access Control
MAC
A sublayer of the Data Link layer that controls how devices on a network gain access to a medium and transmit data.
Layer 2
The Data Link layer of the OSI model, responsible for MAC addressing and frame delivery on a local network.
Collision Domain
A network segment where data packets can collide with each other when transmitted simultaneously.

Topics

Switch Mac Address Table Mac Learning Frame Forwarding Layer 2 Interactive Streak Sort

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →