CS FundamentalsHardGATE CS · ISRO Scientist
A router has 10.0.0.0/8 → A, 10.128.0.0/9 → B and 10.192.0.0/10 → C, using longest-prefix match. How many destination addresses are forwarded to B?
- A. 8,388,608
- B. 2,097,152
- C. 12,582,912
- D. 4,194,304
Correct answer: D. 4,194,304
10.128.0.0/9 holds 2²³ addresses, but its upper half 10.192.0.0/10 (2²² addresses) is captured by the longer prefix to C. So B gets 2²³ − 2²² = 4,194,304; A gets the lower half of the /8, 8,388,608.
More Computer Networks questions
- A browser fetches a 100 KB base page and then 3 embedded objects of 200 KB each from one server over a single persistent HTTP connection…
- A resolver caches an A record whose TTL is 300 s. Clients look the name up at t = 0, 100, 250, 420, 650 and 700 s, with nothing cached at…
- A satellite path offers 50 Mbps with an RTT of 540 ms. A TCP connection without window scaling has a 65,535-byte window. Roughly what…
- An HDLC receiver removes the 0 that the sender stuffed after every five consecutive 1s. What data does it recover from the bit string…
- A receiver has these fragments of one IPv4 datagram (all with 20-byte headers): offset 0, total length 1420, MF = 1; offset 175, total…
- A TCP receiver has a 64 KB buffer with LastByteRcvd − LastByteRead = 20 KB. The sender has LastByteSent − LastByteAcked = 30 KB, and its…