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?
- A. It floods the frame because the entry for H is no longer valid
- B. It sends the frame out of both port 3 and port 7
- C. It forwards the frame only out of port 3, so H misses it until the entry is refreshed or ages out
- 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
- 10.0.0.0/8 is divided into /22 subnets numbered from 0 in address order. Host 10.45.200.17 uses the mask 255.255.252.0. What is the number…
- An organisation needs three LANs with 1000, 500 and 250 hosts, carved with VLSM from ONE contiguous CIDR block. What is the longest prefix…
- A TCP sender transmits segments 1–8 back to back; segment 3 is lost and every other segment arrives. The receiver sends an ACK for every…
- A TCP Reno sender (RFC 5681 fast recovery) has cwnd = 16 MSS when the third duplicate ACK arrives. Four MORE duplicate ACKs arrive, and…
- Selective Repeat uses 4-bit sequence numbers with the largest window that is safe. Frames take 1 ms to transmit on a 2 Mbps link, the…
- CRC-32 (degree 32, nonzero constant term) is used on long frames. If a burst error of length exactly 33 bits occurs (all burst patterns…