CS FundamentalsVery hardGATE CS · Product company CS fundamentals
Host A's IP is 192.168.1.10/24 with gateway 192.168.1.1, but A is misconfigured with mask 255.255.0.0. What happens when A sends to 192.168.7.20 (a host on another subnet behind the gateway)?
- A. A sends the packet to the gateway as usual
- B. The switch rewrites the mask and forwards correctly
- C. A ARPs for 192.168.7.20 directly, gets no reply, and the traffic fails
- D. A broadcasts the IP packet to 192.168.255.255
Correct answer: C. A ARPs for 192.168.7.20 directly, gets no reply, and the traffic fails
With /16, 192.168.7.20 appears local, so A skips the gateway and ARPs for it. The target is not on A's LAN, so no reply arrives; a router with proxy ARP could answer on its behalf and mask the mistake.
More Computer Networks questions
- A router receives an IPv4 packet whose destination matches no route and there is no default route. What does it do?
- Two TCP connections share a link with a FIFO drop-tail queue. Connection 1 uses one TCP flow; application 2 opens 9 parallel TCP flows…
- Which pairing of port number and protocol is correct for each of: 53, 67, 110, 143, 443?
- An organisation has a /23 and needs subnets for 120, 60, 60, 30 and 10 hosts. Allocated with VLSM (largest first, aligned), how many…
- A router's output queue behaves like an M/M/1 queue. Each packet needs 2 ms of transmission on average, and the measured average time a…
- Go-Back-N with window N = 7 runs on a link long enough that a whole window is outstanding when an error is discovered (N ≤ 1 + 2a). Frames…