CS FundamentalsHardGATE CS (PYQ pattern)
Hosts A (subnet 1) and B, C (subnet 2) are joined by router R; all ARP caches start empty, and a host that receives an ARP request caches the requester's mapping. Three packets are sent in order: A to B, then B's reply to A, then A to C. How many ARP messages (requests plus replies) are sent in total?
- A. 8
- B. 4
- C. 10
- D. 6
Correct answer: D. 6
A to B: A ARPs for R (2 messages), R ARPs for B (2). B learned R's MAC from R's request and R learned A's from A's, so the reply needs none. A to C: A has R cached, but R must ARP for C (2). Total 6. Forgetting the request-side caching adds 2 more for the reply (8).
More Computer Networks questions
- In an RSA system p = 17, q = 11 and the public exponent is e = 7. What is the ciphertext for the plaintext m = 50, and what is the private…
- Alice and Bob use Diffie-Hellman with p = 23 and g = 5. Alice's secret is a = 6 and Bob's is b = 15. What is the shared secret key?
- 1000 bytes of plaintext are encrypted with AES in CBC mode (16-byte blocks) using PKCS#7 padding, and a random 16-byte IV is sent in front…
- IPsec ESP in tunnel mode with AES-CBC protects an inner IP packet of 1400 bytes. Overheads: new outer IP header 20 bytes, ESP header 8…
- An optical link is 80 km long with fibre attenuation 0.25 dB/km and two connectors of 0.5 dB each. The transmitter output is 10 mW. What…
- A geostationary link has 250 ms one-way propagation delay and runs at 2 Mbps with 1000-byte frames (ACK transmission time ignored). To…