CS FundamentalsModerateTCS NQT · Cisco/networking placement
Host 192.168.1.10/24 with gateway 192.168.1.1 has an empty ARP cache. It pings 8.8.8.8, then 1.1.1.1, then 192.168.1.20. How many ARP requests does it send (assume all replies arrive and nothing expires)?
- A. 3
- B. 1
- C. 2
- D. 4
Correct answer: C. 2
Off-subnet destinations are reached through the gateway, so it ARPs once for 192.168.1.1 and reuses that entry for 1.1.1.1, then ARPs for the on-link 192.168.1.20: 2 requests. A host never ARPs for an off-link IP.
More Computer Networks questions
- A client writes a 50-byte header and then a 200-byte body to a TCP socket as two separate write() calls, then waits for the reply. Nagle's…
- A page has a base HTML file and 6 small embedded images on the same server. The RTT is 20 ms and transmission times are negligible. With…
- The bit string 10111001 is sent once with NRZ-I (a level transition at the start of every 1 bit, none for a 0, counting the transition at…
- A token ring has a circumference of 2 km, 50 stations each adding a 1-bit delay, a data rate of 16 Mbps and a signal speed of 2 × 10⁸ m/s…
- Wireless host H sends an IP datagram to a server on the Internet. H is associated with access point AP, which is bridged to an Ethernet…
- A binary code has length 10 and must correct every single-bit error. What upper limit does the Hamming (sphere-packing) bound place on the…