CS FundamentalsHardGATE CS · Product company CS fundamentals
Host X on LAN1 sends an IP packet to host Y on LAN3. The path is X → router R1 → LAN2 → router R2 → Y. All ARP caches are empty, and nobody has talked before. How many ARP request broadcasts are sent before the packet reaches Y?
- A. 1
- B. 3
- C. 2
- D. 4
Correct answer: B. 3
ARP resolves only next hops on the same link: X asks for R1's MAC on LAN1, R1 asks for R2's MAC on LAN2, and R2 asks for Y's MAC on LAN3. X never learns Y's MAC.
More Computer Networks questions
- Stop-and-wait runs over a geostationary satellite hop with one-way propagation 270 ms at 1 Mbps (ACKs negligible). What is the smallest…
- A (7, 4) Hamming code is used for single-error correction. A codeword suffers exactly TWO bit errors. What does the decoder do?
- A 900-byte binary file is attached to an email using Base64 (no line breaks). How many characters does the encoded attachment occupy?
- Which TLS key-exchange choice gives forward secrecy, so that a later leak of the server's long-term private key does not reveal past…
- Which task is NOT performed by the data link layer?
- A leaky bucket holds at most 6 packets and sends at most 3 per tick. Each tick, arrivals are added first (any overflow beyond 6 is…