CS FundamentalsHardGATE CS · Product company CS fundamentals

A switch's MAC table ages out entries after 300 s. Host H was learned on port 3 and then moved silently to port 7 without sending anything. Another host now sends a frame to H. What happens?

  1. A. It floods the frame because the entry for H is no longer valid
  2. B. It sends the frame out of both port 3 and port 7
  3. C. It forwards the frame only out of port 3, so H misses it until the entry is refreshed or ages out
  4. D. It drops the frame and returns an ICMP error to the sender

Correct answer: C. It forwards the frame only out of port 3, so H misses it until the entry is refreshed or ages out

A switch learns only from SOURCE addresses of frames it receives. Until H transmits from port 7 (refreshing the entry) or the 300 s timer expires, the table still says port 3. This is why hosts send gratuitous ARP after moving.

More Computer Networks questions

Exams that ask this topic