Switch MAC Learning with Initial Frames
A Layer 2 switch has just been powered on and its MAC address table is completely empty. Four hosts (A, B, C, and D) are connected to switch ports 1, 2, 3, and 4, respectively.
Host A sends a unicast frame destined for Host C. Immediately after the switch processes this frame, Host C sends a unicast return frame destined for Host A.
How will the switch handle the forwarding of these two frames and update its MAC address table?
The switch will forward Host A’s frame only out port 3 by using ARP to find Host C, and then forward Host C’s frame only out port 1.
The switch will flood Host A’s frame out ports 2, 3, and 4, and record Host A’s MAC address on port 1. It will then forward Host C’s frame only out port 1, and record Host C’s MAC address on port 3.
The switch will flood both Host A’s frame and Host C’s frame out all ports except the receiving ports, recording both MAC addresses simultaneously.
The switch will drop Host A’s frame because Host C’s MAC address is unknown, but it will record Host A’s MAC address. It will then forward Host C’s frame out port 1.
Question Leaderboard
Not enough data yet to show leaderboard.
