CS FundamentalsModerateGATE CS · Product company CS fundamentals
A single flat subnet must hold 3000 hosts. What is the longest prefix that works?
- A. /20
- B. /21
- C. /19
- D. /22
Correct answer: A. /20
3000 + 2 addresses need 12 host bits (2¹² = 4096; 2¹¹ = 2048 is too small), so the prefix is /20, giving 4094 usable addresses.
More Computer Networks questions
- A router decrements TTL from 0x3F to 0x3E in a packet whose header checksum is 0xB1E6 (the 16-bit word holding TTL and protocol changes…
- Why does the IPv6 base header have no header checksum?
- A TCP receiver sends ACK = 2000 with a window of 1000 bytes. The sender has already sent up to byte 2499. What is the highest byte number…
- A TCP connection's RTO is 1 s when a segment's first transmission is lost, and its retransmissions are lost twice more. Under exponential…
- A Go-Back-N receiver expecting frame 4 receives frames 5 and 6 (frame 4 was lost). What does it do with them?
- A CRC uses G(x) = x³ + x² + x + 1 = (x + 1)(x² + 1). Which error pattern E(x) would go undetected (bits from the highest power down)?