CS FundamentalsVery hardGATE CS · Cisco/networking placement

A new learning switch has hosts A, B, C and D on ports 1–4. These frames are sent in order: A→B, C→D, B→A, D→C, A→D, then B sends a broadcast. How many of the six frames does the switch flood out of all other ports?

  1. A. 2
  2. B. 4
  3. C. 5
  4. D. 3

Correct answer: D. 3

A→B and C→D are flooded because B and D are unknown. B→A, D→C and A→D go out one port, since A, C, B and D were learned from the source addresses of earlier frames. The broadcast is always flooded: 3 in total. A switch learns from source, never destination, addresses.

More Computer Networks questions

Exams that ask this topic